diff --git a/.github/workflows/deploy-wiki.yaml b/.github/workflows/deploy-wiki.yaml index 05014f16ba..1c2e5854e9 100644 --- a/.github/workflows/deploy-wiki.yaml +++ b/.github/workflows/deploy-wiki.yaml @@ -11,7 +11,7 @@ jobs: deploy-wiki: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Install rsync diff --git a/.github/workflows/e2e-master.yaml b/.github/workflows/e2e-master.yaml index 43d27864b6..08a6089488 100644 --- a/.github/workflows/e2e-master.yaml +++ b/.github/workflows/e2e-master.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-master-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.25.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-11.0.yaml b/.github/workflows/e2e-release-11.0.yaml index fe83d2713a..b6e667734f 100644 --- a/.github/workflows/e2e-release-11.0.yaml +++ b/.github/workflows/e2e-release-11.0.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-release-11.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.15.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-12.0.yaml b/.github/workflows/e2e-release-12.0.yaml index 576a5f3f5f..a862baed10 100644 --- a/.github/workflows/e2e-release-12.0.yaml +++ b/.github/workflows/e2e-release-12.0.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-release-12.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.16.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-17.0.yaml b/.github/workflows/e2e-release-17.0.yaml index bd13b3c4df..79ef8ac642 100644 --- a/.github/workflows/e2e-release-17.0.yaml +++ b/.github/workflows/e2e-release-17.0.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-release-17.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.17.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-18.0.yaml b/.github/workflows/e2e-release-18.0.yaml index e7a4d4065d..2a3bc1754f 100644 --- a/.github/workflows/e2e-release-18.0.yaml +++ b/.github/workflows/e2e-release-18.0.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-release-18.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.18.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-26.0.yaml b/.github/workflows/e2e-release-26.0.yaml index e41d54e233..ec48f31145 100644 --- a/.github/workflows/e2e-release-26.0.yaml +++ b/.github/workflows/e2e-release-26.0.yaml @@ -15,11 +15,11 @@ jobs: matrix: python-version: [3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 with: cluster_name: kubernetes-python-e2e-release-26.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -30,7 +30,7 @@ jobs: # as we sync with Kubernetes upstream config: .github/workflows/kind-configs/cluster-1.26.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 79059f246b..97c763051d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,11 +13,11 @@ jobs: use_coverage: 'coverage' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..d220507cec --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,53 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.12" + # You can also specify other tool versions: + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: doc/source/conf.py + # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs + # builder: "dirhtml" + # Fail on all warnings to avoid broken references + # fail_on_warning: true + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: doc/requirements-docs.txt + - requirements: test-requirements.txt + + +# git clone --depth 1 https://github.com/kubernetes-client/python . +# git fetch origin --force --prune --prune-tags --depth 50 refs/heads/master:refs/remotes/origin/master +# git checkout --force origin/master +# git clean -d -f -f +# python3.7 -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH +# python -m pip install --upgrade --no-cache-dir pip setuptools +# python -m pip install --upgrade --no-cache-dir pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.3 jinja2<3.1.0 + +# cat doc/source/conf.py +# python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html +# python -m sphinx -T -E -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/htmlzip +# python -m sphinx -T -E -b latex -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/pdf +# cat latexmkrc +# latexmk -r latexmkrc -pdf -f -dvi- -ps- -jobname=kubernetes -interaction=nonstopmode +# python -m sphinx -T -E -b epub -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/epub \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3369e03844..ca903f91cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,588 @@ +# v35.0.0+snapshot + +Kubernetes API Version: v1.35.0 + +### API Change +- Added `ObservedGeneration` to CustomResourceDefinition conditions. ([kubernetes/kubernetes#134984](https://github.com/kubernetes/kubernetes/pull/134984), [@michaelasp](https://github.com/michaelasp)) +- Added `WithOrigin` within `apis/core/validation` with adjusted tests. ([kubernetes/kubernetes#132825](https://github.com/kubernetes/kubernetes/pull/132825), [@PatrickLaabs](https://github.com/PatrickLaabs)) +- Added scoring for the prioritized list feature so nodes that best satisfy the highest-ranked subrequests were chosen. ([kubernetes/kubernetes#134711](https://github.com/kubernetes/kubernetes/pull/134711), [@mortent](https://github.com/mortent)) [SIG Node, Scheduling and Testing] +- Added the `--min-compatibility-version` flag to `kube-apiserver`, `kube-controller-manager`, and `kube-scheduler`. ([kubernetes/kubernetes#133980](https://github.com/kubernetes/kubernetes/pull/133980), [@siyuanfoundation](https://github.com/siyuanfoundation)) [SIG API Machinery, Architecture, Cluster Lifecycle, Etcd, Scheduling and Testing] +- Added the `StorageVersionMigration` `v1beta1` API and removed the `v1alpha1` API. + + ACTION REQUIRED: The `v1alpha1` API is no longer supported. Users must remove any `v1alpha1` resources before upgrading. ([kubernetes/kubernetes#134784](https://github.com/kubernetes/kubernetes/pull/134784), [@michaelasp](https://github.com/michaelasp)) [SIG API Machinery, Apps, Auth, Etcd and Testing] +- Added validation to ensure `log-flush-frequency` is a positive value, returning an error instead of causing a panic. ([kubernetes/kubernetes#133540](https://github.com/kubernetes/kubernetes/pull/133540), [@BenTheElder](https://github.com/BenTheElder)) [SIG Architecture, Instrumentation, Network and Node] +- All containers are restarted when a source container in a restart policy rule exits. This alpha feature is gated behind `RestartAllContainersOnContainerExit`. ([kubernetes/kubernetes#134345](https://github.com/kubernetes/kubernetes/pull/134345), [@yuanwang04](https://github.com/yuanwang04)) [SIG Apps, Node and Testing] +- CSI drivers can now opt in to receive service account tokens via the secrets field instead of volume context by setting `spec.serviceAccountTokenInSecrets: true` in the CSIDriver object. This prevents tokens from being exposed in logs and other outputs. The feature is gated by the `CSIServiceAccountTokenSecrets` feature gate (beta in `v1.35`). ([kubernetes/kubernetes#134826](https://github.com/kubernetes/kubernetes/pull/134826), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth, Storage and Testing] +- Changed kuberc configuration schema. Two new optional fields added to kuberc configuration, `credPluginPolicy` and `credPluginAllowlist`. This is documented in [KEP-3104](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/3104-introduce-kuberc/README.md#allowlist-design-details) and documentation is added to the website by [kubernetes/website#52877](https://github.com/kubernetes/website/pull/52877) ([kubernetes/kubernetes#134870](https://github.com/kubernetes/kubernetes/pull/134870), [@pmengelbert](https://github.com/pmengelbert)) [SIG API Machinery, Architecture, Auth, CLI, Instrumentation and Testing] +- DRA device taints: `DeviceTaintRule` status provides information about the rule, including whether Pods still need to be evicted (`EvictionInProgress` condition). The newly added `None` effect can be used to preview what a `DeviceTaintRule` would do if it used the `NoExecute` effect and to taint devices (`device health`) without immediately affecting scheduling or running Pods. ([kubernetes/kubernetes#134152](https://github.com/kubernetes/kubernetes/pull/134152), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Release, Scheduling and Testing] +- DRA: The `DynamicResourceAllocation` feature gate for the core functionality (GA in `v1.34`) has now been locked to enabled-by-default and cannot be disabled anymore. ([kubernetes/kubernetes#134452](https://github.com/kubernetes/kubernetes/pull/134452), [@pohly](https://github.com/pohly)) [SIG Auth, Node, Scheduling and Testing] +- Enabled `kubectl get -o kyaml` by default. To disable it, set `KUBECTL_KYAML=false`. ([kubernetes/kubernetes#133327](https://github.com/kubernetes/kubernetes/pull/133327), [@thockin](https://github.com/thockin)) +- Enabled in-place resizing of pod-level resources. + - Added `Resources` in `PodStatus` to capture resources set in the pod-level cgroup. + - Added `AllocatedResources` in `PodStatus` to capture resources requested in the `PodSpec`. ([kubernetes/kubernetes#132919](https://github.com/kubernetes/kubernetes/pull/132919), [@ndixita](https://github.com/ndixita)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Instrumentation, Node, Scheduling and Testing] +- Enabled the `NominatedNodeNameForExpectation` feature in kube-scheduler by default. + - Enabled the `ClearingNominatedNodeNameAfterBinding` feature in kube-apiserver by default. ([kubernetes/kubernetes#135103](https://github.com/kubernetes/kubernetes/pull/135103), [@ania-borowiec](https://github.com/ania-borowiec)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- Enhanced discovery responses to merge API groups and resources from all peer apiservers when the `UnknownVersionInteroperabilityProxy` feature is enabled. ([kubernetes/kubernetes#133648](https://github.com/kubernetes/kubernetes/pull/133648), [@richabanker](https://github.com/richabanker)) [SIG API Machinery, Auth, Cloud Provider, Node, Scheduling and Testing] +- Extended `core/v1` `Toleration` to support numeric comparison operators (`Gt`,`Lt`). ([kubernetes/kubernetes#134665](https://github.com/kubernetes/kubernetes/pull/134665), [@helayoty](https://github.com/helayoty)) [SIG API Machinery, Apps, Node, Scheduling, Testing and Windows] +- Feature gate dependencies are now explicit, and validated at startup. A feature can no longer be enabled if it depends on a disabled feature. In particular, this means that `AllAlpha=true` will no longer work without enabling disabled-by-default beta features that are depended on (either with `AllBeta=true` or explicitly enumerating the disabled dependencies). ([kubernetes/kubernetes#133697](https://github.com/kubernetes/kubernetes/pull/133697), [@tallclair](https://github.com/tallclair)) [SIG API Machinery, Architecture, Cluster Lifecycle and Node] +- Generated OpenAPI model packages for API types into `zz_generated.model_name.go` files, accessible via the `OpenAPIModelName()` function. This allows API authors to declare desired OpenAPI model packages instead of relying on the Go package path of API types. ([kubernetes/kubernetes#131755](https://github.com/kubernetes/kubernetes/pull/131755), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- Implemented constrained impersonation as described in [KEP-5284](https://kep.k8s.io/5284). ([kubernetes/kubernetes#134803](https://github.com/kubernetes/kubernetes/pull/134803), [@enj](https://github.com/enj)) [SIG API Machinery, Auth and Testing] +- Introduced a new declarative validation tag `+k8s:customUnique` to control listmap uniqueness. ([kubernetes/kubernetes#134279](https://github.com/kubernetes/kubernetes/pull/134279), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery and Auth] +- Introduced a structured and versioned `v1alpha1` response for the `statusz` endpoint. ([kubernetes/kubernetes#134313](https://github.com/kubernetes/kubernetes/pull/134313), [@richabanker](https://github.com/richabanker)) [SIG API Machinery, Architecture, Instrumentation, Network, Node, Scheduling and Testing] +- Introduced a structured and versioned `v1alpha1` response format for the `flagz` endpoint. ([kubernetes/kubernetes#134995](https://github.com/kubernetes/kubernetes/pull/134995), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Architecture, Instrumentation, Network, Node, Scheduling and Testing] +- Introduced the GangScheduling kube-scheduler plugin to support "all-or-nothing" scheduling using the `scheduling.k8s.io/v1alpha1` Workload API. ([kubernetes/kubernetes#134722](https://github.com/kubernetes/kubernetes/pull/134722), [@macsko](https://github.com/macsko)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Scheduling and Testing] +- Introduced the Node Declared Features capability (alpha), which includes: + - A new `Node.Status.DeclaredFeatures` field for publishing node-specific features. + - A `component-helpers` library for feature registration and inference. + - A `NodeDeclaredFeatures` scheduler plugin to match pods with nodes that provide required features. + - A `NodeDeclaredFeatureValidator` admission plugin to validate pod updates against a node's declared features. ([kubernetes/kubernetes#133389](https://github.com/kubernetes/kubernetes/pull/133389), [@pravk03](https://github.com/pravk03)) [SIG API Machinery, Apps, Node, Release, Scheduling and Testing] +- Introduced the `scheduling.k8s.io/v1alpha1` Workload API to express workload-level scheduling requirements and allow the kube-scheduler to act on them. ([kubernetes/kubernetes#134564](https://github.com/kubernetes/kubernetes/pull/134564), [@macsko](https://github.com/macsko)) [SIG API Machinery, Apps, CLI, Etcd, Scheduling and Testing] +- Introduced the alpha `MutableSchedulingDirectivesForSuspendedJobs` feature gate (disabled by default), which allows mutating a Job's scheduling directives while the Job is suspended. + It also updates the Job controller to clears the `status.startTime` field for suspended Jobs. ([kubernetes/kubernetes#135104](https://github.com/kubernetes/kubernetes/pull/135104), [@mimowo](https://github.com/mimowo)) [SIG Apps and Testing] +- Kube-apiserver: Fixed a `v1.34` regression in `CustomResourceDefinition` handling that incorrectly warned about unrecognized formats on number and integer properties. ([kubernetes/kubernetes#133896](https://github.com/kubernetes/kubernetes/pull/133896), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Contributor Experience, Network, Node and Scheduling] +- Kube-apiserver: Fixed a possible panic validating a custom resource whose `CustomResourceDefinition` indicates a status subresource exists, but which does not define a `status` property in the `openAPIV3Schema`. ([kubernetes/kubernetes#133721](https://github.com/kubernetes/kubernetes/pull/133721), [@fusida](https://github.com/fusida)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Release, Scheduling, Storage and Testing] +- Kubernetes API Go types removed runtime use of the `github.com/gogo/protobuf` library, and are no longer registered into the global gogo type registry. Kubernetes API Go types were not suitable for use with the `google.golang.org/protobuf` library, and no longer implement `ProtoMessage()` by default to avoid accidental incompatible use. If removal of these marker methods impacts your use, it can be re-enabled for one more release with a `kubernetes_protomessage_one_more_release` build tag, but will be removed in `v1.36`. ([kubernetes/kubernetes#134256](https://github.com/kubernetes/kubernetes/pull/134256), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling and Storage] +- Made node affinity in Persistent Volume mutable. ([kubernetes/kubernetes#134339](https://github.com/kubernetes/kubernetes/pull/134339), [@huww98](https://github.com/huww98)) [SIG API Machinery, Apps and Node] +- Moved the `ImagePullIntent` and `ImagePulledRecord` objects used by the kubelet to track image pulls to the `v1beta1` API version. ([kubernetes/kubernetes#132579](https://github.com/kubernetes/kubernetes/pull/132579), [@stlaz](https://github.com/stlaz)) [SIG Auth and Node] +- Pod resize now only allows CPU and memory resources; other resource types are forbidden. ([kubernetes/kubernetes#135084](https://github.com/kubernetes/kubernetes/pull/135084), [@tallclair](https://github.com/tallclair)) [SIG Apps, Node and Testing] +- Prevented Pods from being scheduled onto nodes that lack the required CSI driver. ([kubernetes/kubernetes#135012](https://github.com/kubernetes/kubernetes/pull/135012), [@gnufied](https://github.com/gnufied)) [SIG API Machinery, Scheduling, Storage and Testing] +- Promoted HPA configurable tolerance to beta. The `HPAConfigurableTolerance` feature gate has now been enabled by default. ([kubernetes/kubernetes#133128](https://github.com/kubernetes/kubernetes/pull/133128), [@jm-franc](https://github.com/jm-franc)) [SIG API Machinery and Autoscaling] +- Promoted ReplicaSet and Deployment `.status.terminatingReplicas` tracking to beta. The `DeploymentReplicaSetTerminatingReplicas` feature gate is now enabled by default. ([kubernetes/kubernetes#133087](https://github.com/kubernetes/kubernetes/pull/133087), [@atiratree](https://github.com/atiratree)) [SIG API Machinery, Apps and Testing] +- Promoted `PodObservedGenerationTracking` to GA. ([kubernetes/kubernetes#134948](https://github.com/kubernetes/kubernetes/pull/134948), [@natasha41575](https://github.com/natasha41575)) [SIG API Machinery, Apps, Node, Scheduling and Testing] +- Promoted the `JobManagedBy` feature to general availability. The `JobManagedBy` feature gate was locked to `true` and will be removed in a future Kubernetes release. ([kubernetes/kubernetes#135080](https://github.com/kubernetes/kubernetes/pull/135080), [@dejanzele](https://github.com/dejanzele)) [SIG API Machinery, Apps and Testing] +- Promoted the `MaxUnavailableStatefulSet` feature to beta and enabling it by default. ([kubernetes/kubernetes#133153](https://github.com/kubernetes/kubernetes/pull/133153), [@helayoty](https://github.com/helayoty)) [SIG API Machinery and Apps] +- Removed the `StrictCostEnforcementForVAP` and `StrictCostEnforcementForWebhooks` feature gates, which were locked since `v1.32`. ([kubernetes/kubernetes#134994](https://github.com/kubernetes/kubernetes/pull/134994), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth, Node and Testing] +- Scheduler: Added the `bindingTimeout` argument to the DynamicResources plugin configuration, allowing customization of the wait duration in `PreBind` for device binding conditions. + Defaults to 10 minutes when `DRADeviceBindingConditions` and `DRAResourceClaimDeviceStatus` are both enabled. ([kubernetes/kubernetes#134905](https://github.com/kubernetes/kubernetes/pull/134905), [@fj-naji](https://github.com/fj-naji)) [SIG Node and Scheduling] +- The DRA device taints and toleration feature received a separate feature gate, `DRADeviceTaintRules`, which controlled support for `DeviceTaintRules`. This allowed disabling it while keeping `DRADeviceTaints` enabled so that tainting via `ResourceSlices` continued to work. ([kubernetes/kubernetes#135068](https://github.com/kubernetes/kubernetes/pull/135068), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- The Pod Certificates feature moved to beta. The `PodCertificateRequest` feature gate is set disabled by default. To use the feature, users must enable the certificates API groups in `v1beta1` and enable the `PodCertificateRequest` feature gate. The `UserAnnotations` field was added to the `PodCertificateProjection` API and the corresponding `UnverifiedUserAnnotations` field was added to the `PodCertificateRequest` API. ([kubernetes/kubernetes#134624](https://github.com/kubernetes/kubernetes/pull/134624), [@yt2985](https://github.com/yt2985)) [SIG API Machinery, Apps, Auth, Etcd, Instrumentation, Node and Testing] +- The `KubeletEnsureSecretPulledImages` feature was promoted to Beta and enabled by default. ([kubernetes/kubernetes#135228](https://github.com/kubernetes/kubernetes/pull/135228), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- The `PreferSameZone` and `PreferSameNode` values for the Service + `trafficDistribution` field graduated to general availability. The + `PreferClose` value is now deprecated in favor of the more explicit + `PreferSameZone`. ([kubernetes/kubernetes#134457](https://github.com/kubernetes/kubernetes/pull/134457), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network and Testing] +- Updated `ResourceQuota` to count device class requests within a `ResourceClaim` as two additional quotas when the `DRAExtendedResource` feature is enabled: + - `requests.deviceclass.resource.k8s.io/` is charged based on the worst-case number of devices requested. + - Device classes mapping to an extended resource now consume `requests.`. ([kubernetes/kubernetes#134210](https://github.com/kubernetes/kubernetes/pull/134210), [@yliaog](https://github.com/yliaog)) [SIG API Machinery, Apps, Node, Scheduling and Testing] +- Updated storage version for `MutatingAdmissionPolicy` to `v1beta1`. ([kubernetes/kubernetes#133715](https://github.com/kubernetes/kubernetes/pull/133715), [@cici37](https://github.com/cici37)) [SIG API Machinery, Etcd and Testing] +- Updated the Partitionable Devices feature to support referencing counter sets across ResourceSlices within the same resource pool. Devices from incomplete pools were no longer considered for allocation. This change introduced backwards-incompatible updates to the alpha feature, requiring any ResourceSlices using it to be removed before upgrading or downgrading between v1.34 and v1.35. ([kubernetes/kubernetes#134189](https://github.com/kubernetes/kubernetes/pull/134189), [@mortent](https://github.com/mortent)) [SIG API Machinery, Node, Scheduling and Testing] +- Upgraded the `PodObservedGenerationTracking` feature to beta in `v1.34` and removed the alpha version description from the OpenAPI specification. ([kubernetes/kubernetes#133883](https://github.com/kubernetes/kubernetes/pull/133883), [@yangjunmyfm192085](https://github.com/yangjunmyfm192085)) +- Add scoring for the prioritized list feature so that the node that can satisfy the best ranked subrequests are chosen. ([kubernetes/kubernetes#134711](https://github.com/kubernetes/kubernetes/pull/134711), [@mortent](https://github.com/mortent)) [SIG Node, Scheduling and Testing] +- Allows restart all containers when the source container exits with a matching restart policy rule. This is an alpha feature behind feature gate RestartAllContainersOnContainerExit. ([kubernetes/kubernetes#134345](https://github.com/kubernetes/kubernetes/pull/134345), [@yuanwang04](https://github.com/yuanwang04)) [SIG Apps, Node and Testing] +- Changed kuberc configuration schema. Two new optional fields added to kuberc configuration, `credPluginPolicy` and `credPluginAllowlist`. This is documented in [KEP-3104](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/3104-introduce-kuberc/README.md#allowlist-design-details) and documentation is added to the website by [kubernetes/website#52877](https://github.com/kubernetes/website/pull/52877) ([kubernetes/kubernetes#134870](https://github.com/kubernetes/kubernetes/pull/134870), [@pmengelbert](https://github.com/pmengelbert)) [SIG API Machinery, Architecture, Auth, CLI, Instrumentation and Testing] +- Enhanced discovery response to support merged API groups/resources from all peer apiservers when UnknownVersionInteroperabilityProxy feature is enabled ([kubernetes/kubernetes#133648](https://github.com/kubernetes/kubernetes/pull/133648), [@richabanker](https://github.com/richabanker)) [SIG API Machinery, Auth, Cloud Provider, Node, Scheduling and Testing] +- Extend `core/v1 Toleration` to support numeric comparison operators (`Gt`, `Lt`). ([kubernetes/kubernetes#134665](https://github.com/kubernetes/kubernetes/pull/134665), [@helayoty](https://github.com/helayoty)) [SIG API Machinery, Apps, Node, Scheduling, Testing and Windows] +- Features: NominatedNodeNameForExpectation in kube-scheduler and CleaeringNominatedNodeNameAfterBinding in kube-apiserver are now enabled by default. ([kubernetes/kubernetes#135103](https://github.com/kubernetes/kubernetes/pull/135103), [@ania-borowiec](https://github.com/ania-borowiec)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- Implement changes to prevent pod scheduling to a node without CSI driver ([kubernetes/kubernetes#135012](https://github.com/kubernetes/kubernetes/pull/135012), [@gnufied](https://github.com/gnufied)) [SIG API Machinery, Scheduling, Storage and Testing] +- Introduce scheduling.k8s.io/v1alpha1 Workload API to allow for expressing workload-level scheduling requirements and let kube-scheduler act on those. ([kubernetes/kubernetes#134564](https://github.com/kubernetes/kubernetes/pull/134564), [@macsko](https://github.com/macsko)) [SIG API Machinery, Apps, CLI, Etcd, Scheduling and Testing] +- Introduce the alpha MutableSchedulingDirectivesForSuspendedJobs feature gate (disabled by default) which: + 1. allows to mutate Job's scheduling directives for suspended Jobs + 2. makes the Job controller to clear the status.startTime field for suspended Jobs ([kubernetes/kubernetes#135104](https://github.com/kubernetes/kubernetes/pull/135104), [@mimowo](https://github.com/mimowo)) [SIG Apps and Testing] +- Introduced GangScheduling kube-scheduler plugin to enable "all-or-nothing" scheduling. Workload API in scheduling.k8s.io/v1alpha1 is used to express the desired policy. ([kubernetes/kubernetes#134722](https://github.com/kubernetes/kubernetes/pull/134722), [@macsko](https://github.com/macsko)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Scheduling and Testing] +- PV node affinity is now mutable. ([kubernetes/kubernetes#134339](https://github.com/kubernetes/kubernetes/pull/134339), [@huww98](https://github.com/huww98)) [SIG API Machinery, Apps and Node] +- ResourceQuota now counts device class requests within a ResourceClaim object as consuming two additional quotas when the DRAExtendedResource feature is enabled: + - `requests.deviceclass.resource.k8s.io/` with a quantity equal to the worst case count of devices requested + - requests for device classes that map to an extended resource consume `requests.` ([kubernetes/kubernetes#134210](https://github.com/kubernetes/kubernetes/pull/134210), [@yliaog](https://github.com/yliaog)) [SIG API Machinery, Apps, Node, Scheduling and Testing] +- The DRA device taints and toleration feature now has a separate feature gate, DRADeviceTaintRules, which controls whether support for DeviceTaintRules is enabled. It is possible to disable that and keep DRADeviceTaints enabled, in which case tainting by DRA drivers through ResourceSlices continues to work. ([kubernetes/kubernetes#135068](https://github.com/kubernetes/kubernetes/pull/135068), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- The ImagePullIntent and ImagePulledRecord objects used by kubelet to store information about image pulls have been moved to the v1beta1 API version. ([kubernetes/kubernetes#132579](https://github.com/kubernetes/kubernetes/pull/132579), [@stlaz](https://github.com/stlaz)) [SIG Auth and Node] +- The KubeletEnsureSecretPulledImages feature is now beta and enabled by default. ([kubernetes/kubernetes#135228](https://github.com/kubernetes/kubernetes/pull/135228), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- This change adds a new alpha feature Node Declared Features, which includes: + - A new `Node.Status.DeclaredFeatures` field for Kubelet to publish node-specific features. + - A library in `component-helpers` for feature registration and inference. + - A scheduler plugin (`NodeDeclaredFeatures`) scheduler plugin to match pods with nodes that provide their required features. + - An admission plugin (`NodeDeclaredFeatureValidator`) to validate pod updates against a node's declared features. ([kubernetes/kubernetes#133389](https://github.com/kubernetes/kubernetes/pull/133389), [@pravk03](https://github.com/pravk03)) [SIG API Machinery, Apps, Node, Release, Scheduling and Testing] +- This change allows In Place Resize of Pod Level Resources + - Add Resources in PodStatus to capture resources set at pod-level cgroup + - Add AllocatedResources in PodStatus to capture resources requested in the PodSpec ([kubernetes/kubernetes#132919](https://github.com/kubernetes/kubernetes/pull/132919), [@ndixita](https://github.com/ndixita)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Instrumentation, Node, Scheduling and Testing] +- Updates to the Partitionable Devices feature which allows for referencing counter sets across different ResourceSlices within the same resource pool. + + Devices from incomplete pools are no longer considered for allocation. + + This contains backwards incompatible changes to the Partitionable Devices alpha feature, so any ResourceSlices that uses the feature should be removed prior to upgrading or downgrading between 1.34 and 1.35. ([kubernetes/kubernetes#134189](https://github.com/kubernetes/kubernetes/pull/134189), [@mortent](https://github.com/mortent)) [SIG API Machinery, Node, Scheduling and Testing] +- Add ObservedGeneration to CustomResourceDefinition Conditions. ([kubernetes/kubernetes#134984](https://github.com/kubernetes/kubernetes/pull/134984), [@michaelasp](https://github.com/michaelasp)) [SIG API Machinery] +- Add StorageVersionMigration v1beta1 api and remove the v1alpha API. + + Any use of the v1alpha1 api is no longer supported and + users must remove any v1alpha1 resources prior to upgrade. ([kubernetes/kubernetes#134784](https://github.com/kubernetes/kubernetes/pull/134784), [@michaelasp](https://github.com/michaelasp)) [SIG API Machinery, Apps, Auth, Etcd and Testing] +- CSI drivers can now opt-in to receive service account tokens via the secrets field instead of volume context by setting `spec.serviceAccountTokenInSecrets: true` in the CSIDriver object. This prevents tokens from being exposed in logs and other outputs. The feature is gated by the `CSIServiceAccountTokenSecrets` feature gate (Beta in v1.35). ([kubernetes/kubernetes#134826](https://github.com/kubernetes/kubernetes/pull/134826), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth, Storage and Testing] +- DRA device taints: DeviceTaintRule status provided information about the rule, in particular whether pods still need to be evicted ("EvictionInProgress" condition). The new "None" effect can be used to preview what a DeviceTaintRule would do if it used the "NoExecute" effect and to taint devices ("device health") without immediately affecting scheduling or running pods. ([kubernetes/kubernetes#134152](https://github.com/kubernetes/kubernetes/pull/134152), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Release, Scheduling and Testing] +- DRA: the DynamicResourceAllocation feature gate for the core functionality (GA in 1.34) is now locked to enabled-by-default and thus cannot be disabled anymore. ([kubernetes/kubernetes#134452](https://github.com/kubernetes/kubernetes/pull/134452), [@pohly](https://github.com/pohly)) [SIG Auth, Node, Scheduling and Testing] +- Forbid adding resources other than CPU & memory on pod resize. ([kubernetes/kubernetes#135084](https://github.com/kubernetes/kubernetes/pull/135084), [@tallclair](https://github.com/tallclair)) [SIG Apps, Node and Testing] +- Implement constrained impersonation as described in https://kep.k8s.io/5284 ([kubernetes/kubernetes#134803](https://github.com/kubernetes/kubernetes/pull/134803), [@enj](https://github.com/enj)) [SIG API Machinery, Auth and Testing] +- Introduces a structured and versioned v1alpha1 response for flagz ([kubernetes/kubernetes#134995](https://github.com/kubernetes/kubernetes/pull/134995), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Architecture, Instrumentation, Network, Node, Scheduling and Testing] +- Introduces a structured and versioned v1alpha1 response for statusz ([kubernetes/kubernetes#134313](https://github.com/kubernetes/kubernetes/pull/134313), [@richabanker](https://github.com/richabanker)) [SIG API Machinery, Architecture, Instrumentation, Network, Node, Scheduling and Testing] +- New `--min-compatibility-version` flag for apiserver, kcm and kube scheduler ([kubernetes/kubernetes#133980](https://github.com/kubernetes/kubernetes/pull/133980), [@siyuanfoundation](https://github.com/siyuanfoundation)) [SIG API Machinery, Architecture, Cluster Lifecycle, Etcd, Scheduling and Testing] +- Promote PodObservedGenerationTracking to GA. ([kubernetes/kubernetes#134948](https://github.com/kubernetes/kubernetes/pull/134948), [@natasha41575](https://github.com/natasha41575)) [SIG API Machinery, Apps, Node, Scheduling and Testing] +- Promoted Job Managed By to general availability. The `JobManagedBy` feature gate is now locked to true, and will be removed in a future release of Kubernetes. ([kubernetes/kubernetes#135080](https://github.com/kubernetes/kubernetes/pull/135080), [@dejanzele](https://github.com/dejanzele)) [SIG API Machinery, Apps and Testing] +- Promoted ReplicaSet and Deployment `.status.terminatingReplicas` tracking to beta. The `DeploymentReplicaSetTerminatingReplicas` feature gate is now enabled by default. ([kubernetes/kubernetes#133087](https://github.com/kubernetes/kubernetes/pull/133087), [@atiratree](https://github.com/atiratree)) [SIG API Machinery, Apps and Testing] +- Scheduler: added a new `bindingTimeout` argument to the DynamicResources plugin configuration. + This allows customizing the wait duration in PreBind for device binding conditions. + Defaults to 10 minutes when DRADeviceBindingConditions and DRAResourceClaimDeviceStatus are both enabled. ([kubernetes/kubernetes#134905](https://github.com/kubernetes/kubernetes/pull/134905), [@fj-naji](https://github.com/fj-naji)) [SIG Node and Scheduling] +- The Pod Certificates feature is moving to beta. The PodCertificateRequest feature gate is still set false by default. To use the feature, users will need to enable the certificates API groups in v1beta1 and enable the feature gate PodCertificateRequest. A new field UserAnnotations is added to the PodCertificateProjection API and the corresponding UnverifiedUserAnnotations is added to the PodCertificateRequest API. ([kubernetes/kubernetes#134624](https://github.com/kubernetes/kubernetes/pull/134624), [@yt2985](https://github.com/yt2985)) [SIG API Machinery, Apps, Auth, Etcd, Instrumentation, Node and Testing] +- The StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates, locked on since 1.32, have been removed ([kubernetes/kubernetes#134994](https://github.com/kubernetes/kubernetes/pull/134994), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth, Node and Testing] +- The `PreferSameZone` and `PreferSameNode` values for Service's + `trafficDistribution` field are now GA. The old value `PreferClose` is now + deprecated in favor of the more-explicit `PreferSameZone`. ([kubernetes/kubernetes#134457](https://github.com/kubernetes/kubernetes/pull/134457), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network and Testing] +- Kube-apiserver: fix a possible panic validating a custom resource whose CustomResourceDefinition indicates a status subresource exists, but which does not define a `status` property in the `openAPIV3Schema` ([kubernetes/kubernetes#133721](https://github.com/kubernetes/kubernetes/pull/133721), [@fusida](https://github.com/fusida)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Release, Scheduling, Storage and Testing] +- Kubernetes API Go types removed runtime use of the github.com/gogo/protobuf library, and are no longer registered into the global gogo type registry. Kubernetes API Go types were not suitable for use with the google.golang.org/protobuf library, and no longer implement `ProtoMessage()` by default to avoid accidental incompatible use. If removal of these marker methods impacts your use, it can be re-enabled for one more release with a `kubernetes_protomessage_one_more_release` build tag, but will be removed in 1.36. ([kubernetes/kubernetes#134256](https://github.com/kubernetes/kubernetes/pull/134256), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling and Storage] +- Promoted HPA configurable tolerance to beta. The `HPAConfigurableTolerance` feature gate is now enabled by default. ([kubernetes/kubernetes#133128](https://github.com/kubernetes/kubernetes/pull/133128), [@jm-franc](https://github.com/jm-franc)) [SIG API Machinery and Autoscaling] +- The MaxUnavailableStatefulSet feature is now beta and enabled by default. ([kubernetes/kubernetes#133153](https://github.com/kubernetes/kubernetes/pull/133153), [@helayoty](https://github.com/helayoty)) [SIG API Machinery and Apps] +- Added WithOrigin within apis/core/validation with adjusted tests ([kubernetes/kubernetes#132825](https://github.com/kubernetes/kubernetes/pull/132825), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG Apps] +- Component-base: validate that log-flush-frequency is positive and return an error instead of panic-ing ([kubernetes/kubernetes#133540](https://github.com/kubernetes/kubernetes/pull/133540), [@BenTheElder](https://github.com/BenTheElder)) [SIG Architecture, Instrumentation, Network and Node] +- Feature gate dependencies are now explicit, and validated at startup. A feature can no longer be enabled if it depends on a disabled feature. In particular, this means that `AllAlpha=true` will no longer work without enabling disabled-by-default beta features that are depended on (either with `AllBeta=true` or explicitly enumerating the disabled dependencies). ([kubernetes/kubernetes#133697](https://github.com/kubernetes/kubernetes/pull/133697), [@tallclair](https://github.com/tallclair)) [SIG API Machinery, Architecture, Cluster Lifecycle and Node] +- In version 1.34, the PodObservedGenerationTracking feature has been upgraded to beta, and the description of the alpha version in the openapi has been removed. ([kubernetes/kubernetes#133883](https://github.com/kubernetes/kubernetes/pull/133883), [@yangjunmyfm192085](https://github.com/yangjunmyfm192085)) [SIG Apps] +- Introduce a new declarative validation tag +k8s:customUnique to control listmap uniqueness ([kubernetes/kubernetes#134279](https://github.com/kubernetes/kubernetes/pull/134279), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery and Auth] +- Kube-apiserver: Fixed a 1.34 regression in CustomResourceDefinition handling that incorrectly warned about unrecognized formats on number and integer properties ([kubernetes/kubernetes#133896](https://github.com/kubernetes/kubernetes/pull/133896), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Contributor Experience, Network, Node and Scheduling] +- OpenAPI model packages of API types are generated into `zz_generated.model_name.go` files and are accessible using the `OpenAPIModelName()` function. This allows API authors to declare the desired OpenAPI model packages instead of using the go package path of API types. ([kubernetes/kubernetes#131755](https://github.com/kubernetes/kubernetes/pull/131755), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- Support for `kubectl get -o kyaml` is now on by default. To disable it, set `KUBECTL_KYAML=false`. ([kubernetes/kubernetes#133327](https://github.com/kubernetes/kubernetes/pull/133327), [@thockin](https://github.com/thockin)) [SIG CLI] +- The storage version for MutatingAdmissionPolicy is updated to v1beta1. ([kubernetes/kubernetes#133715](https://github.com/kubernetes/kubernetes/pull/133715), [@cici37](https://github.com/cici37)) [SIG API Machinery, Etcd and Testing] +# v34.1.0 + +Kubernetes API Version: v1.34.1 + + +# v34.1.0b1 + +Kubernetes API Version: v1.34.1 + + +# v34.1.0a1 + +Kubernetes API Version: v1.34.1 + +### API Change +- Added `omitempty` and `opt` tag to the API `v1beta2` AdminAccess type in the `DeviceRequestAllocationResult` struct. ([kubernetes/kubernetes#132338](https://github.com/kubernetes/kubernetes/pull/132338), [@PatrickLaabs](https://github.com/PatrickLaabs)) +- Added a `runtime.ApplyConfiguration` interface implemented by all generated apply configuration types. ([kubernetes/kubernetes#132194](https://github.com/kubernetes/kubernetes/pull/132194), [@alvaroaleman](https://github.com/alvaroaleman)) [SIG API Machinery and Instrumentation] +- Added a detailed event for in-place pod vertical scaling completed, improving cluster management and debugging. ([kubernetes/kubernetes#130387](https://github.com/kubernetes/kubernetes/pull/130387), [@shiya0705](https://github.com/shiya0705)) [SIG API Machinery, Apps, Autoscaling, Node, Scheduling and Testing] +- Added a mechanism for configurable container restarts: _container-level restart rules_. This was an alpha feature behind the `ContainerRestartRules` feature gate. ([kubernetes/kubernetes#132642](https://github.com/kubernetes/kubernetes/pull/132642), [@yuanwang04](https://github.com/yuanwang04)) [SIG API Machinery, Apps, Node and Testing] +- Added a new `FileKeyRef` field to containers, allowing them to load variables from files by setting this field. + + Introduced the `EnvFiles` feature gate to govern activation of this functionality. ([kubernetes/kubernetes#132626](https://github.com/kubernetes/kubernetes/pull/132626), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Apps, Node and Testing] +- Added driver-owned fields in `ResourceSlice` to mark whether the device was shareable among multiple resource claims (or requests) and to specify how each capacity could be shared between different requests. + - Added user-owned fields in `ResourceClaim` to specify resource requirements against each device capacity. + - Added scheduler-owned field in `ResourceClaim.Status` to specify how much device capacity is reserved for a specific request. + - Added an additional identifier to `ResourceClaim.Status` for the device supports multiple allocations. + - Added a new constraint type to enforce uniqueness of specified attributes across all allocated devices. ([kubernetes/kubernetes#132522](https://github.com/kubernetes/kubernetes/pull/132522), [@sunya-ch](https://github.com/sunya-ch)) [SIG API Machinery, Apps, Architecture, CLI, Cluster Lifecycle, Network, Node, Release, Scheduling and Testing] +- Added new optional APIs in `ResouceSlice.Basic` and `ResourceClaim.Status.AllocatedDeviceStatus`. ([kubernetes/kubernetes#130160](https://github.com/kubernetes/kubernetes/pull/130160), [@KobayashiD27](https://github.com/KobayashiD27)) [SIG API Machinery, Apps, Architecture, Node, Release, Scheduling and Testing] +- Added support for specifying `controlplane` or `cluster` egress selectors in JWT authenticators via the `issuer.egressSelectorType` field in the `AuthenticationConfiguration.jwt` array. If unset, the previous behavior of using no egress selector is preserved. This functionality requires the `StructuredAuthenticationConfigurationEgressSelector` beta feature gate (enabled by default). ([kubernetes/kubernetes#132768](https://github.com/kubernetes/kubernetes/pull/132768), [@enj](https://github.com/enj)) [SIG API Machinery, Auth and Testing] +- Added support in the Kubelet for monitoring the health of devices allocated via Dynamic Resource Allocation (DRA) and report it in the `pod.status.containerStatuses.allocatedResourcesStatus` field. This required the DRA plugin to implement the new v1alpha1 `NodeHealth` gRPC service. This feature was controlled by the `ResourceHealthStatus` feature gate. ([kubernetes/kubernetes#130606](https://github.com/kubernetes/kubernetes/pull/130606), [@Jpsassine](https://github.com/Jpsassine)) [SIG Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Network, Node, Release, Scheduling, Storage and Testing] +- Added support in the kubelet's image pull credential tracking for service account-based verification. When an image was pulled using service account credentials via external credential providers, subsequent Pods using the same service account (UID, name, and namespace) could access the cached image without re-authentication for the lifetime of that service account. ([kubernetes/kubernetes#132771](https://github.com/kubernetes/kubernetes/pull/132771), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- Added validation to reject Pods using the `PodLevelResources` feature on Windows OS due to lack of support. The API server rejected Pods with pod-level resources and a `Pod.spec.os.name` targeting Windows. Kubelet on nodes running Windows also rejected Pods with pod-level resources at the admission phase. ([kubernetes/kubernetes#133046](https://github.com/kubernetes/kubernetes/pull/133046), [@toVersus](https://github.com/toVersus)) [SIG Apps and Node] +- Added warnings when creating headless service with set `loadBalancerIP`,`externalIPs` and/or `SessionAffinity`. ([kubernetes/kubernetes#132214](https://github.com/kubernetes/kubernetes/pull/132214), [@Peac36](https://github.com/Peac36)) +- Allowed `pvc.spec.VolumeAttributesClassName` to change from non-nil to nil. ([kubernetes/kubernetes#132106](https://github.com/kubernetes/kubernetes/pull/132106), [@AndrewSirenko](https://github.com/AndrewSirenko)) +- Allowed setting the `hostnameOverride` field in `PodSpec` to specify any RFC 1123 DNS subdomain as the pod's hostname. The `HostnameOverride` feature gate was introduced to control enablement of this functionality. ([kubernetes/kubernetes#132558](https://github.com/kubernetes/kubernetes/pull/132558), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Apps, Network, Node and Testing] +- Changed underlying logic for `Eviction Manager` helper functions. ([kubernetes/kubernetes#132277](https://github.com/kubernetes/kubernetes/pull/132277), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Node, Scheduling and Testing] +- Changed underlying logic to propagate pod-level hugepage cgroup to containers when they did not specify hugepage resources. + - Added validation to enforce the hugepage aggregated container limits to be smaller than or equal to pod-level limits. This was already enforced with the defaulted requests from the specified limits, however it did not make it clear about both hugepage requests and limits. ([kubernetes/kubernetes#131089](https://github.com/kubernetes/kubernetes/pull/131089), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Apps, Node and Testing] +- Corrected the documentation to clarify that `podSelector` is optional and described its default behavior. ([kubernetes/kubernetes#131354](https://github.com/kubernetes/kubernetes/pull/131354), [@tomoish](https://github.com/tomoish)) +- DRA API: resource.k8s.io/v1alpha3 now only contains DeviceTaintRule. All other types got removed because they became obsolete when introducing the v1beta1 API in 1.32. + before updating a cluster where resourceclaims, resourceclaimtemplates, deviceclasses, or resourceslices might have been stored using Kubernetes < 1.32, delete all of those resources before updating and recreate them as needed while running Kubernetes >= 1.32. ([kubernetes/kubernetes#132000](https://github.com/kubernetes/kubernetes/pull/132000), [@pohly](https://github.com/pohly)) [SIG Etcd, Node, Scheduling and Testing] +- DRA: Starting with Kubernetes 1.34, the alpha-level `resource.k8s.io/admin-access` label has been updated to `resource.kubernetes.io/admin-access`. Admins using the alpha feature and updating from 1.33 can set both labels, upgrade, then remove `resource.k8s.io/admin-access` when no downgrade is going to happen anymore. ([kubernetes/kubernetes#131996](https://github.com/kubernetes/kubernetes/pull/131996), [@ritazh](https://github.com/ritazh)) [SIG Node and Testing] +- DRA: The scheduler plugin prevented abnormal filter runtimes by timing out after 10 seconds. This was configurable via the plugin configuration's `FilterTimeout`. Setting it to zero disabled the timeout and restored the behavior of Kubernetes <= 1.33. ([kubernetes/kubernetes#132033](https://github.com/kubernetes/kubernetes/pull/132033), [@pohly](https://github.com/pohly)) [SIG Node, Scheduling and Testing] +- DRA: When the prioritized list feature was used in a request and the resulting number of allocated devices exceeded the number of allowed devices per claim, the scheduler aborted the attempt to allocate devices early. Previously, it tried to many different combinations, which could take a long time. ([kubernetes/kubernetes#130593](https://github.com/kubernetes/kubernetes/pull/130593), [@mortent](https://github.com/mortent)) [SIG Apps, Node, Scheduling and Testing] +- DRA: removed support for the v1alpha4 kubelet gRPC API (added in 1.31, superseded in 1.32). DRA drivers using the helper package from Kubernetes >= 1.32 use the v1beta1 API and continue to be supported. ([kubernetes/kubernetes#132574](https://github.com/kubernetes/kubernetes/pull/132574), [@pohly](https://github.com/pohly)) +- Deprecated `StreamingConnectionIdleTimeout` field of the kubelet config. ([kubernetes/kubernetes#131992](https://github.com/kubernetes/kubernetes/pull/131992), [@lalitc375](https://github.com/lalitc375)) +- Dynamic Resource Allocation: Graduated core functionality to general availability (GA). This newly stable feature uses the _structured parameters_ flavor of DRA. ([kubernetes/kubernetes#132706](https://github.com/kubernetes/kubernetes/pull/132706), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Autoscaling, Etcd, Node, Scheduling and Testing] +- Enabled kube-apiserver support for `PodCertificateRequest` and `PodCertificate` projected volumes (behind the `PodCertificateRequest` feature gate). ([kubernetes/kubernetes#128010](https://github.com/kubernetes/kubernetes/pull/128010), [@ahmedtd](https://github.com/ahmedtd)) [SIG API Machinery, Apps, Auth, Cloud Provider, Etcd, Node, Storage and Testing] +- Extended resources backed by DRA feature allowed cluster operator to specify `extendedResourceName` in `DeviceClass`, and application operator to continue using extended resources in pod's requests to request for DRA devices matching the DeviceClass. + + `NodeResourcesFit` plugin scoring didn't work for extended resources backed by DRA. ([kubernetes/kubernetes#130653](https://github.com/kubernetes/kubernetes/pull/130653), [@yliaog](https://github.com/yliaog)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- Extended the NodePorts scheduling plugin to consider hostPorts used by restartable init containers. ([kubernetes/kubernetes#132040](https://github.com/kubernetes/kubernetes/pull/132040), [@avrittrohwer](https://github.com/avrittrohwer)) [SIG Scheduling and Testing] +- Fixed a 1.33 regression that causes a nil panic in kube-scheduler when aggregating resource requested across container's spec and status. ([kubernetes/kubernetes#132895](https://github.com/kubernetes/kubernetes/pull/132895), [@yue9944882](https://github.com/yue9944882)) [SIG Node and Scheduling] +- Fixed prerelease lifecycle for `PodCertificateRequest`. ([kubernetes/kubernetes#133350](https://github.com/kubernetes/kubernetes/pull/133350), [@carlory](https://github.com/carlory)) +- Introduced OpenAPI format support for `k8s-short-name` and `k8s-long-name` in CustomResourceDefinition schemas. ([kubernetes/kubernetes#132504](https://github.com/kubernetes/kubernetes/pull/132504), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling and Storage] +- Introduced the `admissionregistration.k8s.io/v1beta1/MutatingAdmissionPolicy` API type. To enable, enable the `MutatingAdmissionPolicy` feature gate (which was off by default) and set `--runtime-config=admissionregistration.k8s.io/v1beta1=true` on the kube-apiserver. + Note that the default stored version remained alpha in 1.34, and whoever enabled beta during 1.34 needed to run a storage migration yourself to ensure you don't depend on alpha data in etcd. ([kubernetes/kubernetes#132821](https://github.com/kubernetes/kubernetes/pull/132821), [@cici37](https://github.com/cici37)) [SIG API Machinery, Etcd and Testing] +- Kube-apiserver: Added support for disabling caching of authorization webhook decisions in the `--authorization-config` file. The new fields `cacheAuthorizedRequests` and `cacheUnauthorizedRequests` could be set to `false` to prevent caching for authorized or unauthorized requests. See the https://kubernetes.io/docs/reference/access-authn-authz/authorization/#using-configuration-file-for-authorization for more details. ([kubernetes/kubernetes#129237](https://github.com/kubernetes/kubernetes/pull/129237), [@rfranzke](https://github.com/rfranzke)) [SIG API Machinery and Auth] +- Kube-apiserver: Promoted the `StructuredAuthenticationConfiguration` feature gate to GA. ([kubernetes/kubernetes#131916](https://github.com/kubernetes/kubernetes/pull/131916), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth and Testing] +- Kube-apiserver: the AuthenticationConfiguration type accepted in `--authentication-config` files has been promoted to `apiserver.config.k8s.io/v1`. ([kubernetes/kubernetes#131752](https://github.com/kubernetes/kubernetes/pull/131752), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth and Testing] +- Kube-log-runner: Added the `-log-file-size` parameter to rotate log output into a new file once it reached a certain size. Introduced `-log-file-age` to enable automatic removal of old output files, and `-flush-interval` to support periodic flushing. ([kubernetes/kubernetes#127667](https://github.com/kubernetes/kubernetes/pull/127667), [@zylxjtu](https://github.com/zylxjtu)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Release, Scheduling, Storage, Testing and Windows] +- Kubectl: Graduated kuberc support to beta. A `kuberc` configuration file provided a mechanism for customizing `kubectl` behavior (distinct from kubeconfig, which configures cluster access across different clients). ([kubernetes/kubernetes#131818](https://github.com/kubernetes/kubernetes/pull/131818), [@soltysh](https://github.com/soltysh)) [SIG CLI and Testing] +- Promoted Job Pod Replacement Policy to general availability. The `JobPodReplacementPolicy` feature gate was locked to `true` and will be removed in a future Kubernetes release. ([kubernetes/kubernetes#132173](https://github.com/kubernetes/kubernetes/pull/132173), [@dejanzele](https://github.com/dejanzele)) [SIG Apps and Testing] +- Promoted `MutableCSINodeAllocatableCount` to beta. ([kubernetes/kubernetes#132429](https://github.com/kubernetes/kubernetes/pull/132429), [@torredil](https://github.com/torredil)) +- Promoted feature-gate `VolumeAttributesClass` to GA + - Promoted API `VolumeAttributesClass` and `VolumeAttributesClassList` to `storage.k8s.io/v1`. ([kubernetes/kubernetes#131549](https://github.com/kubernetes/kubernetes/pull/131549), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Storage and Testing] +- Promoted the `APIServerTracing` feature gate to GA. The `--tracing-config-file` flag accepted `TracingConfiguration` in version `apiserver.config.k8s.io/v1` (with no changes from `apiserver.config.k8s.io/v1beta1`). ([kubernetes/kubernetes#132340](https://github.com/kubernetes/kubernetes/pull/132340), [@dashpole](https://github.com/dashpole)) [SIG API Machinery and Testing] +- Promoted the `AuthorizeWithSelectors` and `AuthorizeNodeWithSelectors` feature gates to stable and locked on. ([kubernetes/kubernetes#132656](https://github.com/kubernetes/kubernetes/pull/132656), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth and Testing] +- Promoted the `KubeletTracing` feature gate to GA. ([kubernetes/kubernetes#132341](https://github.com/kubernetes/kubernetes/pull/132341), [@dashpole](https://github.com/dashpole)) [SIG Instrumentation and Node] +- Promoted the `RelaxedEnvironmentVariableValidation` feature gate to GA and locked it in the enabled state by default. ([kubernetes/kubernetes#132054](https://github.com/kubernetes/kubernetes/pull/132054), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG Apps, Architecture, Node and Testing] +- Removed an inaccurate statement about requiring ports when the Pod spec `hostNetwork` field was set. ([kubernetes/kubernetes#130994](https://github.com/kubernetes/kubernetes/pull/130994), [@BenTheElder](https://github.com/BenTheElder)) [SIG Network and Node] +- Removed deprecated `gogo` protocol definitions from `k8s.io/kubelet/pkg/apis/pluginregistration` in favor of `google.golang.org/protobuf`. ([kubernetes/kubernetes#132773](https://github.com/kubernetes/kubernetes/pull/132773), [@saschagrunert](https://github.com/saschagrunert)) +- Removed deprecated gogo protocol definitions from `k8s.io/cri-api` in favor of `google.golang.org/protobuf`. ([kubernetes/kubernetes#128653](https://github.com/kubernetes/kubernetes/pull/128653), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Auth, Instrumentation, Node and Testing] +- Replaced Boolean-pointer-helper functions with the `k8s.io/utils/ptr` implementations. ([kubernetes/kubernetes#132794](https://github.com/kubernetes/kubernetes/pull/132794), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery, Auth, CLI, Node and Testing] +- Replaced `boolPtrFn` helper functions with the "k8s.io/utils/ptr" implementation. ([kubernetes/kubernetes#132907](https://github.com/kubernetes/kubernetes/pull/132907), [@PatrickLaabs](https://github.com/PatrickLaabs)) +- Replaced deprecated package `k8s.io/utils/pointer` with `k8s.io/utils/ptr` for the apiextensions-apiserver apiextensions. ([kubernetes/kubernetes#132723](https://github.com/kubernetes/kubernetes/pull/132723), [@PatrickLaabs](https://github.com/PatrickLaabs)) +- Replaced deprecated package `k8s.io/utils/pointer` with `k8s.io/utils/ptr` for the apiserver (1/2). ([kubernetes/kubernetes#132751](https://github.com/kubernetes/kubernetes/pull/132751), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery and Auth] +- Replaced deprecated package `k8s.io/utils/pointer` with `k8s.io/utils/ptr` for the component-base. ([kubernetes/kubernetes#132754](https://github.com/kubernetes/kubernetes/pull/132754), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery, Architecture, Instrumentation and Scheduling] +- Replaced deprecated package `k8s.io/utils/pointer` with `k8s.io/utils/ptr` for the kube-aggregator apiregistration. ([kubernetes/kubernetes#132701](https://github.com/kubernetes/kubernetes/pull/132701), [@PatrickLaabs](https://github.com/PatrickLaabs)) +- Simplied validation error message for invalid fields by removing redundant field name. ([kubernetes/kubernetes#132513](https://github.com/kubernetes/kubernetes/pull/132513), [@xiaoweim](https://github.com/xiaoweim)) [SIG API Machinery, Apps, Auth, Node and Scheduling] +- Simplied validation error message for required fields by removing redundant messages. ([kubernetes/kubernetes#132472](https://github.com/kubernetes/kubernetes/pull/132472), [@xiaoweim](https://github.com/xiaoweim)) [SIG API Machinery, Apps, Architecture, Auth, Cloud Provider, Network, Node and Storage] +- The `KubeletServiceAccountTokenForCredentialProviders` feature was beta and enabled by default. ([kubernetes/kubernetes#133017](https://github.com/kubernetes/kubernetes/pull/133017), [@aramase](https://github.com/aramase)) [SIG Auth and Node] +- The `conditionType` is "oneof" approved/denied check of CertificateSigningRequest's `.status.conditions` field was migrated to declarative validation. + If the `DeclarativeValidation` feature gate was enabled, mismatches with existing validation are reported via metrics. + If the `DeclarativeValidationTakeover` feature gate was enabled, declarative validation was the primary source of errors for migrated fields. ([kubernetes/kubernetes#133013](https://github.com/kubernetes/kubernetes/pull/133013), [@aaron-prindle](https://github.com/aaron-prindle)) [SIG API Machinery and Auth] +- The fallback behavior of the Downward API's `resourceFieldRef` field was updated to account for pod-level resources: if container-level limits were not set, pod-level limits were now used before falling back to node allocatable resources. ([kubernetes/kubernetes#132605](https://github.com/kubernetes/kubernetes/pull/132605), [@toVersus](https://github.com/toVersus)) [SIG Node, Scheduling and Testing] +- The validation of `replicas` field in the ReplicationController `/scale` subresource has been migrated to declarative validation. + 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. ([kubernetes/kubernetes#131664](https://github.com/kubernetes/kubernetes/pull/131664), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery and Apps] +- The validation-gen code generator generated validation code that supported validation ratcheting. ([kubernetes/kubernetes#132236](https://github.com/kubernetes/kubernetes/pull/132236), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Apps, Auth and Node] +- Updated `IsDNS1123SubdomainWithUnderscore` so that, when it returned an error, it also returned the correct regex information (`dns1123SubdomainFmtWithUnderscore`). ([kubernetes/kubernetes#132034](https://github.com/kubernetes/kubernetes/pull/132034), [@ChosenFoam](https://github.com/ChosenFoam)) +- Updated etcd version to v3.6.0. ([kubernetes/kubernetes#131501](https://github.com/kubernetes/kubernetes/pull/131501), [@joshjms](https://github.com/joshjms)) [SIG API Machinery, Cloud Provider, Cluster Lifecycle, Etcd and Testing] +- Updated the `v1` credential provider configuration to include the `tokenAttributes.cacheType` field. This field is required and must be set to either `ServiceAccount` or `Token` when configuring a provider that uses a service account to fetch registry credentials. ([kubernetes/kubernetes#132617](https://github.com/kubernetes/kubernetes/pull/132617), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- Zero-value `metadata.creationTimestamp` values are now omitted and no longer serialize an explicit `null` in JSON, YAML, and CBOR output ([kubernetes/kubernetes#130989](https://github.com/kubernetes/kubernetes/pull/130989), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- `AppArmor` profiles specified in the Pod or container `SecurityContext` were no longer copied to deprecated `AppArmor` annotations (prefix `container.apparmor.security.beta.kubernetes.io/`). Anything that inspected the deprecated annotations must be migrated to use the `SecurityContext` fields instead. ([kubernetes/kubernetes#131989](https://github.com/kubernetes/kubernetes/pull/131989), [@tallclair](https://github.com/tallclair)) +- `MultiCIDRServiceAllocator` was locked and enabled by default, `DisableAllocatorDualWrite` was enabled by default. ([kubernetes/kubernetes#131318](https://github.com/kubernetes/kubernetes/pull/131318), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, Architecture, Auth, Etcd, Network and Testing] +- Add a new `FileKeyRef` field to containers, allowing them to load variables from files by setting this field. + + Introduce the EnvFiles feature gate to govern activation of this functionality. ([kubernetes/kubernetes#132626](https://github.com/kubernetes/kubernetes/pull/132626), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Apps, Node and Testing] +- Add driver-owned fields in ResourceSlice to mark whether the device is shareable among multiple resource claims (or requests) and to specify how each capacity can be shared between different requests. + - Add user-owned fields in ResourceClaim to specify resource requirements against each device capacity. + - Add scheduler-owned field in ResourceClaim.Status to specify how much device capacity is reserved for a specific request. + - Add an additional identifier to ResourceClaim.Status for the device supports multiple allocations. + - Add a new constraint type to enforce uniqueness of specified attributes across all allocated devices. ([kubernetes/kubernetes#132522](https://github.com/kubernetes/kubernetes/pull/132522), [@sunya-ch](https://github.com/sunya-ch)) [SIG API Machinery, Apps, Architecture, CLI, Cluster Lifecycle, Network, Node, Release, Scheduling and Testing] +- Add new optional APIs in ResouceSlice.Basic and ResourceClaim.Status.AllocatedDeviceStatus. ([kubernetes/kubernetes#130160](https://github.com/kubernetes/kubernetes/pull/130160), [@KobayashiD27](https://github.com/KobayashiD27)) [SIG API Machinery, Apps, Architecture, Node, Release, Scheduling and Testing] +- Added a mechanism for configurable container restarts: _container level restart rules_. This is an alpha feature behind the `ContainerRestartRules` feature gate. ([kubernetes/kubernetes#132642](https://github.com/kubernetes/kubernetes/pull/132642), [@yuanwang04](https://github.com/yuanwang04)) [SIG API Machinery, Apps, Node and Testing] +- Added detailed event for in-place pod vertical scaling completed, improving cluster management and debugging ([kubernetes/kubernetes#130387](https://github.com/kubernetes/kubernetes/pull/130387), [@shiya0705](https://github.com/shiya0705)) [SIG API Machinery, Apps, Autoscaling, Node, Scheduling and Testing] +- Added validation to reject Pods using the `PodLevelResources` feature on Windows OS due to lack of support. The API server rejects Pods with Pod-level resources and a `Pod.spec.os.name` targeting Windows. Kubelet on nodes running Windows also rejects Pods with Pod-level resources at admission phase. ([kubernetes/kubernetes#133046](https://github.com/kubernetes/kubernetes/pull/133046), [@toVersus](https://github.com/toVersus)) [SIG Apps and Node] +- Adds warnings when creating headless service with set loadBalancerIP,externalIPs and/or SessionAffinity ([kubernetes/kubernetes#132214](https://github.com/kubernetes/kubernetes/pull/132214), [@Peac36](https://github.com/Peac36)) [SIG Network] +- Allow pvc.spec.VolumeAttributesClassName to go from non-nil to nil ([kubernetes/kubernetes#132106](https://github.com/kubernetes/kubernetes/pull/132106), [@AndrewSirenko](https://github.com/AndrewSirenko)) [SIG Apps] +- Allows setting the `hostnameOverride` field in `PodSpec` to specify any RFC 1123 DNS subdomain as the pod's hostname. The `HostnameOverride` feature gate has been introduced to control enablement of this functionality. ([kubernetes/kubernetes#132558](https://github.com/kubernetes/kubernetes/pull/132558), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Apps, Network, Node and Testing] +- AppArmor profiles specified in the pod or container SecurityContext are no longer copied to deprecated AppArmor annotations (prefix `container.apparmor.security.beta.kubernetes.io/`). Anything that inspects the deprecated annotations must be migrated to use the SecurityContext fields instead. ([kubernetes/kubernetes#131989](https://github.com/kubernetes/kubernetes/pull/131989), [@tallclair](https://github.com/tallclair)) [SIG Node] +- Changes underlying logic to propagate Pod level hugepage cgroup to containers when they do not specify hugepage resources. + - Adds validation to enforce the hugepage aggregated container limits to be smaller or equal to pod-level limits. This was already enforced with the defaulted requests from the specified limits, however it did not make it clear about both hugepage requests and limits. ([kubernetes/kubernetes#131089](https://github.com/kubernetes/kubernetes/pull/131089), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Apps, Node and Testing] +- DRA: the scheduler plugin now prevents abnormal filter runtimes by timing out after 10 seconds. This is configurable via the plugin configuration's `FilterTimeout`. Setting it to zero disables the timeout and restores the behavior of Kubernetes <= 1.33. ([kubernetes/kubernetes#132033](https://github.com/kubernetes/kubernetes/pull/132033), [@pohly](https://github.com/pohly)) [SIG Node, Scheduling and Testing] +- DRA: when the prioritized list feature is used in a request and the resulting number of allocated devices exceeds the number of allowed devices per claim, the scheduler aborts the attempt to allocate devices early. Previously it tried to many different combinations, which can take a long time. ([kubernetes/kubernetes#130593](https://github.com/kubernetes/kubernetes/pull/130593), [@mortent](https://github.com/mortent)) [SIG Apps, Node, Scheduling and Testing] +- Dynamic Resource Allocation: graduated core functionality to general availability (GA). This newly stable feature uses the _structured parameters_ flavor of DRA. ([kubernetes/kubernetes#132706](https://github.com/kubernetes/kubernetes/pull/132706), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Autoscaling, Etcd, Node, Scheduling and Testing] +- Enable kube-apiserver support for PodCertificateRequest and PodCertificate projected volumes (behind the PodCertificateRequest feature gate). ([kubernetes/kubernetes#128010](https://github.com/kubernetes/kubernetes/pull/128010), [@ahmedtd](https://github.com/ahmedtd)) [SIG API Machinery, Apps, Auth, Cloud Provider, Etcd, Node, Storage and Testing] +- Extended resources backed by DRA feature allows cluster operator to specify extendedResourceName in DeviceClass, and application operator to continue using extended resources in pod's requests to request for DRA devices matching the DeviceClass. + + NodeResourcesFit plugin scoring won't work for extended resources backed by DRA ([kubernetes/kubernetes#130653](https://github.com/kubernetes/kubernetes/pull/130653), [@yliaog](https://github.com/yliaog)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- Fix prerelease lifecycle for PodCertificateRequest ([kubernetes/kubernetes#133350](https://github.com/kubernetes/kubernetes/pull/133350), [@carlory](https://github.com/carlory)) [SIG Auth] +- Fixes a 1.33 regression that can cause a nil panic in kube-scheduler when aggregating resource requests across container's spec and status. ([kubernetes/kubernetes#132895](https://github.com/kubernetes/kubernetes/pull/132895), [@yue9944882](https://github.com/yue9944882)) [SIG Node and Scheduling] +- Introduced the admissionregistration.k8s.io/v1beta1/MutatingAdmissionPolicy API type. + To enable, enable the `MutatingAdmissionPolicy` feature gate (which is off by default) and set `--runtime-config=admissionregistration.k8s.io/v1beta1=true` on the kube-apiserver. + Note that the default stored version remains alpha in 1.34 and whoever enabled beta during 1.34 needs to run a storage migration yourself to ensure you don't depend on alpha data in etcd. ([kubernetes/kubernetes#132821](https://github.com/kubernetes/kubernetes/pull/132821), [@cici37](https://github.com/cici37)) [SIG API Machinery, Etcd and Testing] +- No, changes underlying logic for Eviction Manager helper functions ([kubernetes/kubernetes#132277](https://github.com/kubernetes/kubernetes/pull/132277), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Node, Scheduling and Testing] +- Promote MutableCSINodeAllocatableCount to Beta. ([kubernetes/kubernetes#132429](https://github.com/kubernetes/kubernetes/pull/132429), [@torredil](https://github.com/torredil)) [SIG Storage] +- Promoted feature-gate `VolumeAttributesClass` to GA + - Promoted API `VolumeAttributesClass` and `VolumeAttributesClassList` to `storage.k8s.io/v1`. ([kubernetes/kubernetes#131549](https://github.com/kubernetes/kubernetes/pull/131549), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Storage and Testing] +- Promoted the `APIServerTracing` feature gate to GA. The `--tracing-config-file` flag now accepts `TracingConfiguration` in version `apiserver.config.k8s.io/v1` (with no changes from `apiserver.config.k8s.io/v1beta1`). ([kubernetes/kubernetes#132340](https://github.com/kubernetes/kubernetes/pull/132340), [@dashpole](https://github.com/dashpole)) [SIG API Machinery and Testing] +- Removed deprecated gogo protocol definitions from `k8s.io/kubelet/pkg/apis/pluginregistration` in favor of `google.golang.org/protobuf`. ([kubernetes/kubernetes#132773](https://github.com/kubernetes/kubernetes/pull/132773), [@saschagrunert](https://github.com/saschagrunert)) [SIG Node] +- The Kubelet can now monitor the health of devices allocated via Dynamic Resource Allocation (DRA) and report it in the `pod.status.containerStatuses.allocatedResourcesStatus` field. This requires the DRA plugin to implement the new v1alpha1 `NodeHealth` gRPC service. This feature is controlled by the `ResourceHealthStatus` feature gate. ([kubernetes/kubernetes#130606](https://github.com/kubernetes/kubernetes/pull/130606), [@Jpsassine](https://github.com/Jpsassine)) [SIG Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Network, Node, Release, Scheduling, Storage and Testing] +- The KubeletServiceAccountTokenForCredentialProviders feature is now beta and enabled by default. ([kubernetes/kubernetes#133017](https://github.com/kubernetes/kubernetes/pull/133017), [@aramase](https://github.com/aramase)) [SIG Auth and Node] +- The conditionType is "oneof" approved/denied check of CertificateSigningRequest's `.status.conditions` field has been migrated to declarative validation. + 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. ([kubernetes/kubernetes#133013](https://github.com/kubernetes/kubernetes/pull/133013), [@aaron-prindle](https://github.com/aaron-prindle)) [SIG API Machinery and Auth] +- The fallback behavior of the Downward API's `resourceFieldRef` field has been updated to account for pod-level resources: if container-level limits are not set, pod-level limits are now used before falling back to node allocatable resources. ([kubernetes/kubernetes#132605](https://github.com/kubernetes/kubernetes/pull/132605), [@toVersus](https://github.com/toVersus)) [SIG Node, Scheduling and Testing] +- The kubelet's image pull credential tracking now supports service account-based verification. When an image is pulled using service account credentials via external credential providers, subsequent pods using the same service account (UID, name, and namespace) can access the cached image without re-authentication for the lifetime of that service account. ([kubernetes/kubernetes#132771](https://github.com/kubernetes/kubernetes/pull/132771), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- Added `tokenAttributes.cacheType` field to v1 credential provider config. This field is required to be set to either ServiceAccount or Token when configuring a provider that uses service account to fetch registry credentials. ([kubernetes/kubernetes#132617](https://github.com/kubernetes/kubernetes/pull/132617), [@aramase](https://github.com/aramase)) [SIG Auth, Node and Testing] +- JWT authenticators specified via the `AuthenticationConfiguration.jwt` array can now optionally specify either the `controlplane` or `cluster` egress selector by setting the `issuer.egressSelectorType` field. When unset, the prior behavior of using no egress selector is retained. The StructuredAuthenticationConfigurationEgressSelector beta feature (default on) must be enabled to use this functionality. ([kubernetes/kubernetes#132768](https://github.com/kubernetes/kubernetes/pull/132768), [@enj](https://github.com/enj)) [SIG API Machinery, Auth and Testing] +- Promoted the `KubeletTracing` feature gate to GA. ([kubernetes/kubernetes#132341](https://github.com/kubernetes/kubernetes/pull/132341), [@dashpole](https://github.com/dashpole)) [SIG Instrumentation and Node] +- Replaces boolPtrFn helper functions with the "k8s.io/utils/ptr" implementation. ([kubernetes/kubernetes#132907](https://github.com/kubernetes/kubernetes/pull/132907), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG Architecture] +- Simplied validation error message for invalid fields by removing redundant field name. ([kubernetes/kubernetes#132513](https://github.com/kubernetes/kubernetes/pull/132513), [@xiaoweim](https://github.com/xiaoweim)) [SIG API Machinery, Apps, Auth, Node and Scheduling] +- The `AuthorizeWithSelectors` and `AuthorizeNodeWithSelectors` feature gates are promoted to stable and locked on. ([kubernetes/kubernetes#132656](https://github.com/kubernetes/kubernetes/pull/132656), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth and Testing] +- DRA: the v1alpha4 kubelet gRPC API (added in 1.31, superseded in 1.32) is no longer supported. DRA drivers using the helper package from Kubernetes >= 1.32 use the v1beta1 API and continue to be supported. ([kubernetes/kubernetes#132574](https://github.com/kubernetes/kubernetes/pull/132574), [@pohly](https://github.com/pohly)) [SIG Node] +- Deprecate StreamingConnectionIdleTimeout field of the kubelet config. ([kubernetes/kubernetes#131992](https://github.com/kubernetes/kubernetes/pull/131992), [@lalitc375](https://github.com/lalitc375)) [SIG Node] +- Removed deprecated gogo protocol definitions from `k8s.io/cri-api` in favor of `google.golang.org/protobuf`. ([kubernetes/kubernetes#128653](https://github.com/kubernetes/kubernetes/pull/128653), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Auth, Instrumentation, Node and Testing] +- Replaced deprecated package 'k8s.io/utils/pointer' with 'k8s.io/utils/ptr' for the apiextensions-apiserver apiextensions. ([kubernetes/kubernetes#132723](https://github.com/kubernetes/kubernetes/pull/132723), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery] +- Replaced deprecated package 'k8s.io/utils/pointer' with 'k8s.io/utils/ptr' for the component-base. ([kubernetes/kubernetes#132754](https://github.com/kubernetes/kubernetes/pull/132754), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery, Architecture, Instrumentation and Scheduling] +- Replaced deprecated package 'k8s.io/utils/pointer' with 'k8s.io/utils/ptr' for the kube-aggregator apiregistration. ([kubernetes/kubernetes#132701](https://github.com/kubernetes/kubernetes/pull/132701), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery] +- Replaces Boolean-pointer-helper functions with the "k8s.io/utils/ptr" implementations. ([kubernetes/kubernetes#132794](https://github.com/kubernetes/kubernetes/pull/132794), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery, Auth, CLI, Node and Testing] +- Replaces deprecated package 'k8s.io/utils/pointer' with 'k8s.io/utils/ptr' for the apiserver (1/2). ([kubernetes/kubernetes#132751](https://github.com/kubernetes/kubernetes/pull/132751), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG API Machinery and Auth] +- Simplied validation error message for required fields by removing redundant messages. ([kubernetes/kubernetes#132472](https://github.com/kubernetes/kubernetes/pull/132472), [@xiaoweim](https://github.com/xiaoweim)) [SIG API Machinery, Apps, Architecture, Auth, Cloud Provider, Network, Node and Storage] +- Add a `runtime.ApplyConfiguration` interface that is implemented by all generated applyconfigs ([kubernetes/kubernetes#132194](https://github.com/kubernetes/kubernetes/pull/132194), [@alvaroaleman](https://github.com/alvaroaleman)) [SIG API Machinery and Instrumentation] +- Added omitempty and opt tag to the API v1beta2 AdminAccess type in the DeviceRequestAllocationResult struct. ([kubernetes/kubernetes#132338](https://github.com/kubernetes/kubernetes/pull/132338), [@PatrickLaabs](https://github.com/PatrickLaabs)) [SIG Auth] +- Introduces OpenAPI format support for `k8s-short-name` and `k8s-long-name`. ([kubernetes/kubernetes#132504](https://github.com/kubernetes/kubernetes/pull/132504), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling and Storage] +- Promoted Job Pod Replacement Policy to general availability. The `JobPodReplacementPolicy` feature gate is now locked to true, and will be removed in a future release of Kubernetes. ([kubernetes/kubernetes#132173](https://github.com/kubernetes/kubernetes/pull/132173), [@dejanzele](https://github.com/dejanzele)) [SIG Apps and Testing] +- This PR corrects that documentation, making it clear to users that podSelector is optional and describes its default behavior. ([kubernetes/kubernetes#131354](https://github.com/kubernetes/kubernetes/pull/131354), [@tomoish](https://github.com/tomoish)) [SIG Network] +- #### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: + + ([kubernetes/kubernetes#131996](https://github.com/kubernetes/kubernetes/pull/131996), [@ritazh](https://github.com/ritazh)) [SIG Node and Testing] +- DRA API: resource.k8s.io/v1alpha3 now only contains DeviceTaintRule. All other types got removed because they became obsolete when introducing the v1beta1 API in 1.32. + before updating a cluster where resourceclaims, resourceclaimtemplates, deviceclasses, or resourceslices might have been stored using Kubernetes < 1.32, delete all of those resources before updating and recreate them as needed while running Kubernetes >= 1.32. ([kubernetes/kubernetes#132000](https://github.com/kubernetes/kubernetes/pull/132000), [@pohly](https://github.com/pohly)) [SIG Etcd, Node, Scheduling and Testing] +- Extends the nodeports scheduling plugin to consider hostPorts used by restartable init containers. ([kubernetes/kubernetes#132040](https://github.com/kubernetes/kubernetes/pull/132040), [@avrittrohwer](https://github.com/avrittrohwer)) [SIG Scheduling and Testing] +- Kube-apiserver: Caching of authorization webhook decisions for authorized and unauthorized requests can now be disabled in the `--authorization-config` file by setting the new fields `cacheAuthorizedRequests` or `cacheUnauthorizedRequests` to `false` explicitly. See https://kubernetes.io/docs/reference/access-authn-authz/authorization/#using-configuration-file-for-authorization for more details. ([kubernetes/kubernetes#129237](https://github.com/kubernetes/kubernetes/pull/129237), [@rfranzke](https://github.com/rfranzke)) [SIG API Machinery and Auth] +- Kube-apiserver: Promoted the `StructuredAuthenticationConfiguration` feature gate to GA. ([kubernetes/kubernetes#131916](https://github.com/kubernetes/kubernetes/pull/131916), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth and Testing] +- Kube-apiserver: the AuthenticationConfiguration type accepted in `--authentication-config` files has been promoted to `apiserver.config.k8s.io/v1`. ([kubernetes/kubernetes#131752](https://github.com/kubernetes/kubernetes/pull/131752), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth and Testing] +- Kube-log-runner: rotating log output into a new file when reaching a certain file size can be requested via the new `-log-file-size` parameter. `-log-file-age` enables automatical removal of old output files. Periodic flushing can be requested through ` -flush-interval`. ([kubernetes/kubernetes#127667](https://github.com/kubernetes/kubernetes/pull/127667), [@zylxjtu](https://github.com/zylxjtu)) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Release, Scheduling, Storage, Testing and Windows] +- Kubectl: graduated `kuberc` support to beta. A `kuberc` configuration file provides a mechanism for customizing kubectl behavior (separate from kubeconfig, which configured cluster access across different clients). ([kubernetes/kubernetes#131818](https://github.com/kubernetes/kubernetes/pull/131818), [@soltysh](https://github.com/soltysh)) [SIG CLI and Testing] +- Promote the RelaxedEnvironmentVariableValidation feature gate to GA and lock it in the default enabled state. ([kubernetes/kubernetes#132054](https://github.com/kubernetes/kubernetes/pull/132054), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG Apps, Architecture, Node and Testing] +- Remove inaccurate statement about requiring ports from pod spec hostNetwork field ([kubernetes/kubernetes#130994](https://github.com/kubernetes/kubernetes/pull/130994), [@BenTheElder](https://github.com/BenTheElder)) [SIG Network and Node] +- TBD ([kubernetes/kubernetes#131318](https://github.com/kubernetes/kubernetes/pull/131318), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, Architecture, Auth, Etcd, Network and Testing] +- The validation of `replicas` field in the ReplicationController `/scale` subresource has been migrated to declarative validation. + 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. ([kubernetes/kubernetes#131664](https://github.com/kubernetes/kubernetes/pull/131664), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery and Apps] +- The validation-gen code generator generates validation code that supports validation ratcheting. ([kubernetes/kubernetes#132236](https://github.com/kubernetes/kubernetes/pull/132236), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery, Apps, Auth and Node] +- Update etcd version to v3.6.0 ([kubernetes/kubernetes#131501](https://github.com/kubernetes/kubernetes/pull/131501), [@joshjms](https://github.com/joshjms)) [SIG API Machinery, Cloud Provider, Cluster Lifecycle, Etcd and Testing] +- When the IsDNS1123SubdomainWithUnderscore function returns an error, it will return the correct regex information dns1123SubdomainFmtWithUnderscore. ([kubernetes/kubernetes#132034](https://github.com/kubernetes/kubernetes/pull/132034), [@ChosenFoam](https://github.com/ChosenFoam)) [SIG Network] +- Zero-value `metadata.creationTimestamp` values are now omitted and no longer serialize an explicit `null` in JSON, YAML, and CBOR output ([kubernetes/kubernetes#130989](https://github.com/kubernetes/kubernetes/pull/130989), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Etcd, Instrumentation, Network, Node, Scheduling, Storage and Testing] + +# v33.0.0+snapshot + +Kubernetes API Version: v1.33.1 + +### 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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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`). ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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". ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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` ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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` ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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`. ([kubernetes/kubernetes#125230](https://github.com/kubernetes/kubernetes/pull/125230), [@ardaguclu](https://github.com/ardaguclu)) [SIG API Machinery, CLI and Testing] +- kubelet: added `KubeletConfiguration.subidsPerPod`. ([kubernetes/kubernetes#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). ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#130920](https://github.com/kubernetes/kubernetes/pull/130920), [@kerthcet](https://github.com/kerthcet)) [SIG Apps, Node, Scheduling and Testing] +- Promoted the `JobSuccessPolicy` to Stable. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#129770](https://github.com/kubernetes/kubernetes/pull/129770), [@sunnylovestiramisu](https://github.com/sunnylovestiramisu)) [SIG Apps, Storage and Testing] +- Removed general available feature gate `CPUManager`. ([kubernetes/kubernetes#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`. ([kubernetes/kubernetes#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`. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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`. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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.) ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#129257](https://github.com/kubernetes/kubernetes/pull/129257), [@liggitt](https://github.com/liggitt)) [SIG API Machinery] +- 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. ([kubernetes/kubernetes#130007](https://github.com/kubernetes/kubernetes/pull/130007), [@torredil](https://github.com/torredil)) [SIG Apps, Node, Scheduling and Storage] +- Add feature gate `DRAPartitionableDevices`, when enabled, Dynamic Resource Allocation support partitionable devices allocation. ([kubernetes/kubernetes#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 a /flagz endpoint for kubelet endpoint ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#130556](https://github.com/kubernetes/kubernetes/pull/130556), [@sreeram-venkitesh](https://github.com/sreeram-venkitesh)) [SIG API Machinery, Apps, Node and Testing] +- CPUManager Policy Options support is GA ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#130577](https://github.com/kubernetes/kubernetes/pull/130577), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Apps, CLI, Node, Scheduling, Storage and Testing] +- 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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#130225](https://github.com/kubernetes/kubernetes/pull/130225), [@ritazh](https://github.com/ritazh)) [SIG API Machinery, Apps, Auth, Node and Testing] +- 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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#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` ([kubernetes/kubernetes#130135](https://github.com/kubernetes/kubernetes/pull/130135), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Apps, Node and Testing] +- 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. ([kubernetes/kubernetes#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] +- Introduced API type coordination.k8s.io/v1beta1/LeaseCandidate + CoordinatedLeaderElection feature is Beta ([kubernetes/kubernetes#130751](https://github.com/kubernetes/kubernetes/pull/130751), [@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. ([kubernetes/kubernetes#124360](https://github.com/kubernetes/kubernetes/pull/124360), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps and Testing] +- Kubelet: add KubeletConfiguration.subidsPerPod ([kubernetes/kubernetes#130028](https://github.com/kubernetes/kubernetes/pull/130028), [@AkihiroSuda](https://github.com/AkihiroSuda)) [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 lead 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 lead to a previous successful pull of the image it is requesting. ([kubernetes/kubernetes#128152](https://github.com/kubernetes/kubernetes/pull/128152), [@stlaz](https://github.com/stlaz)) [SIG API Machinery, Architecture, Auth, Node and Testing] +- Promote JobSuccessPolicy E2E to Conformance ([kubernetes/kubernetes#130658](https://github.com/kubernetes/kubernetes/pull/130658), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps, Architecture and Testing] +- Promote NodeInclusionPolicyInPodTopologySpread to Stable in v1.33 ([kubernetes/kubernetes#130920](https://github.com/kubernetes/kubernetes/pull/130920), [@kerthcet](https://github.com/kerthcet)) [SIG Apps, Node, Scheduling and Testing] +- Promote the JobSuccessPolicy to Stable. ([kubernetes/kubernetes#130536](https://github.com/kubernetes/kubernetes/pull/130536), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps, Architecture and Testing] +- Removed general available feature gate `CPUManager`. ([kubernetes/kubernetes#129296](https://github.com/kubernetes/kubernetes/pull/129296), [@carlory](https://github.com/carlory)) [SIG API Machinery, Node and Testing] +- Start reporting swap capacity as part of node.status.nodeSystemInfo. ([kubernetes/kubernetes#129954](https://github.com/kubernetes/kubernetes/pull/129954), [@iholder101](https://github.com/iholder101)) [SIG API Machinery, Apps and Node] +- 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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#130233](https://github.com/kubernetes/kubernetes/pull/130233), [@soltysh](https://github.com/soltysh)) [SIG API Machinery, Apps and Testing] +- When the `ImprovedTrafficDistribution` 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`. ([kubernetes/kubernetes#130844](https://github.com/kubernetes/kubernetes/pull/130844), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network 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 build-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.) ([kubernetes/kubernetes#122550](https://github.com/kubernetes/kubernetes/pull/122550), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network, Node, Scheduling and Testing] +- `apidiscovery.k8s.io/v2beta1` API group is disabled by default ([kubernetes/kubernetes#130347](https://github.com/kubernetes/kubernetes/pull/130347), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery and Testing] +- DRA support for a "one-of" prioritized list of selection criteria to satisfy a device request in a resource claim. ([kubernetes/kubernetes#128586](https://github.com/kubernetes/kubernetes/pull/128586), [@mortent](https://github.com/mortent)) [SIG API Machinery, Apps, Etcd, Node, Scheduling and Testing] +- For the InPlacePodVerticalScaling feature, the API server will no longer set the resize status to `Proposed` upon receiving a resize request. ([kubernetes/kubernetes#130574](https://github.com/kubernetes/kubernetes/pull/130574), [@natasha41575](https://github.com/natasha41575)) [SIG Apps, Node and Testing] +- The apiserver will now return warnings if you create objects with "invalid" IP or + CIDR values (like "192.168.000.005", which should not have the extra zeros). + Values with non-standard formats can introduce security problems, and will + likely be forbidden in a future Kubernetes release. ([kubernetes/kubernetes#128786](https://github.com/kubernetes/kubernetes/pull/128786), [@danwinship](https://github.com/danwinship)) [SIG Apps, Network and Node] +- When the `PodObservedGenerationTracking` feature gate is set, the kubelet will populate `status.observedGeneration` to reflect the pod's latest `metadata.generation` that it has observed. ([kubernetes/kubernetes#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] +- InPlacePodVerticalScaling: Memory limits cannot be decreased unless the memory resize restart policy is set to `RestartContainer`. Container resizePolicy is no longer mutable. ([kubernetes/kubernetes#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 ([kubernetes/kubernetes#130291](https://github.com/kubernetes/kubernetes/pull/130291), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery, Etcd and Testing] +- KEP-3857: Recursive Read-only (RRO) mounts: promote to GA ([kubernetes/kubernetes#130116](https://github.com/kubernetes/kubernetes/pull/130116), [@AkihiroSuda](https://github.com/AkihiroSuda)) [SIG Apps, Node 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. ([kubernetes/kubernetes#127577](https://github.com/kubernetes/kubernetes/pull/127577), [@vaibhav2107](https://github.com/vaibhav2107)) [SIG API Machinery and Node] +- Promote the Job's JobBackoffLimitPerIndex feature-gate to stable. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#129770](https://github.com/kubernetes/kubernetes/pull/129770), [@sunnylovestiramisu](https://github.com/sunnylovestiramisu)) [SIG Apps, Storage and Testing] +- Added support for in-place vertical scaling of Pods with sidecars (containers defined within `initContainers` where the `restartPolicy` is Always). ([kubernetes/kubernetes#128367](https://github.com/kubernetes/kubernetes/pull/128367), [@vivzbansal](https://github.com/vivzbansal)) [SIG API Machinery, Apps, CLI, Node, Scheduling and Testing] +- Kubectl: added alpha support for customizing kubectl behavior using preferences from a `kuberc` file (separate from kubeconfig). ([kubernetes/kubernetes#125230](https://github.com/kubernetes/kubernetes/pull/125230), [@ardaguclu](https://github.com/ardaguclu)) [SIG API Machinery, CLI and Testing] +- A new status field `.status.terminatingReplicas` is added to Deployments and ReplicaSets to allow tracking of terminating pods when the DeploymentReplicaSetTerminatingReplicas feature-gate is enabled. ([kubernetes/kubernetes#128546](https://github.com/kubernetes/kubernetes/pull/128546), [@atiratree](https://github.com/atiratree)) [SIG API Machinery, Apps and Testing] +- DRA API: the maximum number of pods which can use the same ResourceClaim is now 256 instead of 32. Beware that downgrading a cluster where this relaxed limit is in use to Kubernetes 1.32.0 is not supported because 1.32.0 would refuse to update ResourceClaims with more than 32 entries in the status.reservedFor field. ([kubernetes/kubernetes#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. ([kubernetes/kubernetes#129661](https://github.com/kubernetes/kubernetes/pull/129661), [@pohly](https://github.com/pohly)) [SIG Node] +- 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". ([kubernetes/kubernetes#129560](https://github.com/kubernetes/kubernetes/pull/129560), [@bart0sh](https://github.com/bart0sh)) [SIG API Machinery and Node] +- Graduate MultiCIDRServiceAllocator to stable and DisableAllocatorDualWrite to beta (disabled by default). + Action required for Kubernetes distributions that manage the cluster Service CIDR. + This feature allows users to define the cluster Service CIDR via a new API object: ServiceCIDR. + Distributions or administrators of Kubernetes may want to control that new Service CIDRs added to the cluster does not overlap with other networks on the cluster, that only belong to a specific range of IPs or just simple retain the existing behavior of only having one ServiceCIDR per cluster. An example of a Validation Admission Policy to achieve this is: + + --- + apiVersion: admissionregistration.k8s.io/v1 + kind: ValidatingAdmissionPolicy + metadata: + name: "servicecidrs.default" + spec: + failurePolicy: Fail + matchConstraints: + resourceRules: + - apiGroups: ["networking.k8s.io"] + apiVersions: ["v1","v1beta1"] + operations: ["CREATE", "UPDATE"] + resources: ["servicecidrs"] + matchConditions: + - name: 'exclude-default-servicecidr' + expression: "object.metadata.name != 'kubernetes'" + variables: + - name: allowed + expression: "['10.96.0.0/16','2001:db8::/64']" + validations: + - expression: "object.spec.cidrs.all(i , variables.allowed.exists(j , cidr(j).containsCIDR(i)))" + --- + apiVersion: admissionregistration.k8s.io/v1 + kind: ValidatingAdmissionPolicyBinding + metadata: + name: "servicecidrs-binding" + spec: + policyName: "servicecidrs.default" + validationActions: [Deny,Audit] + --- ([kubernetes/kubernetes#128971](https://github.com/kubernetes/kubernetes/pull/128971), [@aojea](https://github.com/aojea)) [SIG Apps, Architecture, Auth, CLI, Etcd, Network, Release and Testing] +- Kubernetes starts validating NodeSelectorRequirement's values when creating pods. ([kubernetes/kubernetes#128212](https://github.com/kubernetes/kubernetes/pull/128212), [@AxeZhan](https://github.com/AxeZhan)) [SIG Apps and Scheduling] +- Kubernetes components that accept x509 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 must contain a string value, and appear no more than once in the certificate subject. Reading the user UID from this RDN can be disabled by setting the beta feature gate `AllowParsingUserUIDFromCertAuth` to false (until the feature gate graduates to GA). ([kubernetes/kubernetes#127897](https://github.com/kubernetes/kubernetes/pull/127897), [@modulitos](https://github.com/modulitos)) [SIG API Machinery, Auth and Testing] +- Removed general available feature-gate `PDBUnhealthyPodEvictionPolicy`. ([kubernetes/kubernetes#129500](https://github.com/kubernetes/kubernetes/pull/129500), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps and Auth] +- `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 ([kubernetes/kubernetes#129257](https://github.com/kubernetes/kubernetes/pull/129257), [@liggitt](https://github.com/liggitt)) [SIG API Machinery] + + # v32.0.1 Kubernetes API Version: v1.32.2 diff --git a/README.md b/README.md index 18b916eb77..db330e02b9 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,9 @@ supported versions of Kubernetes clusters. - [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) - [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) - [client 32.y.z](https://pypi.org/project/kubernetes/32.0.1/): Kubernetes 1.31 or below (+-), Kubernetes 1.32 (✓), Kubernetes 1.33 or above (+-) +- [client 33.y.z](https://pypi.org/project/kubernetes/33.1.0/): Kubernetes 1.32 or below (+-), Kubernetes 1.33 (✓), Kubernetes 1.34 or above (+-) +- [client 34.y.z](https://pypi.org/project/kubernetes/34.1.0/): Kubernetes 1.33 or below (+-), Kubernetes 1.34 (✓), Kubernetes 1.35 or above (+-) +- [client 35.y.z](https://pypi.org/project/kubernetes/35.0.0/): Kubernetes 1.34 or below (+-), Kubernetes 1.35 (✓), Kubernetes 1.36 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -166,11 +169,17 @@ between client-python versions. | 29.0 Alpha/Beta | Kubernetes main repo, 1.29 branch | ✗ | | 29.0 | Kubernetes main repo, 1.29 branch | ✗ | | 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch | ✗ | -| 30.0 | Kubernetes main repo, 1.30 branch | ✓ | +| 30.0 | Kubernetes main repo, 1.30 branch | ✗ | | 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✗ | -| 31.0 | Kubernetes main repo, 1.31 branch | ✓ | +| 31.0 | Kubernetes main repo, 1.31 branch | ✗ | | 32.0 Alpha/Beta | Kubernetes main repo, 1.32 branch | ✗ | -| 32.1 | Kubernetes main repo, 1.32 branch | ✓ | +| 32.1 | Kubernetes main repo, 1.32 branch | ✗ | +| 33.1 Alpha/Beta | Kubernetes main repo, 1.33 branch | ✗ | +| 33.1 | Kubernetes main repo, 1.33 branch | ✓ | +| 34.1 Alpha/Beta | Kubernetes main repo, 1.34 branch | ✗ | +| 34.1 | Kubernetes main repo, 1.34 branch | ✓ | +| 35.0 Alpha/Beta | Kubernetes main repo, 1.35 branch | ✗ | +| 35.0 | Kubernetes main repo, 1.35 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -189,7 +198,7 @@ Note: There would be no maintenance for alpha/beta releases except the latest on The client releases v12 and before following a versioning schema where the major version was 4 integer positions behind the Kubernetes minor on which the client is based on. For example, v12.0.0 is based on Kubernetes v1.16, v11.0.0 is based on Kubernetes v1.15 and so on. -This created a lot of confusion tracking two different version numbers for each client release. It was decided to homogenize the version scheme starting from the Kubernetes Python client based on Kubernetes v1.17. The versioning scheme of the client from this release would be vY.Z.P where Y and Z are the Kubernetes minor and patch release numbers from Kubernets v1.Y.Z and P is the client specific patch release numbers to accommodate changes and fixes done specifically to the client. For more details, refer [this issue](https://github.com/kubernetes-client/python/issues/1244). +This created a lot of confusion tracking two different version numbers for each client release. It was decided to homogenize the version scheme starting from the Kubernetes Python client based on Kubernetes v1.17. The versioning scheme of the client from this release would be vY.Z.P where Y and Z are the Kubernetes minor and patch release numbers from Kubernetes v1.Y.Z and P is the client specific patch release numbers to accommodate changes and fixes done specifically to the client. For more details, refer [this issue](https://github.com/kubernetes-client/python/issues/1244). ## Community, Support, Discussion @@ -236,4 +245,20 @@ recreate it between api calls that use _stream_ and other api calls. See more at [exec example](examples/pod_exec.py). +## Enabling Debug Logging + +To enable debug logging in the Kubernetes Python client, follow these steps: + +### 1. Import the `logging` module + +```python +import logging + +# Set the logging level to DEBUG +logging.basicConfig(level=logging.DEBUG) + +# To see the HTTP requests and responses sent to the Kubernetes API (for debugging network-related issues), configure the urllib3 logger: +logging.getLogger("urllib3").setLevel(logging.DEBUG) +``` + **[⬆ back to top](#Installation)** diff --git a/devel/debug_logging.md b/devel/debug_logging.md new file mode 100644 index 0000000000..966e3d38e4 --- /dev/null +++ b/devel/debug_logging.md @@ -0,0 +1,34 @@ +# Enabling Debug Logging in Kubernetes Python Client + +This document describes how to enable debug logging, view logged information, and provides examples for creating, patching, and deleting Kubernetes resources. + +## 1. Why Enable Debug Logging? + +Debug logging is useful for troubleshooting as it shows details like HTTP request and response headers and bodies. These details can help identify issues during interactions with the Kubernetes API server. + +--- + +## 2. Enabling Debug Logging + +To enable debug logging in the Kubernetes Python client, follow these steps: + +1. **Modify the Configuration Object:** + Enable debug mode by setting the `debug` attribute of the `client.Configuration` object to `True`. + +2. **Example Code to Enable Debug Logging:** + Below is an example showing how to enable debug logging: + ```python + from kubernetes import client, config + + # Load kube config + config.load_kube_config() + + # Enable debug logging + c = client.Configuration() + c.debug = True + + # Pass the updated configuration to the API client + api_client = client.ApiClient(configuration=c) + + # Use the API client with debug logging enabled + apps_v1 = client.AppsV1Api(api_client=api_client) diff --git a/doc/source/kubernetes.client.api.admissionregistration_api.rst b/doc/source/kubernetes.client.api.admissionregistration_api.rst index 20efccce67..2c43928c56 100644 --- a/doc/source/kubernetes.client.api.admissionregistration_api.rst +++ b/doc/source/kubernetes.client.api.admissionregistration_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.admissionregistration\_api module .. automodule:: kubernetes.client.api.admissionregistration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.admissionregistration_v1_api.rst b/doc/source/kubernetes.client.api.admissionregistration_v1_api.rst index 2765477e1c..ee67017bcd 100644 --- a/doc/source/kubernetes.client.api.admissionregistration_v1_api.rst +++ b/doc/source/kubernetes.client.api.admissionregistration_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.admissionregistration\_v1\_api module .. automodule:: kubernetes.client.api.admissionregistration_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.admissionregistration_v1alpha1_api.rst b/doc/source/kubernetes.client.api.admissionregistration_v1alpha1_api.rst index 0cdfbd64ae..d843bf024b 100644 --- a/doc/source/kubernetes.client.api.admissionregistration_v1alpha1_api.rst +++ b/doc/source/kubernetes.client.api.admissionregistration_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.admissionregistration\_v1alpha1\_api module .. automodule:: kubernetes.client.api.admissionregistration_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.admissionregistration_v1beta1_api.rst b/doc/source/kubernetes.client.api.admissionregistration_v1beta1_api.rst index ac86e1c673..fea707f53e 100644 --- a/doc/source/kubernetes.client.api.admissionregistration_v1beta1_api.rst +++ b/doc/source/kubernetes.client.api.admissionregistration_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.admissionregistration\_v1beta1\_api module .. automodule:: kubernetes.client.api.admissionregistration_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apiextensions_api.rst b/doc/source/kubernetes.client.api.apiextensions_api.rst index cfb0c19336..8a5a1803b6 100644 --- a/doc/source/kubernetes.client.api.apiextensions_api.rst +++ b/doc/source/kubernetes.client.api.apiextensions_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apiextensions\_api module .. automodule:: kubernetes.client.api.apiextensions_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apiextensions_v1_api.rst b/doc/source/kubernetes.client.api.apiextensions_v1_api.rst index 054fac937d..b7e934df9d 100644 --- a/doc/source/kubernetes.client.api.apiextensions_v1_api.rst +++ b/doc/source/kubernetes.client.api.apiextensions_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apiextensions\_v1\_api module .. automodule:: kubernetes.client.api.apiextensions_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apiregistration_api.rst b/doc/source/kubernetes.client.api.apiregistration_api.rst index 87f79d675f..b010d862e8 100644 --- a/doc/source/kubernetes.client.api.apiregistration_api.rst +++ b/doc/source/kubernetes.client.api.apiregistration_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apiregistration\_api module .. automodule:: kubernetes.client.api.apiregistration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apiregistration_v1_api.rst b/doc/source/kubernetes.client.api.apiregistration_v1_api.rst index 21afdd3c1b..a2a4b1325c 100644 --- a/doc/source/kubernetes.client.api.apiregistration_v1_api.rst +++ b/doc/source/kubernetes.client.api.apiregistration_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apiregistration\_v1\_api module .. automodule:: kubernetes.client.api.apiregistration_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apis_api.rst b/doc/source/kubernetes.client.api.apis_api.rst index 25bac26369..28c8a2625c 100644 --- a/doc/source/kubernetes.client.api.apis_api.rst +++ b/doc/source/kubernetes.client.api.apis_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apis\_api module .. automodule:: kubernetes.client.api.apis_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apps_api.rst b/doc/source/kubernetes.client.api.apps_api.rst index 77155bc073..39f9d666d1 100644 --- a/doc/source/kubernetes.client.api.apps_api.rst +++ b/doc/source/kubernetes.client.api.apps_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apps\_api module .. automodule:: kubernetes.client.api.apps_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.apps_v1_api.rst b/doc/source/kubernetes.client.api.apps_v1_api.rst index 8232a0cc7c..df43820aa9 100644 --- a/doc/source/kubernetes.client.api.apps_v1_api.rst +++ b/doc/source/kubernetes.client.api.apps_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.apps\_v1\_api module .. automodule:: kubernetes.client.api.apps_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.authentication_api.rst b/doc/source/kubernetes.client.api.authentication_api.rst index 49aa1dad55..f7e2d746ac 100644 --- a/doc/source/kubernetes.client.api.authentication_api.rst +++ b/doc/source/kubernetes.client.api.authentication_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.authentication\_api module .. automodule:: kubernetes.client.api.authentication_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.authentication_v1_api.rst b/doc/source/kubernetes.client.api.authentication_v1_api.rst index 897ab4d964..f2edb911a6 100644 --- a/doc/source/kubernetes.client.api.authentication_v1_api.rst +++ b/doc/source/kubernetes.client.api.authentication_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.authentication\_v1\_api module .. automodule:: kubernetes.client.api.authentication_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.authorization_api.rst b/doc/source/kubernetes.client.api.authorization_api.rst index 7d2342f8da..15c659eec8 100644 --- a/doc/source/kubernetes.client.api.authorization_api.rst +++ b/doc/source/kubernetes.client.api.authorization_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.authorization\_api module .. automodule:: kubernetes.client.api.authorization_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.authorization_v1_api.rst b/doc/source/kubernetes.client.api.authorization_v1_api.rst index ecbdc35018..18cdbe15d3 100644 --- a/doc/source/kubernetes.client.api.authorization_v1_api.rst +++ b/doc/source/kubernetes.client.api.authorization_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.authorization\_v1\_api module .. automodule:: kubernetes.client.api.authorization_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.autoscaling_api.rst b/doc/source/kubernetes.client.api.autoscaling_api.rst index 2a9c195004..a45fc1bf4e 100644 --- a/doc/source/kubernetes.client.api.autoscaling_api.rst +++ b/doc/source/kubernetes.client.api.autoscaling_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.autoscaling\_api module .. automodule:: kubernetes.client.api.autoscaling_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.autoscaling_v1_api.rst b/doc/source/kubernetes.client.api.autoscaling_v1_api.rst index 4d49f26b10..7cb529bbe2 100644 --- a/doc/source/kubernetes.client.api.autoscaling_v1_api.rst +++ b/doc/source/kubernetes.client.api.autoscaling_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.autoscaling\_v1\_api module .. automodule:: kubernetes.client.api.autoscaling_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.autoscaling_v2_api.rst b/doc/source/kubernetes.client.api.autoscaling_v2_api.rst index 658f5ab679..24d6fef229 100644 --- a/doc/source/kubernetes.client.api.autoscaling_v2_api.rst +++ b/doc/source/kubernetes.client.api.autoscaling_v2_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.autoscaling\_v2\_api module .. automodule:: kubernetes.client.api.autoscaling_v2_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.batch_api.rst b/doc/source/kubernetes.client.api.batch_api.rst index a5f150d6d5..4cfa03b56d 100644 --- a/doc/source/kubernetes.client.api.batch_api.rst +++ b/doc/source/kubernetes.client.api.batch_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.batch\_api module .. automodule:: kubernetes.client.api.batch_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.batch_v1_api.rst b/doc/source/kubernetes.client.api.batch_v1_api.rst index 485d246c19..385a0b8ff8 100644 --- a/doc/source/kubernetes.client.api.batch_v1_api.rst +++ b/doc/source/kubernetes.client.api.batch_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.batch\_v1\_api module .. automodule:: kubernetes.client.api.batch_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.certificates_api.rst b/doc/source/kubernetes.client.api.certificates_api.rst index d1b5dd412d..0814bf275e 100644 --- a/doc/source/kubernetes.client.api.certificates_api.rst +++ b/doc/source/kubernetes.client.api.certificates_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.certificates\_api module .. automodule:: kubernetes.client.api.certificates_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.certificates_v1_api.rst b/doc/source/kubernetes.client.api.certificates_v1_api.rst index c384274850..42f20039c6 100644 --- a/doc/source/kubernetes.client.api.certificates_v1_api.rst +++ b/doc/source/kubernetes.client.api.certificates_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.certificates\_v1\_api module .. automodule:: kubernetes.client.api.certificates_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.certificates_v1alpha1_api.rst b/doc/source/kubernetes.client.api.certificates_v1alpha1_api.rst index aee90ba99f..5fdfc33097 100644 --- a/doc/source/kubernetes.client.api.certificates_v1alpha1_api.rst +++ b/doc/source/kubernetes.client.api.certificates_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.certificates\_v1alpha1\_api module .. automodule:: kubernetes.client.api.certificates_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.certificates_v1beta1_api.rst b/doc/source/kubernetes.client.api.certificates_v1beta1_api.rst new file mode 100644 index 0000000000..f9d1354c4a --- /dev/null +++ b/doc/source/kubernetes.client.api.certificates_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.certificates\_v1beta1\_api module +======================================================= + +.. automodule:: kubernetes.client.api.certificates_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.coordination_api.rst b/doc/source/kubernetes.client.api.coordination_api.rst index f0fdc27c4f..5eec1501ea 100644 --- a/doc/source/kubernetes.client.api.coordination_api.rst +++ b/doc/source/kubernetes.client.api.coordination_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.coordination\_api module .. automodule:: kubernetes.client.api.coordination_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.coordination_v1_api.rst b/doc/source/kubernetes.client.api.coordination_v1_api.rst index eddd3861dc..38474a9510 100644 --- a/doc/source/kubernetes.client.api.coordination_v1_api.rst +++ b/doc/source/kubernetes.client.api.coordination_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.coordination\_v1\_api module .. automodule:: kubernetes.client.api.coordination_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.coordination_v1alpha2_api.rst b/doc/source/kubernetes.client.api.coordination_v1alpha2_api.rst index d99991b227..746f10a042 100644 --- a/doc/source/kubernetes.client.api.coordination_v1alpha2_api.rst +++ b/doc/source/kubernetes.client.api.coordination_v1alpha2_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.coordination\_v1alpha2\_api module .. automodule:: kubernetes.client.api.coordination_v1alpha2_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.coordination_v1beta1_api.rst b/doc/source/kubernetes.client.api.coordination_v1beta1_api.rst new file mode 100644 index 0000000000..c5fc82b2fc --- /dev/null +++ b/doc/source/kubernetes.client.api.coordination_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.coordination\_v1beta1\_api module +======================================================= + +.. automodule:: kubernetes.client.api.coordination_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.core_api.rst b/doc/source/kubernetes.client.api.core_api.rst index 5499d14efc..222bb978ed 100644 --- a/doc/source/kubernetes.client.api.core_api.rst +++ b/doc/source/kubernetes.client.api.core_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.core\_api module .. automodule:: kubernetes.client.api.core_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.core_v1_api.rst b/doc/source/kubernetes.client.api.core_v1_api.rst index 5ffd09bcae..af43403e56 100644 --- a/doc/source/kubernetes.client.api.core_v1_api.rst +++ b/doc/source/kubernetes.client.api.core_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.core\_v1\_api module .. automodule:: kubernetes.client.api.core_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.custom_objects_api.rst b/doc/source/kubernetes.client.api.custom_objects_api.rst index 439765fba1..54ee88d847 100644 --- a/doc/source/kubernetes.client.api.custom_objects_api.rst +++ b/doc/source/kubernetes.client.api.custom_objects_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.custom\_objects\_api module .. automodule:: kubernetes.client.api.custom_objects_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.discovery_api.rst b/doc/source/kubernetes.client.api.discovery_api.rst index 334f12fff7..e7ad03db8d 100644 --- a/doc/source/kubernetes.client.api.discovery_api.rst +++ b/doc/source/kubernetes.client.api.discovery_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.discovery\_api module .. automodule:: kubernetes.client.api.discovery_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.discovery_v1_api.rst b/doc/source/kubernetes.client.api.discovery_v1_api.rst index a3757a39bd..45a4471d0a 100644 --- a/doc/source/kubernetes.client.api.discovery_v1_api.rst +++ b/doc/source/kubernetes.client.api.discovery_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.discovery\_v1\_api module .. automodule:: kubernetes.client.api.discovery_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.events_api.rst b/doc/source/kubernetes.client.api.events_api.rst index 33ebe3556a..bc26e63d49 100644 --- a/doc/source/kubernetes.client.api.events_api.rst +++ b/doc/source/kubernetes.client.api.events_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.events\_api module .. automodule:: kubernetes.client.api.events_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.events_v1_api.rst b/doc/source/kubernetes.client.api.events_v1_api.rst index 9769a854b0..d37cbdd944 100644 --- a/doc/source/kubernetes.client.api.events_v1_api.rst +++ b/doc/source/kubernetes.client.api.events_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.events\_v1\_api module .. automodule:: kubernetes.client.api.events_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.flowcontrol_apiserver_api.rst b/doc/source/kubernetes.client.api.flowcontrol_apiserver_api.rst index f5bd6e2a44..800c2f3d38 100644 --- a/doc/source/kubernetes.client.api.flowcontrol_apiserver_api.rst +++ b/doc/source/kubernetes.client.api.flowcontrol_apiserver_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.flowcontrol\_apiserver\_api module .. automodule:: kubernetes.client.api.flowcontrol_apiserver_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.flowcontrol_apiserver_v1_api.rst b/doc/source/kubernetes.client.api.flowcontrol_apiserver_v1_api.rst index aafec6ad74..39df599bf2 100644 --- a/doc/source/kubernetes.client.api.flowcontrol_apiserver_v1_api.rst +++ b/doc/source/kubernetes.client.api.flowcontrol_apiserver_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.flowcontrol\_apiserver\_v1\_api module .. automodule:: kubernetes.client.api.flowcontrol_apiserver_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.internal_apiserver_api.rst b/doc/source/kubernetes.client.api.internal_apiserver_api.rst index 58a5c05d35..9b4b695be8 100644 --- a/doc/source/kubernetes.client.api.internal_apiserver_api.rst +++ b/doc/source/kubernetes.client.api.internal_apiserver_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.internal\_apiserver\_api module .. automodule:: kubernetes.client.api.internal_apiserver_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.internal_apiserver_v1alpha1_api.rst b/doc/source/kubernetes.client.api.internal_apiserver_v1alpha1_api.rst index daa18ba681..78c1242646 100644 --- a/doc/source/kubernetes.client.api.internal_apiserver_v1alpha1_api.rst +++ b/doc/source/kubernetes.client.api.internal_apiserver_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.internal\_apiserver\_v1alpha1\_api module .. automodule:: kubernetes.client.api.internal_apiserver_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.logs_api.rst b/doc/source/kubernetes.client.api.logs_api.rst index 616ecc2b18..1ca3d4f148 100644 --- a/doc/source/kubernetes.client.api.logs_api.rst +++ b/doc/source/kubernetes.client.api.logs_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.logs\_api module .. automodule:: kubernetes.client.api.logs_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.networking_api.rst b/doc/source/kubernetes.client.api.networking_api.rst index 71dacf6dd6..1931c33894 100644 --- a/doc/source/kubernetes.client.api.networking_api.rst +++ b/doc/source/kubernetes.client.api.networking_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.networking\_api module .. automodule:: kubernetes.client.api.networking_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.networking_v1_api.rst b/doc/source/kubernetes.client.api.networking_v1_api.rst index ab034ab996..ef58355253 100644 --- a/doc/source/kubernetes.client.api.networking_v1_api.rst +++ b/doc/source/kubernetes.client.api.networking_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.networking\_v1\_api module .. automodule:: kubernetes.client.api.networking_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.networking_v1beta1_api.rst b/doc/source/kubernetes.client.api.networking_v1beta1_api.rst index 5e0579d321..848c0cba0e 100644 --- a/doc/source/kubernetes.client.api.networking_v1beta1_api.rst +++ b/doc/source/kubernetes.client.api.networking_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.networking\_v1beta1\_api module .. automodule:: kubernetes.client.api.networking_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.node_api.rst b/doc/source/kubernetes.client.api.node_api.rst index 979d025e77..8afed4ecdb 100644 --- a/doc/source/kubernetes.client.api.node_api.rst +++ b/doc/source/kubernetes.client.api.node_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.node\_api module .. automodule:: kubernetes.client.api.node_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.node_v1_api.rst b/doc/source/kubernetes.client.api.node_v1_api.rst index 8b9707f11c..fd581c025c 100644 --- a/doc/source/kubernetes.client.api.node_v1_api.rst +++ b/doc/source/kubernetes.client.api.node_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.node\_v1\_api module .. automodule:: kubernetes.client.api.node_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.openid_api.rst b/doc/source/kubernetes.client.api.openid_api.rst index 56937d58c9..3fa64773be 100644 --- a/doc/source/kubernetes.client.api.openid_api.rst +++ b/doc/source/kubernetes.client.api.openid_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.openid\_api module .. automodule:: kubernetes.client.api.openid_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.policy_api.rst b/doc/source/kubernetes.client.api.policy_api.rst index e5c7e7ab3e..266e86fd6e 100644 --- a/doc/source/kubernetes.client.api.policy_api.rst +++ b/doc/source/kubernetes.client.api.policy_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.policy\_api module .. automodule:: kubernetes.client.api.policy_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.policy_v1_api.rst b/doc/source/kubernetes.client.api.policy_v1_api.rst index a0cc47fa5b..08b688bd3f 100644 --- a/doc/source/kubernetes.client.api.policy_v1_api.rst +++ b/doc/source/kubernetes.client.api.policy_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.policy\_v1\_api module .. automodule:: kubernetes.client.api.policy_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.rbac_authorization_api.rst b/doc/source/kubernetes.client.api.rbac_authorization_api.rst index 595d834a8a..a9971c9ca8 100644 --- a/doc/source/kubernetes.client.api.rbac_authorization_api.rst +++ b/doc/source/kubernetes.client.api.rbac_authorization_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.rbac\_authorization\_api module .. automodule:: kubernetes.client.api.rbac_authorization_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.rbac_authorization_v1_api.rst b/doc/source/kubernetes.client.api.rbac_authorization_v1_api.rst index 695a694f8c..afa2061a8f 100644 --- a/doc/source/kubernetes.client.api.rbac_authorization_v1_api.rst +++ b/doc/source/kubernetes.client.api.rbac_authorization_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.rbac\_authorization\_v1\_api module .. automodule:: kubernetes.client.api.rbac_authorization_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.resource_api.rst b/doc/source/kubernetes.client.api.resource_api.rst index 5ea0e699be..eb1a02a848 100644 --- a/doc/source/kubernetes.client.api.resource_api.rst +++ b/doc/source/kubernetes.client.api.resource_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.resource\_api module .. automodule:: kubernetes.client.api.resource_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.resource_v1_api.rst b/doc/source/kubernetes.client.api.resource_v1_api.rst new file mode 100644 index 0000000000..79781f79b0 --- /dev/null +++ b/doc/source/kubernetes.client.api.resource_v1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.resource\_v1\_api module +============================================== + +.. automodule:: kubernetes.client.api.resource_v1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst b/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst index 3a685af948..7ebf9105bc 100644 --- a/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst +++ b/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.resource\_v1alpha3\_api module .. automodule:: kubernetes.client.api.resource_v1alpha3_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.resource_v1beta1_api.rst b/doc/source/kubernetes.client.api.resource_v1beta1_api.rst index 55e25585d3..8cb4faff5a 100644 --- a/doc/source/kubernetes.client.api.resource_v1beta1_api.rst +++ b/doc/source/kubernetes.client.api.resource_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.resource\_v1beta1\_api module .. automodule:: kubernetes.client.api.resource_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.resource_v1beta2_api.rst b/doc/source/kubernetes.client.api.resource_v1beta2_api.rst new file mode 100644 index 0000000000..ac8ea792db --- /dev/null +++ b/doc/source/kubernetes.client.api.resource_v1beta2_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.resource\_v1beta2\_api module +=================================================== + +.. automodule:: kubernetes.client.api.resource_v1beta2_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.rst b/doc/source/kubernetes.client.api.rst index d0d9a8f3a5..1fe45912fa 100644 --- a/doc/source/kubernetes.client.api.rst +++ b/doc/source/kubernetes.client.api.rst @@ -20,7 +20,6 @@ Submodules kubernetes.client.api.apps_v1_api kubernetes.client.api.authentication_api kubernetes.client.api.authentication_v1_api - kubernetes.client.api.authentication_v1beta1_api kubernetes.client.api.authorization_api kubernetes.client.api.authorization_v1_api kubernetes.client.api.autoscaling_api @@ -31,9 +30,11 @@ Submodules kubernetes.client.api.certificates_api kubernetes.client.api.certificates_v1_api kubernetes.client.api.certificates_v1alpha1_api + kubernetes.client.api.certificates_v1beta1_api kubernetes.client.api.coordination_api kubernetes.client.api.coordination_v1_api kubernetes.client.api.coordination_v1alpha2_api + kubernetes.client.api.coordination_v1beta1_api kubernetes.client.api.core_api kubernetes.client.api.core_v1_api kubernetes.client.api.custom_objects_api @@ -57,16 +58,18 @@ Submodules kubernetes.client.api.rbac_authorization_api kubernetes.client.api.rbac_authorization_v1_api kubernetes.client.api.resource_api + kubernetes.client.api.resource_v1_api kubernetes.client.api.resource_v1alpha3_api kubernetes.client.api.resource_v1beta1_api + kubernetes.client.api.resource_v1beta2_api kubernetes.client.api.scheduling_api kubernetes.client.api.scheduling_v1_api + kubernetes.client.api.scheduling_v1alpha1_api kubernetes.client.api.storage_api kubernetes.client.api.storage_v1_api - kubernetes.client.api.storage_v1alpha1_api kubernetes.client.api.storage_v1beta1_api kubernetes.client.api.storagemigration_api - kubernetes.client.api.storagemigration_v1alpha1_api + kubernetes.client.api.storagemigration_v1beta1_api kubernetes.client.api.version_api kubernetes.client.api.well_known_api @@ -75,5 +78,5 @@ Module contents .. automodule:: kubernetes.client.api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.scheduling_api.rst b/doc/source/kubernetes.client.api.scheduling_api.rst index 60fe21cf85..447e55c1c9 100644 --- a/doc/source/kubernetes.client.api.scheduling_api.rst +++ b/doc/source/kubernetes.client.api.scheduling_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.scheduling\_api module .. automodule:: kubernetes.client.api.scheduling_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.scheduling_v1_api.rst b/doc/source/kubernetes.client.api.scheduling_v1_api.rst index 562aaf58c6..f2824162a8 100644 --- a/doc/source/kubernetes.client.api.scheduling_v1_api.rst +++ b/doc/source/kubernetes.client.api.scheduling_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.scheduling\_v1\_api module .. automodule:: kubernetes.client.api.scheduling_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.scheduling_v1alpha1_api.rst b/doc/source/kubernetes.client.api.scheduling_v1alpha1_api.rst new file mode 100644 index 0000000000..92ae22c450 --- /dev/null +++ b/doc/source/kubernetes.client.api.scheduling_v1alpha1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.scheduling\_v1alpha1\_api module +====================================================== + +.. automodule:: kubernetes.client.api.scheduling_v1alpha1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.storage_api.rst b/doc/source/kubernetes.client.api.storage_api.rst index 260be31da8..dce0b11f5b 100644 --- a/doc/source/kubernetes.client.api.storage_api.rst +++ b/doc/source/kubernetes.client.api.storage_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.storage\_api module .. automodule:: kubernetes.client.api.storage_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.storage_v1_api.rst b/doc/source/kubernetes.client.api.storage_v1_api.rst index e616fcdcc6..e3344d20e0 100644 --- a/doc/source/kubernetes.client.api.storage_v1_api.rst +++ b/doc/source/kubernetes.client.api.storage_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.storage\_v1\_api module .. automodule:: kubernetes.client.api.storage_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.storage_v1alpha1_api.rst b/doc/source/kubernetes.client.api.storage_v1alpha1_api.rst deleted file mode 100644 index e109037457..0000000000 --- a/doc/source/kubernetes.client.api.storage_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.api.storage\_v1alpha1\_api module -=================================================== - -.. automodule:: kubernetes.client.api.storage_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.api.storage_v1beta1_api.rst b/doc/source/kubernetes.client.api.storage_v1beta1_api.rst index 432a7b0054..f31cde3b2f 100644 --- a/doc/source/kubernetes.client.api.storage_v1beta1_api.rst +++ b/doc/source/kubernetes.client.api.storage_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.storage\_v1beta1\_api module .. automodule:: kubernetes.client.api.storage_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.storagemigration_api.rst b/doc/source/kubernetes.client.api.storagemigration_api.rst index e9fcffe604..6635a6d258 100644 --- a/doc/source/kubernetes.client.api.storagemigration_api.rst +++ b/doc/source/kubernetes.client.api.storagemigration_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.storagemigration\_api module .. automodule:: kubernetes.client.api.storagemigration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.storagemigration_v1alpha1_api.rst b/doc/source/kubernetes.client.api.storagemigration_v1alpha1_api.rst deleted file mode 100644 index 94fbdb58d9..0000000000 --- a/doc/source/kubernetes.client.api.storagemigration_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.api.storagemigration\_v1alpha1\_api module -============================================================ - -.. automodule:: kubernetes.client.api.storagemigration_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.api.storagemigration_v1beta1_api.rst b/doc/source/kubernetes.client.api.storagemigration_v1beta1_api.rst new file mode 100644 index 0000000000..0e3551edcd --- /dev/null +++ b/doc/source/kubernetes.client.api.storagemigration_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.storagemigration\_v1beta1\_api module +=========================================================== + +.. automodule:: kubernetes.client.api.storagemigration_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.version_api.rst b/doc/source/kubernetes.client.api.version_api.rst index ff53187c30..e7998c5227 100644 --- a/doc/source/kubernetes.client.api.version_api.rst +++ b/doc/source/kubernetes.client.api.version_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.version\_api module .. automodule:: kubernetes.client.api.version_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.well_known_api.rst b/doc/source/kubernetes.client.api.well_known_api.rst index a007d91ef2..d7383290ba 100644 --- a/doc/source/kubernetes.client.api.well_known_api.rst +++ b/doc/source/kubernetes.client.api.well_known_api.rst @@ -3,5 +3,5 @@ kubernetes.client.api.well\_known\_api module .. automodule:: kubernetes.client.api.well_known_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api_client.rst b/doc/source/kubernetes.client.api_client.rst index 3ade9414e6..f88163764b 100644 --- a/doc/source/kubernetes.client.api_client.rst +++ b/doc/source/kubernetes.client.api_client.rst @@ -3,5 +3,5 @@ kubernetes.client.api\_client module .. automodule:: kubernetes.client.api_client :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.configuration.rst b/doc/source/kubernetes.client.configuration.rst index f3772b0c4a..2b382a859e 100644 --- a/doc/source/kubernetes.client.configuration.rst +++ b/doc/source/kubernetes.client.configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.configuration module .. automodule:: kubernetes.client.configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.exceptions.rst b/doc/source/kubernetes.client.exceptions.rst index 156d128123..6318cbe20c 100644 --- a/doc/source/kubernetes.client.exceptions.rst +++ b/doc/source/kubernetes.client.exceptions.rst @@ -3,5 +3,5 @@ kubernetes.client.exceptions module .. automodule:: kubernetes.client.exceptions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.admissionregistration_v1_service_reference.rst b/doc/source/kubernetes.client.models.admissionregistration_v1_service_reference.rst index c0cecfb019..0dce7310a2 100644 --- a/doc/source/kubernetes.client.models.admissionregistration_v1_service_reference.rst +++ b/doc/source/kubernetes.client.models.admissionregistration_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.admissionregistration\_v1\_service\_reference module .. automodule:: kubernetes.client.models.admissionregistration_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.admissionregistration_v1_webhook_client_config.rst b/doc/source/kubernetes.client.models.admissionregistration_v1_webhook_client_config.rst index a5ead7c03d..b5bc3b6bae 100644 --- a/doc/source/kubernetes.client.models.admissionregistration_v1_webhook_client_config.rst +++ b/doc/source/kubernetes.client.models.admissionregistration_v1_webhook_client_config.rst @@ -3,5 +3,5 @@ kubernetes.client.models.admissionregistration\_v1\_webhook\_client\_config modu .. automodule:: kubernetes.client.models.admissionregistration_v1_webhook_client_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.apiextensions_v1_service_reference.rst b/doc/source/kubernetes.client.models.apiextensions_v1_service_reference.rst index 06fddf614f..184d616666 100644 --- a/doc/source/kubernetes.client.models.apiextensions_v1_service_reference.rst +++ b/doc/source/kubernetes.client.models.apiextensions_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.apiextensions\_v1\_service\_reference module .. automodule:: kubernetes.client.models.apiextensions_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.apiextensions_v1_webhook_client_config.rst b/doc/source/kubernetes.client.models.apiextensions_v1_webhook_client_config.rst index 7e22c10ec1..2b2efa4f20 100644 --- a/doc/source/kubernetes.client.models.apiextensions_v1_webhook_client_config.rst +++ b/doc/source/kubernetes.client.models.apiextensions_v1_webhook_client_config.rst @@ -3,5 +3,5 @@ kubernetes.client.models.apiextensions\_v1\_webhook\_client\_config module .. automodule:: kubernetes.client.models.apiextensions_v1_webhook_client_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.apiregistration_v1_service_reference.rst b/doc/source/kubernetes.client.models.apiregistration_v1_service_reference.rst index 49370189f3..b78058b619 100644 --- a/doc/source/kubernetes.client.models.apiregistration_v1_service_reference.rst +++ b/doc/source/kubernetes.client.models.apiregistration_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.apiregistration\_v1\_service\_reference module .. automodule:: kubernetes.client.models.apiregistration_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.authentication_v1_token_request.rst b/doc/source/kubernetes.client.models.authentication_v1_token_request.rst index 22dbff81aa..6dc8fdb90b 100644 --- a/doc/source/kubernetes.client.models.authentication_v1_token_request.rst +++ b/doc/source/kubernetes.client.models.authentication_v1_token_request.rst @@ -3,5 +3,5 @@ kubernetes.client.models.authentication\_v1\_token\_request module .. automodule:: kubernetes.client.models.authentication_v1_token_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.core_v1_endpoint_port.rst b/doc/source/kubernetes.client.models.core_v1_endpoint_port.rst index f9f0bdfbd6..2b37c47fa6 100644 --- a/doc/source/kubernetes.client.models.core_v1_endpoint_port.rst +++ b/doc/source/kubernetes.client.models.core_v1_endpoint_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.core\_v1\_endpoint\_port module .. automodule:: kubernetes.client.models.core_v1_endpoint_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.core_v1_event.rst b/doc/source/kubernetes.client.models.core_v1_event.rst index 9b1344edde..9742c568bf 100644 --- a/doc/source/kubernetes.client.models.core_v1_event.rst +++ b/doc/source/kubernetes.client.models.core_v1_event.rst @@ -3,5 +3,5 @@ kubernetes.client.models.core\_v1\_event module .. automodule:: kubernetes.client.models.core_v1_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.core_v1_event_list.rst b/doc/source/kubernetes.client.models.core_v1_event_list.rst index 8464dda4d4..6dca53732e 100644 --- a/doc/source/kubernetes.client.models.core_v1_event_list.rst +++ b/doc/source/kubernetes.client.models.core_v1_event_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.core\_v1\_event\_list module .. automodule:: kubernetes.client.models.core_v1_event_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.core_v1_event_series.rst b/doc/source/kubernetes.client.models.core_v1_event_series.rst index d7cadbd959..ac631dde9c 100644 --- a/doc/source/kubernetes.client.models.core_v1_event_series.rst +++ b/doc/source/kubernetes.client.models.core_v1_event_series.rst @@ -3,5 +3,5 @@ kubernetes.client.models.core\_v1\_event\_series module .. automodule:: kubernetes.client.models.core_v1_event_series :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.core_v1_resource_claim.rst b/doc/source/kubernetes.client.models.core_v1_resource_claim.rst new file mode 100644 index 0000000000..d901bffb54 --- /dev/null +++ b/doc/source/kubernetes.client.models.core_v1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.core\_v1\_resource\_claim module +========================================================= + +.. automodule:: kubernetes.client.models.core_v1_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.discovery_v1_endpoint_port.rst b/doc/source/kubernetes.client.models.discovery_v1_endpoint_port.rst index 26b3359eed..943a3f80db 100644 --- a/doc/source/kubernetes.client.models.discovery_v1_endpoint_port.rst +++ b/doc/source/kubernetes.client.models.discovery_v1_endpoint_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.discovery\_v1\_endpoint\_port module .. automodule:: kubernetes.client.models.discovery_v1_endpoint_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.events_v1_event.rst b/doc/source/kubernetes.client.models.events_v1_event.rst index 8f2ed248ea..b500e534c0 100644 --- a/doc/source/kubernetes.client.models.events_v1_event.rst +++ b/doc/source/kubernetes.client.models.events_v1_event.rst @@ -3,5 +3,5 @@ kubernetes.client.models.events\_v1\_event module .. automodule:: kubernetes.client.models.events_v1_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.events_v1_event_list.rst b/doc/source/kubernetes.client.models.events_v1_event_list.rst index 20a51ae927..0f6f1861f0 100644 --- a/doc/source/kubernetes.client.models.events_v1_event_list.rst +++ b/doc/source/kubernetes.client.models.events_v1_event_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.events\_v1\_event\_list module .. automodule:: kubernetes.client.models.events_v1_event_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.events_v1_event_series.rst b/doc/source/kubernetes.client.models.events_v1_event_series.rst index 3415a73976..b1c666c1f7 100644 --- a/doc/source/kubernetes.client.models.events_v1_event_series.rst +++ b/doc/source/kubernetes.client.models.events_v1_event_series.rst @@ -3,5 +3,5 @@ kubernetes.client.models.events\_v1\_event\_series module .. automodule:: kubernetes.client.models.events_v1_event_series :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.flowcontrol_v1_subject.rst b/doc/source/kubernetes.client.models.flowcontrol_v1_subject.rst index c2a2604593..5032eb81d5 100644 --- a/doc/source/kubernetes.client.models.flowcontrol_v1_subject.rst +++ b/doc/source/kubernetes.client.models.flowcontrol_v1_subject.rst @@ -3,5 +3,5 @@ kubernetes.client.models.flowcontrol\_v1\_subject module .. automodule:: kubernetes.client.models.flowcontrol_v1_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.rbac_v1_subject.rst b/doc/source/kubernetes.client.models.rbac_v1_subject.rst index 1b37f849a5..336896db7c 100644 --- a/doc/source/kubernetes.client.models.rbac_v1_subject.rst +++ b/doc/source/kubernetes.client.models.rbac_v1_subject.rst @@ -3,5 +3,5 @@ kubernetes.client.models.rbac\_v1\_subject module .. automodule:: kubernetes.client.models.rbac_v1_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.resource_v1_resource_claim.rst b/doc/source/kubernetes.client.models.resource_v1_resource_claim.rst new file mode 100644 index 0000000000..24e009bbbf --- /dev/null +++ b/doc/source/kubernetes.client.models.resource_v1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.resource\_v1\_resource\_claim module +============================================================= + +.. automodule:: kubernetes.client.models.resource_v1_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.rst b/doc/source/kubernetes.client.models.rst index 8a4029cd2b..d4b64062db 100644 --- a/doc/source/kubernetes.client.models.rst +++ b/doc/source/kubernetes.client.models.rst @@ -17,15 +17,19 @@ Submodules kubernetes.client.models.core_v1_event kubernetes.client.models.core_v1_event_list kubernetes.client.models.core_v1_event_series + kubernetes.client.models.core_v1_resource_claim kubernetes.client.models.discovery_v1_endpoint_port kubernetes.client.models.events_v1_event kubernetes.client.models.events_v1_event_list kubernetes.client.models.events_v1_event_series kubernetes.client.models.flowcontrol_v1_subject kubernetes.client.models.rbac_v1_subject + kubernetes.client.models.resource_v1_resource_claim kubernetes.client.models.storage_v1_token_request kubernetes.client.models.v1_affinity kubernetes.client.models.v1_aggregation_rule + kubernetes.client.models.v1_allocated_device_status + kubernetes.client.models.v1_allocation_result kubernetes.client.models.v1_api_group kubernetes.client.models.v1_api_group_list kubernetes.client.models.v1_api_resource @@ -46,6 +50,10 @@ Submodules kubernetes.client.models.v1_binding kubernetes.client.models.v1_bound_object_reference kubernetes.client.models.v1_capabilities + kubernetes.client.models.v1_capacity_request_policy + kubernetes.client.models.v1_capacity_request_policy_range + kubernetes.client.models.v1_capacity_requirements + kubernetes.client.models.v1_cel_device_selector kubernetes.client.models.v1_ceph_fs_persistent_volume_source kubernetes.client.models.v1_ceph_fs_volume_source kubernetes.client.models.v1_certificate_signing_request @@ -73,9 +81,12 @@ Submodules kubernetes.client.models.v1_config_map_projection kubernetes.client.models.v1_config_map_volume_source kubernetes.client.models.v1_container + kubernetes.client.models.v1_container_extended_resource_request kubernetes.client.models.v1_container_image kubernetes.client.models.v1_container_port kubernetes.client.models.v1_container_resize_policy + kubernetes.client.models.v1_container_restart_rule + kubernetes.client.models.v1_container_restart_rule_on_exit_codes kubernetes.client.models.v1_container_state kubernetes.client.models.v1_container_state_running kubernetes.client.models.v1_container_state_terminated @@ -84,6 +95,8 @@ Submodules kubernetes.client.models.v1_container_user kubernetes.client.models.v1_controller_revision kubernetes.client.models.v1_controller_revision_list + kubernetes.client.models.v1_counter + kubernetes.client.models.v1_counter_set kubernetes.client.models.v1_cron_job kubernetes.client.models.v1_cron_job_list kubernetes.client.models.v1_cron_job_spec @@ -126,6 +139,25 @@ Submodules kubernetes.client.models.v1_deployment_spec kubernetes.client.models.v1_deployment_status kubernetes.client.models.v1_deployment_strategy + kubernetes.client.models.v1_device + kubernetes.client.models.v1_device_allocation_configuration + kubernetes.client.models.v1_device_allocation_result + kubernetes.client.models.v1_device_attribute + kubernetes.client.models.v1_device_capacity + kubernetes.client.models.v1_device_claim + kubernetes.client.models.v1_device_claim_configuration + kubernetes.client.models.v1_device_class + kubernetes.client.models.v1_device_class_configuration + kubernetes.client.models.v1_device_class_list + kubernetes.client.models.v1_device_class_spec + kubernetes.client.models.v1_device_constraint + kubernetes.client.models.v1_device_counter_consumption + kubernetes.client.models.v1_device_request + kubernetes.client.models.v1_device_request_allocation_result + kubernetes.client.models.v1_device_selector + kubernetes.client.models.v1_device_sub_request + kubernetes.client.models.v1_device_taint + kubernetes.client.models.v1_device_toleration kubernetes.client.models.v1_downward_api_projection kubernetes.client.models.v1_downward_api_volume_file kubernetes.client.models.v1_downward_api_volume_source @@ -146,6 +178,7 @@ Submodules kubernetes.client.models.v1_ephemeral_volume_source kubernetes.client.models.v1_event_source kubernetes.client.models.v1_eviction + kubernetes.client.models.v1_exact_device_request kubernetes.client.models.v1_exec_action kubernetes.client.models.v1_exempt_priority_level_configuration kubernetes.client.models.v1_expression_warning @@ -153,6 +186,7 @@ Submodules kubernetes.client.models.v1_fc_volume_source kubernetes.client.models.v1_field_selector_attributes kubernetes.client.models.v1_field_selector_requirement + kubernetes.client.models.v1_file_key_selector kubernetes.client.models.v1_flex_persistent_volume_source kubernetes.client.models.v1_flex_volume_source kubernetes.client.models.v1_flocker_volume_source @@ -162,11 +196,13 @@ Submodules kubernetes.client.models.v1_flow_schema_list kubernetes.client.models.v1_flow_schema_spec kubernetes.client.models.v1_flow_schema_status + kubernetes.client.models.v1_for_node kubernetes.client.models.v1_for_zone kubernetes.client.models.v1_gce_persistent_disk_volume_source kubernetes.client.models.v1_git_repo_volume_source kubernetes.client.models.v1_glusterfs_persistent_volume_source kubernetes.client.models.v1_glusterfs_volume_source + kubernetes.client.models.v1_group_resource kubernetes.client.models.v1_group_subject kubernetes.client.models.v1_group_version_for_discovery kubernetes.client.models.v1_grpc_action @@ -197,6 +233,9 @@ Submodules kubernetes.client.models.v1_ingress_spec kubernetes.client.models.v1_ingress_status kubernetes.client.models.v1_ingress_tls + kubernetes.client.models.v1_ip_address + kubernetes.client.models.v1_ip_address_list + kubernetes.client.models.v1_ip_address_spec kubernetes.client.models.v1_ip_block kubernetes.client.models.v1_iscsi_persistent_volume_source kubernetes.client.models.v1_iscsi_volume_source @@ -242,6 +281,7 @@ Submodules kubernetes.client.models.v1_namespace_list kubernetes.client.models.v1_namespace_spec kubernetes.client.models.v1_namespace_status + kubernetes.client.models.v1_network_device_data kubernetes.client.models.v1_network_policy kubernetes.client.models.v1_network_policy_egress_rule kubernetes.client.models.v1_network_policy_ingress_rule @@ -266,6 +306,7 @@ Submodules kubernetes.client.models.v1_node_selector_term kubernetes.client.models.v1_node_spec kubernetes.client.models.v1_node_status + kubernetes.client.models.v1_node_swap_status kubernetes.client.models.v1_node_system_info kubernetes.client.models.v1_non_resource_attributes kubernetes.client.models.v1_non_resource_policy_rule @@ -273,10 +314,12 @@ Submodules kubernetes.client.models.v1_object_field_selector kubernetes.client.models.v1_object_meta kubernetes.client.models.v1_object_reference + kubernetes.client.models.v1_opaque_device_configuration kubernetes.client.models.v1_overhead kubernetes.client.models.v1_owner_reference kubernetes.client.models.v1_param_kind kubernetes.client.models.v1_param_ref + kubernetes.client.models.v1_parent_reference kubernetes.client.models.v1_persistent_volume kubernetes.client.models.v1_persistent_volume_claim kubernetes.client.models.v1_persistent_volume_claim_condition @@ -293,6 +336,7 @@ Submodules kubernetes.client.models.v1_pod_affinity kubernetes.client.models.v1_pod_affinity_term kubernetes.client.models.v1_pod_anti_affinity + kubernetes.client.models.v1_pod_certificate_projection kubernetes.client.models.v1_pod_condition kubernetes.client.models.v1_pod_disruption_budget kubernetes.client.models.v1_pod_disruption_budget_list @@ -300,6 +344,7 @@ Submodules kubernetes.client.models.v1_pod_disruption_budget_status kubernetes.client.models.v1_pod_dns_config kubernetes.client.models.v1_pod_dns_config_option + kubernetes.client.models.v1_pod_extended_resource_claim_status kubernetes.client.models.v1_pod_failure_policy kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern @@ -348,16 +393,26 @@ Submodules kubernetes.client.models.v1_replication_controller_spec kubernetes.client.models.v1_replication_controller_status kubernetes.client.models.v1_resource_attributes - kubernetes.client.models.v1_resource_claim + kubernetes.client.models.v1_resource_claim_consumer_reference + kubernetes.client.models.v1_resource_claim_list + kubernetes.client.models.v1_resource_claim_spec + kubernetes.client.models.v1_resource_claim_status + kubernetes.client.models.v1_resource_claim_template + kubernetes.client.models.v1_resource_claim_template_list + kubernetes.client.models.v1_resource_claim_template_spec kubernetes.client.models.v1_resource_field_selector kubernetes.client.models.v1_resource_health kubernetes.client.models.v1_resource_policy_rule + kubernetes.client.models.v1_resource_pool kubernetes.client.models.v1_resource_quota kubernetes.client.models.v1_resource_quota_list kubernetes.client.models.v1_resource_quota_spec kubernetes.client.models.v1_resource_quota_status kubernetes.client.models.v1_resource_requirements kubernetes.client.models.v1_resource_rule + kubernetes.client.models.v1_resource_slice + kubernetes.client.models.v1_resource_slice_list + kubernetes.client.models.v1_resource_slice_spec kubernetes.client.models.v1_resource_status kubernetes.client.models.v1_role kubernetes.client.models.v1_role_binding @@ -402,6 +457,10 @@ Submodules kubernetes.client.models.v1_service_account_subject kubernetes.client.models.v1_service_account_token_projection kubernetes.client.models.v1_service_backend_port + kubernetes.client.models.v1_service_cidr + kubernetes.client.models.v1_service_cidr_list + kubernetes.client.models.v1_service_cidr_spec + kubernetes.client.models.v1_service_cidr_status kubernetes.client.models.v1_service_list kubernetes.client.models.v1_service_port kubernetes.client.models.v1_service_spec @@ -466,6 +525,8 @@ Submodules kubernetes.client.models.v1_volume_attachment_source kubernetes.client.models.v1_volume_attachment_spec kubernetes.client.models.v1_volume_attachment_status + kubernetes.client.models.v1_volume_attributes_class + kubernetes.client.models.v1_volume_attributes_class_list kubernetes.client.models.v1_volume_device kubernetes.client.models.v1_volume_error kubernetes.client.models.v1_volume_mount @@ -479,15 +540,15 @@ Submodules kubernetes.client.models.v1_webhook_conversion kubernetes.client.models.v1_weighted_pod_affinity_term kubernetes.client.models.v1_windows_security_context_options + kubernetes.client.models.v1_workload_reference kubernetes.client.models.v1alpha1_apply_configuration kubernetes.client.models.v1alpha1_cluster_trust_bundle kubernetes.client.models.v1alpha1_cluster_trust_bundle_list kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec - kubernetes.client.models.v1alpha1_group_version_resource + kubernetes.client.models.v1alpha1_gang_scheduling_policy kubernetes.client.models.v1alpha1_json_patch kubernetes.client.models.v1alpha1_match_condition kubernetes.client.models.v1alpha1_match_resources - kubernetes.client.models.v1alpha1_migration_condition kubernetes.client.models.v1alpha1_mutating_admission_policy kubernetes.client.models.v1alpha1_mutating_admission_policy_binding kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list @@ -498,58 +559,40 @@ Submodules kubernetes.client.models.v1alpha1_named_rule_with_operations kubernetes.client.models.v1alpha1_param_kind kubernetes.client.models.v1alpha1_param_ref + kubernetes.client.models.v1alpha1_pod_group + kubernetes.client.models.v1alpha1_pod_group_policy kubernetes.client.models.v1alpha1_server_storage_version kubernetes.client.models.v1alpha1_storage_version kubernetes.client.models.v1alpha1_storage_version_condition kubernetes.client.models.v1alpha1_storage_version_list - kubernetes.client.models.v1alpha1_storage_version_migration - kubernetes.client.models.v1alpha1_storage_version_migration_list - kubernetes.client.models.v1alpha1_storage_version_migration_spec - kubernetes.client.models.v1alpha1_storage_version_migration_status kubernetes.client.models.v1alpha1_storage_version_status + kubernetes.client.models.v1alpha1_typed_local_object_reference kubernetes.client.models.v1alpha1_variable - kubernetes.client.models.v1alpha1_volume_attributes_class - kubernetes.client.models.v1alpha1_volume_attributes_class_list + kubernetes.client.models.v1alpha1_workload + kubernetes.client.models.v1alpha1_workload_list + kubernetes.client.models.v1alpha1_workload_spec kubernetes.client.models.v1alpha2_lease_candidate kubernetes.client.models.v1alpha2_lease_candidate_list kubernetes.client.models.v1alpha2_lease_candidate_spec - kubernetes.client.models.v1alpha3_allocated_device_status - kubernetes.client.models.v1alpha3_allocation_result - kubernetes.client.models.v1alpha3_basic_device - kubernetes.client.models.v1alpha3_cel_device_selector - kubernetes.client.models.v1alpha3_device - kubernetes.client.models.v1alpha3_device_allocation_configuration - kubernetes.client.models.v1alpha3_device_allocation_result - kubernetes.client.models.v1alpha3_device_attribute - kubernetes.client.models.v1alpha3_device_claim - kubernetes.client.models.v1alpha3_device_claim_configuration - kubernetes.client.models.v1alpha3_device_class - kubernetes.client.models.v1alpha3_device_class_configuration - kubernetes.client.models.v1alpha3_device_class_list - kubernetes.client.models.v1alpha3_device_class_spec - kubernetes.client.models.v1alpha3_device_constraint - kubernetes.client.models.v1alpha3_device_request - kubernetes.client.models.v1alpha3_device_request_allocation_result - kubernetes.client.models.v1alpha3_device_selector - kubernetes.client.models.v1alpha3_network_device_data - kubernetes.client.models.v1alpha3_opaque_device_configuration - kubernetes.client.models.v1alpha3_resource_claim - kubernetes.client.models.v1alpha3_resource_claim_consumer_reference - kubernetes.client.models.v1alpha3_resource_claim_list - kubernetes.client.models.v1alpha3_resource_claim_spec - kubernetes.client.models.v1alpha3_resource_claim_status - kubernetes.client.models.v1alpha3_resource_claim_template - kubernetes.client.models.v1alpha3_resource_claim_template_list - kubernetes.client.models.v1alpha3_resource_claim_template_spec - kubernetes.client.models.v1alpha3_resource_pool - kubernetes.client.models.v1alpha3_resource_slice - kubernetes.client.models.v1alpha3_resource_slice_list - kubernetes.client.models.v1alpha3_resource_slice_spec + kubernetes.client.models.v1alpha3_device_taint + kubernetes.client.models.v1alpha3_device_taint_rule + kubernetes.client.models.v1alpha3_device_taint_rule_list + kubernetes.client.models.v1alpha3_device_taint_rule_spec + kubernetes.client.models.v1alpha3_device_taint_rule_status + kubernetes.client.models.v1alpha3_device_taint_selector kubernetes.client.models.v1beta1_allocated_device_status kubernetes.client.models.v1beta1_allocation_result - kubernetes.client.models.v1beta1_audit_annotation + kubernetes.client.models.v1beta1_apply_configuration kubernetes.client.models.v1beta1_basic_device + kubernetes.client.models.v1beta1_capacity_request_policy + kubernetes.client.models.v1beta1_capacity_request_policy_range + kubernetes.client.models.v1beta1_capacity_requirements kubernetes.client.models.v1beta1_cel_device_selector + kubernetes.client.models.v1beta1_cluster_trust_bundle + kubernetes.client.models.v1beta1_cluster_trust_bundle_list + kubernetes.client.models.v1beta1_cluster_trust_bundle_spec + kubernetes.client.models.v1beta1_counter + kubernetes.client.models.v1beta1_counter_set kubernetes.client.models.v1beta1_device kubernetes.client.models.v1beta1_device_allocation_configuration kubernetes.client.models.v1beta1_device_allocation_result @@ -562,21 +605,39 @@ Submodules kubernetes.client.models.v1beta1_device_class_list kubernetes.client.models.v1beta1_device_class_spec kubernetes.client.models.v1beta1_device_constraint + kubernetes.client.models.v1beta1_device_counter_consumption kubernetes.client.models.v1beta1_device_request kubernetes.client.models.v1beta1_device_request_allocation_result kubernetes.client.models.v1beta1_device_selector - kubernetes.client.models.v1beta1_expression_warning + kubernetes.client.models.v1beta1_device_sub_request + kubernetes.client.models.v1beta1_device_taint + kubernetes.client.models.v1beta1_device_toleration kubernetes.client.models.v1beta1_ip_address kubernetes.client.models.v1beta1_ip_address_list kubernetes.client.models.v1beta1_ip_address_spec + kubernetes.client.models.v1beta1_json_patch + kubernetes.client.models.v1beta1_lease_candidate + kubernetes.client.models.v1beta1_lease_candidate_list + kubernetes.client.models.v1beta1_lease_candidate_spec kubernetes.client.models.v1beta1_match_condition kubernetes.client.models.v1beta1_match_resources + kubernetes.client.models.v1beta1_mutating_admission_policy + kubernetes.client.models.v1beta1_mutating_admission_policy_binding + kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list + kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec + kubernetes.client.models.v1beta1_mutating_admission_policy_list + kubernetes.client.models.v1beta1_mutating_admission_policy_spec + kubernetes.client.models.v1beta1_mutation kubernetes.client.models.v1beta1_named_rule_with_operations kubernetes.client.models.v1beta1_network_device_data kubernetes.client.models.v1beta1_opaque_device_configuration kubernetes.client.models.v1beta1_param_kind kubernetes.client.models.v1beta1_param_ref kubernetes.client.models.v1beta1_parent_reference + kubernetes.client.models.v1beta1_pod_certificate_request + kubernetes.client.models.v1beta1_pod_certificate_request_list + kubernetes.client.models.v1beta1_pod_certificate_request_spec + kubernetes.client.models.v1beta1_pod_certificate_request_status kubernetes.client.models.v1beta1_resource_claim kubernetes.client.models.v1beta1_resource_claim_consumer_reference kubernetes.client.models.v1beta1_resource_claim_list @@ -589,24 +650,59 @@ Submodules kubernetes.client.models.v1beta1_resource_slice kubernetes.client.models.v1beta1_resource_slice_list kubernetes.client.models.v1beta1_resource_slice_spec - kubernetes.client.models.v1beta1_self_subject_review - kubernetes.client.models.v1beta1_self_subject_review_status kubernetes.client.models.v1beta1_service_cidr kubernetes.client.models.v1beta1_service_cidr_list kubernetes.client.models.v1beta1_service_cidr_spec kubernetes.client.models.v1beta1_service_cidr_status - kubernetes.client.models.v1beta1_type_checking - kubernetes.client.models.v1beta1_validating_admission_policy - kubernetes.client.models.v1beta1_validating_admission_policy_binding - kubernetes.client.models.v1beta1_validating_admission_policy_binding_list - kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec - kubernetes.client.models.v1beta1_validating_admission_policy_list - kubernetes.client.models.v1beta1_validating_admission_policy_spec - kubernetes.client.models.v1beta1_validating_admission_policy_status - kubernetes.client.models.v1beta1_validation + kubernetes.client.models.v1beta1_storage_version_migration + kubernetes.client.models.v1beta1_storage_version_migration_list + kubernetes.client.models.v1beta1_storage_version_migration_spec + kubernetes.client.models.v1beta1_storage_version_migration_status kubernetes.client.models.v1beta1_variable kubernetes.client.models.v1beta1_volume_attributes_class kubernetes.client.models.v1beta1_volume_attributes_class_list + kubernetes.client.models.v1beta2_allocated_device_status + kubernetes.client.models.v1beta2_allocation_result + kubernetes.client.models.v1beta2_capacity_request_policy + kubernetes.client.models.v1beta2_capacity_request_policy_range + kubernetes.client.models.v1beta2_capacity_requirements + kubernetes.client.models.v1beta2_cel_device_selector + kubernetes.client.models.v1beta2_counter + kubernetes.client.models.v1beta2_counter_set + kubernetes.client.models.v1beta2_device + kubernetes.client.models.v1beta2_device_allocation_configuration + kubernetes.client.models.v1beta2_device_allocation_result + kubernetes.client.models.v1beta2_device_attribute + kubernetes.client.models.v1beta2_device_capacity + kubernetes.client.models.v1beta2_device_claim + kubernetes.client.models.v1beta2_device_claim_configuration + kubernetes.client.models.v1beta2_device_class + kubernetes.client.models.v1beta2_device_class_configuration + kubernetes.client.models.v1beta2_device_class_list + kubernetes.client.models.v1beta2_device_class_spec + kubernetes.client.models.v1beta2_device_constraint + kubernetes.client.models.v1beta2_device_counter_consumption + kubernetes.client.models.v1beta2_device_request + kubernetes.client.models.v1beta2_device_request_allocation_result + kubernetes.client.models.v1beta2_device_selector + kubernetes.client.models.v1beta2_device_sub_request + kubernetes.client.models.v1beta2_device_taint + kubernetes.client.models.v1beta2_device_toleration + kubernetes.client.models.v1beta2_exact_device_request + kubernetes.client.models.v1beta2_network_device_data + kubernetes.client.models.v1beta2_opaque_device_configuration + kubernetes.client.models.v1beta2_resource_claim + kubernetes.client.models.v1beta2_resource_claim_consumer_reference + kubernetes.client.models.v1beta2_resource_claim_list + kubernetes.client.models.v1beta2_resource_claim_spec + kubernetes.client.models.v1beta2_resource_claim_status + kubernetes.client.models.v1beta2_resource_claim_template + kubernetes.client.models.v1beta2_resource_claim_template_list + kubernetes.client.models.v1beta2_resource_claim_template_spec + kubernetes.client.models.v1beta2_resource_pool + kubernetes.client.models.v1beta2_resource_slice + kubernetes.client.models.v1beta2_resource_slice_list + kubernetes.client.models.v1beta2_resource_slice_spec kubernetes.client.models.v2_container_resource_metric_source kubernetes.client.models.v2_container_resource_metric_status kubernetes.client.models.v2_cross_version_object_reference @@ -638,5 +734,5 @@ Module contents .. automodule:: kubernetes.client.models :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.storage_v1_token_request.rst b/doc/source/kubernetes.client.models.storage_v1_token_request.rst index 97e0bd3887..82fe81e159 100644 --- a/doc/source/kubernetes.client.models.storage_v1_token_request.rst +++ b/doc/source/kubernetes.client.models.storage_v1_token_request.rst @@ -3,5 +3,5 @@ kubernetes.client.models.storage\_v1\_token\_request module .. automodule:: kubernetes.client.models.storage_v1_token_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_affinity.rst b/doc/source/kubernetes.client.models.v1_affinity.rst index e37f3c4143..04be048ecb 100644 --- a/doc/source/kubernetes.client.models.v1_affinity.rst +++ b/doc/source/kubernetes.client.models.v1_affinity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_affinity module .. automodule:: kubernetes.client.models.v1_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_aggregation_rule.rst b/doc/source/kubernetes.client.models.v1_aggregation_rule.rst index 41fe352883..860f036736 100644 --- a/doc/source/kubernetes.client.models.v1_aggregation_rule.rst +++ b/doc/source/kubernetes.client.models.v1_aggregation_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_aggregation\_rule module .. automodule:: kubernetes.client.models.v1_aggregation_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_allocated_device_status.rst b/doc/source/kubernetes.client.models.v1_allocated_device_status.rst new file mode 100644 index 0000000000..4db716b3e4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_allocated\_device\_status module +============================================================= + +.. automodule:: kubernetes.client.models.v1_allocated_device_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_allocation_result.rst b/doc/source/kubernetes.client.models.v1_allocation_result.rst new file mode 100644 index 0000000000..6ac3915f96 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_allocation\_result module +====================================================== + +.. automodule:: kubernetes.client.models.v1_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_group.rst b/doc/source/kubernetes.client.models.v1_api_group.rst index 735e183e01..fc69436932 100644 --- a/doc/source/kubernetes.client.models.v1_api_group.rst +++ b/doc/source/kubernetes.client.models.v1_api_group.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_group module .. automodule:: kubernetes.client.models.v1_api_group :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_group_list.rst b/doc/source/kubernetes.client.models.v1_api_group_list.rst index 7ffb16fba5..aee1a68fec 100644 --- a/doc/source/kubernetes.client.models.v1_api_group_list.rst +++ b/doc/source/kubernetes.client.models.v1_api_group_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_group\_list module .. automodule:: kubernetes.client.models.v1_api_group_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_resource.rst b/doc/source/kubernetes.client.models.v1_api_resource.rst index e63faf5582..c7b7b6a397 100644 --- a/doc/source/kubernetes.client.models.v1_api_resource.rst +++ b/doc/source/kubernetes.client.models.v1_api_resource.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_resource module .. automodule:: kubernetes.client.models.v1_api_resource :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_resource_list.rst b/doc/source/kubernetes.client.models.v1_api_resource_list.rst index 18dd76c5ed..50f2706f11 100644 --- a/doc/source/kubernetes.client.models.v1_api_resource_list.rst +++ b/doc/source/kubernetes.client.models.v1_api_resource_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_resource\_list module .. automodule:: kubernetes.client.models.v1_api_resource_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_service.rst b/doc/source/kubernetes.client.models.v1_api_service.rst index 1771f8d7f4..02fa0b2f29 100644 --- a/doc/source/kubernetes.client.models.v1_api_service.rst +++ b/doc/source/kubernetes.client.models.v1_api_service.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_service module .. automodule:: kubernetes.client.models.v1_api_service :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_service_condition.rst b/doc/source/kubernetes.client.models.v1_api_service_condition.rst index ea9e580283..b5dd446670 100644 --- a/doc/source/kubernetes.client.models.v1_api_service_condition.rst +++ b/doc/source/kubernetes.client.models.v1_api_service_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_service\_condition module .. automodule:: kubernetes.client.models.v1_api_service_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_service_list.rst b/doc/source/kubernetes.client.models.v1_api_service_list.rst index 61109a2487..8c98bed56e 100644 --- a/doc/source/kubernetes.client.models.v1_api_service_list.rst +++ b/doc/source/kubernetes.client.models.v1_api_service_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_service\_list module .. automodule:: kubernetes.client.models.v1_api_service_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_service_spec.rst b/doc/source/kubernetes.client.models.v1_api_service_spec.rst index 67a1238092..6790504bde 100644 --- a/doc/source/kubernetes.client.models.v1_api_service_spec.rst +++ b/doc/source/kubernetes.client.models.v1_api_service_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_service\_spec module .. automodule:: kubernetes.client.models.v1_api_service_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_service_status.rst b/doc/source/kubernetes.client.models.v1_api_service_status.rst index ed0487adc1..4784cdf2bd 100644 --- a/doc/source/kubernetes.client.models.v1_api_service_status.rst +++ b/doc/source/kubernetes.client.models.v1_api_service_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_service\_status module .. automodule:: kubernetes.client.models.v1_api_service_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_api_versions.rst b/doc/source/kubernetes.client.models.v1_api_versions.rst index eea17f0069..1c20d3ce96 100644 --- a/doc/source/kubernetes.client.models.v1_api_versions.rst +++ b/doc/source/kubernetes.client.models.v1_api_versions.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_api\_versions module .. automodule:: kubernetes.client.models.v1_api_versions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_app_armor_profile.rst b/doc/source/kubernetes.client.models.v1_app_armor_profile.rst index 67922ad3d2..b8e137aa43 100644 --- a/doc/source/kubernetes.client.models.v1_app_armor_profile.rst +++ b/doc/source/kubernetes.client.models.v1_app_armor_profile.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_app\_armor\_profile module .. automodule:: kubernetes.client.models.v1_app_armor_profile :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_attached_volume.rst b/doc/source/kubernetes.client.models.v1_attached_volume.rst index 5bebb1d03a..01936fe324 100644 --- a/doc/source/kubernetes.client.models.v1_attached_volume.rst +++ b/doc/source/kubernetes.client.models.v1_attached_volume.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_attached\_volume module .. automodule:: kubernetes.client.models.v1_attached_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_audit_annotation.rst b/doc/source/kubernetes.client.models.v1_audit_annotation.rst index 37d23f5684..20793c19e4 100644 --- a/doc/source/kubernetes.client.models.v1_audit_annotation.rst +++ b/doc/source/kubernetes.client.models.v1_audit_annotation.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_audit\_annotation module .. automodule:: kubernetes.client.models.v1_audit_annotation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_aws_elastic_block_store_volume_source.rst b/doc/source/kubernetes.client.models.v1_aws_elastic_block_store_volume_source.rst index 591378d452..9ff8f3f090 100644 --- a/doc/source/kubernetes.client.models.v1_aws_elastic_block_store_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_aws_elastic_block_store_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_aws\_elastic\_block\_store\_volume\_source module .. automodule:: kubernetes.client.models.v1_aws_elastic_block_store_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_azure_disk_volume_source.rst b/doc/source/kubernetes.client.models.v1_azure_disk_volume_source.rst index 7ea6db9ee8..9494f892f4 100644 --- a/doc/source/kubernetes.client.models.v1_azure_disk_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_azure_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_azure\_disk\_volume\_source module .. automodule:: kubernetes.client.models.v1_azure_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_azure_file_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_azure_file_persistent_volume_source.rst index 3d893312bf..6d97cd127b 100644 --- a/doc/source/kubernetes.client.models.v1_azure_file_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_azure_file_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_azure\_file\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_azure_file_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_azure_file_volume_source.rst b/doc/source/kubernetes.client.models.v1_azure_file_volume_source.rst index 60eec32738..a873b64c65 100644 --- a/doc/source/kubernetes.client.models.v1_azure_file_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_azure_file_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_azure\_file\_volume\_source module .. automodule:: kubernetes.client.models.v1_azure_file_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_binding.rst b/doc/source/kubernetes.client.models.v1_binding.rst index 75e1b04362..16f36bd605 100644 --- a/doc/source/kubernetes.client.models.v1_binding.rst +++ b/doc/source/kubernetes.client.models.v1_binding.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_binding module .. automodule:: kubernetes.client.models.v1_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_bound_object_reference.rst b/doc/source/kubernetes.client.models.v1_bound_object_reference.rst index 5e1e4e252d..30addee717 100644 --- a/doc/source/kubernetes.client.models.v1_bound_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_bound_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_bound\_object\_reference module .. automodule:: kubernetes.client.models.v1_bound_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_capabilities.rst b/doc/source/kubernetes.client.models.v1_capabilities.rst index 0224d979e7..3cd1aa0437 100644 --- a/doc/source/kubernetes.client.models.v1_capabilities.rst +++ b/doc/source/kubernetes.client.models.v1_capabilities.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_capabilities module .. automodule:: kubernetes.client.models.v1_capabilities :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_capacity_request_policy.rst b/doc/source/kubernetes.client.models.v1_capacity_request_policy.rst new file mode 100644 index 0000000000..b2603ed011 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_capacity\_request\_policy module +============================================================= + +.. automodule:: kubernetes.client.models.v1_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_capacity_request_policy_range.rst b/doc/source/kubernetes.client.models.v1_capacity_request_policy_range.rst new file mode 100644 index 0000000000..ad39af6925 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_capacity\_request\_policy\_range module +==================================================================== + +.. automodule:: kubernetes.client.models.v1_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_capacity_requirements.rst b/doc/source/kubernetes.client.models.v1_capacity_requirements.rst new file mode 100644 index 0000000000..ff1331c983 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_capacity\_requirements module +========================================================== + +.. automodule:: kubernetes.client.models.v1_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cel_device_selector.rst b/doc/source/kubernetes.client.models.v1_cel_device_selector.rst new file mode 100644 index 0000000000..d865fe6820 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_cel\_device\_selector module +========================================================= + +.. automodule:: kubernetes.client.models.v1_cel_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ceph_fs_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_ceph_fs_persistent_volume_source.rst index 5576bc0925..1aea4f9e1d 100644 --- a/doc/source/kubernetes.client.models.v1_ceph_fs_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_ceph_fs_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ceph\_fs\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_ceph_fs_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ceph_fs_volume_source.rst b/doc/source/kubernetes.client.models.v1_ceph_fs_volume_source.rst index 414fd92e05..73ce1bb238 100644 --- a/doc/source/kubernetes.client.models.v1_ceph_fs_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_ceph_fs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ceph\_fs\_volume\_source module .. automodule:: kubernetes.client.models.v1_ceph_fs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_certificate_signing_request.rst b/doc/source/kubernetes.client.models.v1_certificate_signing_request.rst index 75ee679984..ce601a7111 100644 --- a/doc/source/kubernetes.client.models.v1_certificate_signing_request.rst +++ b/doc/source/kubernetes.client.models.v1_certificate_signing_request.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_certificate\_signing\_request module .. automodule:: kubernetes.client.models.v1_certificate_signing_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_certificate_signing_request_condition.rst b/doc/source/kubernetes.client.models.v1_certificate_signing_request_condition.rst index ba846dbb1b..e8b343de23 100644 --- a/doc/source/kubernetes.client.models.v1_certificate_signing_request_condition.rst +++ b/doc/source/kubernetes.client.models.v1_certificate_signing_request_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_certificate\_signing\_request\_condition module .. automodule:: kubernetes.client.models.v1_certificate_signing_request_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_certificate_signing_request_list.rst b/doc/source/kubernetes.client.models.v1_certificate_signing_request_list.rst index a95a6e9a74..c8643a220c 100644 --- a/doc/source/kubernetes.client.models.v1_certificate_signing_request_list.rst +++ b/doc/source/kubernetes.client.models.v1_certificate_signing_request_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_certificate\_signing\_request\_list module .. automodule:: kubernetes.client.models.v1_certificate_signing_request_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_certificate_signing_request_spec.rst b/doc/source/kubernetes.client.models.v1_certificate_signing_request_spec.rst index 95366cd8e0..45fd5a269b 100644 --- a/doc/source/kubernetes.client.models.v1_certificate_signing_request_spec.rst +++ b/doc/source/kubernetes.client.models.v1_certificate_signing_request_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_certificate\_signing\_request\_spec module .. automodule:: kubernetes.client.models.v1_certificate_signing_request_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_certificate_signing_request_status.rst b/doc/source/kubernetes.client.models.v1_certificate_signing_request_status.rst index e3a9ab1175..331f7dc440 100644 --- a/doc/source/kubernetes.client.models.v1_certificate_signing_request_status.rst +++ b/doc/source/kubernetes.client.models.v1_certificate_signing_request_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_certificate\_signing\_request\_status module .. automodule:: kubernetes.client.models.v1_certificate_signing_request_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cinder_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_cinder_persistent_volume_source.rst index 42000f40d8..cb9eea150d 100644 --- a/doc/source/kubernetes.client.models.v1_cinder_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_cinder_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cinder\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_cinder_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cinder_volume_source.rst b/doc/source/kubernetes.client.models.v1_cinder_volume_source.rst index cd2dec4ba6..3d5505296d 100644 --- a/doc/source/kubernetes.client.models.v1_cinder_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_cinder_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cinder\_volume\_source module .. automodule:: kubernetes.client.models.v1_cinder_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_client_ip_config.rst b/doc/source/kubernetes.client.models.v1_client_ip_config.rst index 5aeaed5d7f..f03d5fc3b9 100644 --- a/doc/source/kubernetes.client.models.v1_client_ip_config.rst +++ b/doc/source/kubernetes.client.models.v1_client_ip_config.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_client\_ip\_config module .. automodule:: kubernetes.client.models.v1_client_ip_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cluster_role.rst b/doc/source/kubernetes.client.models.v1_cluster_role.rst index a7ce90294c..dedda9124e 100644 --- a/doc/source/kubernetes.client.models.v1_cluster_role.rst +++ b/doc/source/kubernetes.client.models.v1_cluster_role.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cluster\_role module .. automodule:: kubernetes.client.models.v1_cluster_role :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cluster_role_binding.rst b/doc/source/kubernetes.client.models.v1_cluster_role_binding.rst index 7a161ba73d..7addcce718 100644 --- a/doc/source/kubernetes.client.models.v1_cluster_role_binding.rst +++ b/doc/source/kubernetes.client.models.v1_cluster_role_binding.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cluster\_role\_binding module .. automodule:: kubernetes.client.models.v1_cluster_role_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cluster_role_binding_list.rst b/doc/source/kubernetes.client.models.v1_cluster_role_binding_list.rst index 668d13b5dc..49c15f8274 100644 --- a/doc/source/kubernetes.client.models.v1_cluster_role_binding_list.rst +++ b/doc/source/kubernetes.client.models.v1_cluster_role_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cluster\_role\_binding\_list module .. automodule:: kubernetes.client.models.v1_cluster_role_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cluster_role_list.rst b/doc/source/kubernetes.client.models.v1_cluster_role_list.rst index 93be3956eb..51d9fb2a54 100644 --- a/doc/source/kubernetes.client.models.v1_cluster_role_list.rst +++ b/doc/source/kubernetes.client.models.v1_cluster_role_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cluster\_role\_list module .. automodule:: kubernetes.client.models.v1_cluster_role_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cluster_trust_bundle_projection.rst b/doc/source/kubernetes.client.models.v1_cluster_trust_bundle_projection.rst index 84e027ffab..47fb13c681 100644 --- a/doc/source/kubernetes.client.models.v1_cluster_trust_bundle_projection.rst +++ b/doc/source/kubernetes.client.models.v1_cluster_trust_bundle_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cluster\_trust\_bundle\_projection module .. automodule:: kubernetes.client.models.v1_cluster_trust_bundle_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_component_condition.rst b/doc/source/kubernetes.client.models.v1_component_condition.rst index e54950080a..c88994d348 100644 --- a/doc/source/kubernetes.client.models.v1_component_condition.rst +++ b/doc/source/kubernetes.client.models.v1_component_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_component\_condition module .. automodule:: kubernetes.client.models.v1_component_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_component_status.rst b/doc/source/kubernetes.client.models.v1_component_status.rst index 79dac8cf98..efaa0df536 100644 --- a/doc/source/kubernetes.client.models.v1_component_status.rst +++ b/doc/source/kubernetes.client.models.v1_component_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_component\_status module .. automodule:: kubernetes.client.models.v1_component_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_component_status_list.rst b/doc/source/kubernetes.client.models.v1_component_status_list.rst index 8f0554a341..7236e7253a 100644 --- a/doc/source/kubernetes.client.models.v1_component_status_list.rst +++ b/doc/source/kubernetes.client.models.v1_component_status_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_component\_status\_list module .. automodule:: kubernetes.client.models.v1_component_status_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_condition.rst b/doc/source/kubernetes.client.models.v1_condition.rst index 49c0474de2..cff0b0bd15 100644 --- a/doc/source/kubernetes.client.models.v1_condition.rst +++ b/doc/source/kubernetes.client.models.v1_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_condition module .. automodule:: kubernetes.client.models.v1_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map.rst b/doc/source/kubernetes.client.models.v1_config_map.rst index 935418fff0..de9f7342a6 100644 --- a/doc/source/kubernetes.client.models.v1_config_map.rst +++ b/doc/source/kubernetes.client.models.v1_config_map.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map module .. automodule:: kubernetes.client.models.v1_config_map :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_env_source.rst b/doc/source/kubernetes.client.models.v1_config_map_env_source.rst index 0c3a3c5ae2..79a69c8b0d 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_env_source.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_env_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_env\_source module .. automodule:: kubernetes.client.models.v1_config_map_env_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_key_selector.rst b/doc/source/kubernetes.client.models.v1_config_map_key_selector.rst index 406f87f1df..f67302bd21 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_key_selector.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_key_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_key\_selector module .. automodule:: kubernetes.client.models.v1_config_map_key_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_list.rst b/doc/source/kubernetes.client.models.v1_config_map_list.rst index 9cb27aa9e5..91811dc919 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_list.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_list module .. automodule:: kubernetes.client.models.v1_config_map_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_node_config_source.rst b/doc/source/kubernetes.client.models.v1_config_map_node_config_source.rst index 13fb03fe54..eddc16ffc7 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_node_config_source.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_node_config_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_node\_config\_source module .. automodule:: kubernetes.client.models.v1_config_map_node_config_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_projection.rst b/doc/source/kubernetes.client.models.v1_config_map_projection.rst index e7ab88c003..594589acb5 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_projection.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_projection module .. automodule:: kubernetes.client.models.v1_config_map_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_config_map_volume_source.rst b/doc/source/kubernetes.client.models.v1_config_map_volume_source.rst index 97e7958ab4..7a73868308 100644 --- a/doc/source/kubernetes.client.models.v1_config_map_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_config_map_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_config\_map\_volume\_source module .. automodule:: kubernetes.client.models.v1_config_map_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container.rst b/doc/source/kubernetes.client.models.v1_container.rst index f4156fbbb5..dd50e12091 100644 --- a/doc/source/kubernetes.client.models.v1_container.rst +++ b/doc/source/kubernetes.client.models.v1_container.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container module .. automodule:: kubernetes.client.models.v1_container :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_extended_resource_request.rst b/doc/source/kubernetes.client.models.v1_container_extended_resource_request.rst new file mode 100644 index 0000000000..95c4d318e9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_container_extended_resource_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_container\_extended\_resource\_request module +========================================================================== + +.. automodule:: kubernetes.client.models.v1_container_extended_resource_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_image.rst b/doc/source/kubernetes.client.models.v1_container_image.rst index c655edb623..8323cfc05c 100644 --- a/doc/source/kubernetes.client.models.v1_container_image.rst +++ b/doc/source/kubernetes.client.models.v1_container_image.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_image module .. automodule:: kubernetes.client.models.v1_container_image :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_port.rst b/doc/source/kubernetes.client.models.v1_container_port.rst index 73be976d05..6eff032cad 100644 --- a/doc/source/kubernetes.client.models.v1_container_port.rst +++ b/doc/source/kubernetes.client.models.v1_container_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_port module .. automodule:: kubernetes.client.models.v1_container_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_resize_policy.rst b/doc/source/kubernetes.client.models.v1_container_resize_policy.rst index eec06fac79..f332be7020 100644 --- a/doc/source/kubernetes.client.models.v1_container_resize_policy.rst +++ b/doc/source/kubernetes.client.models.v1_container_resize_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_resize\_policy module .. automodule:: kubernetes.client.models.v1_container_resize_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_restart_rule.rst b/doc/source/kubernetes.client.models.v1_container_restart_rule.rst new file mode 100644 index 0000000000..e6b47b21ba --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_container_restart_rule.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_container\_restart\_rule module +============================================================ + +.. automodule:: kubernetes.client.models.v1_container_restart_rule + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_restart_rule_on_exit_codes.rst b/doc/source/kubernetes.client.models.v1_container_restart_rule_on_exit_codes.rst new file mode 100644 index 0000000000..5f5830fbcf --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_container_restart_rule_on_exit_codes.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_container\_restart\_rule\_on\_exit\_codes module +============================================================================= + +.. automodule:: kubernetes.client.models.v1_container_restart_rule_on_exit_codes + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_state.rst b/doc/source/kubernetes.client.models.v1_container_state.rst index 59b0ccbd53..2e7e584813 100644 --- a/doc/source/kubernetes.client.models.v1_container_state.rst +++ b/doc/source/kubernetes.client.models.v1_container_state.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_state module .. automodule:: kubernetes.client.models.v1_container_state :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_state_running.rst b/doc/source/kubernetes.client.models.v1_container_state_running.rst index a2538528da..b62c07517b 100644 --- a/doc/source/kubernetes.client.models.v1_container_state_running.rst +++ b/doc/source/kubernetes.client.models.v1_container_state_running.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_state\_running module .. automodule:: kubernetes.client.models.v1_container_state_running :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_state_terminated.rst b/doc/source/kubernetes.client.models.v1_container_state_terminated.rst index 9c666c2bbd..bd1aa14291 100644 --- a/doc/source/kubernetes.client.models.v1_container_state_terminated.rst +++ b/doc/source/kubernetes.client.models.v1_container_state_terminated.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_state\_terminated module .. automodule:: kubernetes.client.models.v1_container_state_terminated :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_state_waiting.rst b/doc/source/kubernetes.client.models.v1_container_state_waiting.rst index d57773d302..916f1fe1cb 100644 --- a/doc/source/kubernetes.client.models.v1_container_state_waiting.rst +++ b/doc/source/kubernetes.client.models.v1_container_state_waiting.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_state\_waiting module .. automodule:: kubernetes.client.models.v1_container_state_waiting :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_status.rst b/doc/source/kubernetes.client.models.v1_container_status.rst index cdfa14dc40..e37ee60c6f 100644 --- a/doc/source/kubernetes.client.models.v1_container_status.rst +++ b/doc/source/kubernetes.client.models.v1_container_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_status module .. automodule:: kubernetes.client.models.v1_container_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_container_user.rst b/doc/source/kubernetes.client.models.v1_container_user.rst index a4ecd2aa32..3b9f91282e 100644 --- a/doc/source/kubernetes.client.models.v1_container_user.rst +++ b/doc/source/kubernetes.client.models.v1_container_user.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_container\_user module .. automodule:: kubernetes.client.models.v1_container_user :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_controller_revision.rst b/doc/source/kubernetes.client.models.v1_controller_revision.rst index 55b87f5dbf..5565a62983 100644 --- a/doc/source/kubernetes.client.models.v1_controller_revision.rst +++ b/doc/source/kubernetes.client.models.v1_controller_revision.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_controller\_revision module .. automodule:: kubernetes.client.models.v1_controller_revision :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_controller_revision_list.rst b/doc/source/kubernetes.client.models.v1_controller_revision_list.rst index 10cdc30a8f..9d8b1105e1 100644 --- a/doc/source/kubernetes.client.models.v1_controller_revision_list.rst +++ b/doc/source/kubernetes.client.models.v1_controller_revision_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_controller\_revision\_list module .. automodule:: kubernetes.client.models.v1_controller_revision_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_counter.rst b/doc/source/kubernetes.client.models.v1_counter.rst new file mode 100644 index 0000000000..ca9b1be065 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_counter.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_counter module +=========================================== + +.. automodule:: kubernetes.client.models.v1_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_counter_set.rst b/doc/source/kubernetes.client.models.v1_counter_set.rst new file mode 100644 index 0000000000..9225afff30 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_counter\_set module +================================================ + +.. automodule:: kubernetes.client.models.v1_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cron_job.rst b/doc/source/kubernetes.client.models.v1_cron_job.rst index a3f375bbef..51b82e2264 100644 --- a/doc/source/kubernetes.client.models.v1_cron_job.rst +++ b/doc/source/kubernetes.client.models.v1_cron_job.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cron\_job module .. automodule:: kubernetes.client.models.v1_cron_job :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cron_job_list.rst b/doc/source/kubernetes.client.models.v1_cron_job_list.rst index 93fb151159..5d84e8f726 100644 --- a/doc/source/kubernetes.client.models.v1_cron_job_list.rst +++ b/doc/source/kubernetes.client.models.v1_cron_job_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cron\_job\_list module .. automodule:: kubernetes.client.models.v1_cron_job_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cron_job_spec.rst b/doc/source/kubernetes.client.models.v1_cron_job_spec.rst index 6a4a98e69e..cb65e74b42 100644 --- a/doc/source/kubernetes.client.models.v1_cron_job_spec.rst +++ b/doc/source/kubernetes.client.models.v1_cron_job_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cron\_job\_spec module .. automodule:: kubernetes.client.models.v1_cron_job_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cron_job_status.rst b/doc/source/kubernetes.client.models.v1_cron_job_status.rst index a77fa8ac95..f65c353d1d 100644 --- a/doc/source/kubernetes.client.models.v1_cron_job_status.rst +++ b/doc/source/kubernetes.client.models.v1_cron_job_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cron\_job\_status module .. automodule:: kubernetes.client.models.v1_cron_job_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_cross_version_object_reference.rst b/doc/source/kubernetes.client.models.v1_cross_version_object_reference.rst index 3615386c4a..6ddbfb82de 100644 --- a/doc/source/kubernetes.client.models.v1_cross_version_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_cross_version_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_cross\_version\_object\_reference module .. automodule:: kubernetes.client.models.v1_cross_version_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_driver.rst b/doc/source/kubernetes.client.models.v1_csi_driver.rst index 97fad98ff6..13f63f2ca1 100644 --- a/doc/source/kubernetes.client.models.v1_csi_driver.rst +++ b/doc/source/kubernetes.client.models.v1_csi_driver.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_driver module .. automodule:: kubernetes.client.models.v1_csi_driver :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_driver_list.rst b/doc/source/kubernetes.client.models.v1_csi_driver_list.rst index 62ec4b0a62..04d34b9218 100644 --- a/doc/source/kubernetes.client.models.v1_csi_driver_list.rst +++ b/doc/source/kubernetes.client.models.v1_csi_driver_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_driver\_list module .. automodule:: kubernetes.client.models.v1_csi_driver_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_driver_spec.rst b/doc/source/kubernetes.client.models.v1_csi_driver_spec.rst index c8e4085d0a..c68d3e4c91 100644 --- a/doc/source/kubernetes.client.models.v1_csi_driver_spec.rst +++ b/doc/source/kubernetes.client.models.v1_csi_driver_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_driver\_spec module .. automodule:: kubernetes.client.models.v1_csi_driver_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_node.rst b/doc/source/kubernetes.client.models.v1_csi_node.rst index 46f0972f9e..1c09442467 100644 --- a/doc/source/kubernetes.client.models.v1_csi_node.rst +++ b/doc/source/kubernetes.client.models.v1_csi_node.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_node module .. automodule:: kubernetes.client.models.v1_csi_node :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_node_driver.rst b/doc/source/kubernetes.client.models.v1_csi_node_driver.rst index 6028175915..5217fb6a53 100644 --- a/doc/source/kubernetes.client.models.v1_csi_node_driver.rst +++ b/doc/source/kubernetes.client.models.v1_csi_node_driver.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_node\_driver module .. automodule:: kubernetes.client.models.v1_csi_node_driver :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_node_list.rst b/doc/source/kubernetes.client.models.v1_csi_node_list.rst index e00ef72e4d..d709ceab91 100644 --- a/doc/source/kubernetes.client.models.v1_csi_node_list.rst +++ b/doc/source/kubernetes.client.models.v1_csi_node_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_node\_list module .. automodule:: kubernetes.client.models.v1_csi_node_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_node_spec.rst b/doc/source/kubernetes.client.models.v1_csi_node_spec.rst index 11efa93b89..c28a46d788 100644 --- a/doc/source/kubernetes.client.models.v1_csi_node_spec.rst +++ b/doc/source/kubernetes.client.models.v1_csi_node_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_node\_spec module .. automodule:: kubernetes.client.models.v1_csi_node_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_csi_persistent_volume_source.rst index 6d0cf0e0d7..db1fbbb0a0 100644 --- a/doc/source/kubernetes.client.models.v1_csi_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_csi_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_csi_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_storage_capacity.rst b/doc/source/kubernetes.client.models.v1_csi_storage_capacity.rst index ced25fe788..f68b4e4a73 100644 --- a/doc/source/kubernetes.client.models.v1_csi_storage_capacity.rst +++ b/doc/source/kubernetes.client.models.v1_csi_storage_capacity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_storage\_capacity module .. automodule:: kubernetes.client.models.v1_csi_storage_capacity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_storage_capacity_list.rst b/doc/source/kubernetes.client.models.v1_csi_storage_capacity_list.rst index 02a56c9870..72d34d93d2 100644 --- a/doc/source/kubernetes.client.models.v1_csi_storage_capacity_list.rst +++ b/doc/source/kubernetes.client.models.v1_csi_storage_capacity_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_storage\_capacity\_list module .. automodule:: kubernetes.client.models.v1_csi_storage_capacity_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_csi_volume_source.rst b/doc/source/kubernetes.client.models.v1_csi_volume_source.rst index c20c4a4012..ca17290c71 100644 --- a/doc/source/kubernetes.client.models.v1_csi_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_csi_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_csi\_volume\_source module .. automodule:: kubernetes.client.models.v1_csi_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_column_definition.rst b/doc/source/kubernetes.client.models.v1_custom_resource_column_definition.rst index 3fc8f53857..aa9b94bc4d 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_column_definition.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_column_definition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_column\_definition module .. automodule:: kubernetes.client.models.v1_custom_resource_column_definition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_conversion.rst b/doc/source/kubernetes.client.models.v1_custom_resource_conversion.rst index 369a047262..dea8fcb7be 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_conversion.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_conversion.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_conversion module .. automodule:: kubernetes.client.models.v1_custom_resource_conversion :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition.rst index 3be2882059..c2288bc189 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition module .. automodule:: kubernetes.client.models.v1_custom_resource_definition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_condition.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_condition.rst index e3c7891674..5caa5923f0 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_condition.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_condition module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_list.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_list.rst index f42279f3f8..54997b3f68 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_list.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_list module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_names.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_names.rst index 71a7a88380..45db8ce171 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_names.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_names.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_names module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_names :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_spec.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_spec.rst index 923bfd72a3..5e535e6eba 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_spec.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_spec module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_status.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_status.rst index 629eee59aa..19412cdec0 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_status.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_status module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_definition_version.rst b/doc/source/kubernetes.client.models.v1_custom_resource_definition_version.rst index 86ad295b9a..ea46e72f79 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_definition_version.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_definition_version.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_definition\_version module .. automodule:: kubernetes.client.models.v1_custom_resource_definition_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_subresource_scale.rst b/doc/source/kubernetes.client.models.v1_custom_resource_subresource_scale.rst index 509da6c21b..e039de4f46 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_subresource_scale.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_subresource_scale.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_subresource\_scale module .. automodule:: kubernetes.client.models.v1_custom_resource_subresource_scale :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_subresources.rst b/doc/source/kubernetes.client.models.v1_custom_resource_subresources.rst index 202683ce67..4cf1ebc1b5 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_subresources.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_subresources.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_subresources module .. automodule:: kubernetes.client.models.v1_custom_resource_subresources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_custom_resource_validation.rst b/doc/source/kubernetes.client.models.v1_custom_resource_validation.rst index ec5cf0ab9b..dfb285e1ae 100644 --- a/doc/source/kubernetes.client.models.v1_custom_resource_validation.rst +++ b/doc/source/kubernetes.client.models.v1_custom_resource_validation.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_custom\_resource\_validation module .. automodule:: kubernetes.client.models.v1_custom_resource_validation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_endpoint.rst b/doc/source/kubernetes.client.models.v1_daemon_endpoint.rst index fbae105d0b..48cf9047ee 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_endpoint.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_endpoint.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_endpoint module .. automodule:: kubernetes.client.models.v1_daemon_endpoint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set.rst b/doc/source/kubernetes.client.models.v1_daemon_set.rst index 83d6e49a4a..ebfe039a81 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set module .. automodule:: kubernetes.client.models.v1_daemon_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set_condition.rst b/doc/source/kubernetes.client.models.v1_daemon_set_condition.rst index 03aa2185b8..6b05842743 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set_condition.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set\_condition module .. automodule:: kubernetes.client.models.v1_daemon_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set_list.rst b/doc/source/kubernetes.client.models.v1_daemon_set_list.rst index d4568a0c6b..608404bc02 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set_list.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set\_list module .. automodule:: kubernetes.client.models.v1_daemon_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set_spec.rst b/doc/source/kubernetes.client.models.v1_daemon_set_spec.rst index 978e1de955..c30c4a650f 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set_spec.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set\_spec module .. automodule:: kubernetes.client.models.v1_daemon_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set_status.rst b/doc/source/kubernetes.client.models.v1_daemon_set_status.rst index da7205bb10..7be6bebf0e 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set_status.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set\_status module .. automodule:: kubernetes.client.models.v1_daemon_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_daemon_set_update_strategy.rst b/doc/source/kubernetes.client.models.v1_daemon_set_update_strategy.rst index 2c141f3ca0..1b502bcef5 100644 --- a/doc/source/kubernetes.client.models.v1_daemon_set_update_strategy.rst +++ b/doc/source/kubernetes.client.models.v1_daemon_set_update_strategy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_daemon\_set\_update\_strategy module .. automodule:: kubernetes.client.models.v1_daemon_set_update_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_delete_options.rst b/doc/source/kubernetes.client.models.v1_delete_options.rst index b4163b7b6d..c97d0714f2 100644 --- a/doc/source/kubernetes.client.models.v1_delete_options.rst +++ b/doc/source/kubernetes.client.models.v1_delete_options.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_delete\_options module .. automodule:: kubernetes.client.models.v1_delete_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment.rst b/doc/source/kubernetes.client.models.v1_deployment.rst index 1dd1700ac6..92198a4e6f 100644 --- a/doc/source/kubernetes.client.models.v1_deployment.rst +++ b/doc/source/kubernetes.client.models.v1_deployment.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment module .. automodule:: kubernetes.client.models.v1_deployment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment_condition.rst b/doc/source/kubernetes.client.models.v1_deployment_condition.rst index 41ca84d191..5b32513e9e 100644 --- a/doc/source/kubernetes.client.models.v1_deployment_condition.rst +++ b/doc/source/kubernetes.client.models.v1_deployment_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment\_condition module .. automodule:: kubernetes.client.models.v1_deployment_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment_list.rst b/doc/source/kubernetes.client.models.v1_deployment_list.rst index de8850bdf0..e5d95a3500 100644 --- a/doc/source/kubernetes.client.models.v1_deployment_list.rst +++ b/doc/source/kubernetes.client.models.v1_deployment_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment\_list module .. automodule:: kubernetes.client.models.v1_deployment_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment_spec.rst b/doc/source/kubernetes.client.models.v1_deployment_spec.rst index 1e0ad6f0b1..a6c8a17956 100644 --- a/doc/source/kubernetes.client.models.v1_deployment_spec.rst +++ b/doc/source/kubernetes.client.models.v1_deployment_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment\_spec module .. automodule:: kubernetes.client.models.v1_deployment_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment_status.rst b/doc/source/kubernetes.client.models.v1_deployment_status.rst index 3fb7385fb7..c50e1319d4 100644 --- a/doc/source/kubernetes.client.models.v1_deployment_status.rst +++ b/doc/source/kubernetes.client.models.v1_deployment_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment\_status module .. automodule:: kubernetes.client.models.v1_deployment_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_deployment_strategy.rst b/doc/source/kubernetes.client.models.v1_deployment_strategy.rst index 98d2c9d233..61a1cbaf68 100644 --- a/doc/source/kubernetes.client.models.v1_deployment_strategy.rst +++ b/doc/source/kubernetes.client.models.v1_deployment_strategy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_deployment\_strategy module .. automodule:: kubernetes.client.models.v1_deployment_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device.rst b/doc/source/kubernetes.client.models.v1_device.rst new file mode 100644 index 0000000000..28860e2f05 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device module +========================================== + +.. automodule:: kubernetes.client.models.v1_device + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_allocation_configuration.rst b/doc/source/kubernetes.client.models.v1_device_allocation_configuration.rst new file mode 100644 index 0000000000..7330cb629f --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_allocation\_configuration module +===================================================================== + +.. automodule:: kubernetes.client.models.v1_device_allocation_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_allocation_result.rst b/doc/source/kubernetes.client.models.v1_device_allocation_result.rst new file mode 100644 index 0000000000..8abc7e1d8e --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_allocation\_result module +============================================================== + +.. automodule:: kubernetes.client.models.v1_device_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_attribute.rst b/doc/source/kubernetes.client.models.v1_device_attribute.rst new file mode 100644 index 0000000000..4c30ab8b7c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_attribute module +===================================================== + +.. automodule:: kubernetes.client.models.v1_device_attribute + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_capacity.rst b/doc/source/kubernetes.client.models.v1_device_capacity.rst new file mode 100644 index 0000000000..e66b25874a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_capacity module +==================================================== + +.. automodule:: kubernetes.client.models.v1_device_capacity + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_claim.rst b/doc/source/kubernetes.client.models.v1_device_claim.rst new file mode 100644 index 0000000000..3ab8762760 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_claim module +================================================= + +.. automodule:: kubernetes.client.models.v1_device_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_claim_configuration.rst b/doc/source/kubernetes.client.models.v1_device_claim_configuration.rst new file mode 100644 index 0000000000..5fc7b7eef0 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_claim\_configuration module +================================================================ + +.. automodule:: kubernetes.client.models.v1_device_claim_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_class.rst b/doc/source/kubernetes.client.models.v1_device_class.rst new file mode 100644 index 0000000000..346d15793e --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_class module +================================================= + +.. automodule:: kubernetes.client.models.v1_device_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_class_configuration.rst b/doc/source/kubernetes.client.models.v1_device_class_configuration.rst new file mode 100644 index 0000000000..29052e48a6 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_class\_configuration module +================================================================ + +.. automodule:: kubernetes.client.models.v1_device_class_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_class_list.rst b/doc/source/kubernetes.client.models.v1_device_class_list.rst new file mode 100644 index 0000000000..80e5dfefc0 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_class\_list module +======================================================= + +.. automodule:: kubernetes.client.models.v1_device_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_class_spec.rst b/doc/source/kubernetes.client.models.v1_device_class_spec.rst new file mode 100644 index 0000000000..a9c660143c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_class\_spec module +======================================================= + +.. automodule:: kubernetes.client.models.v1_device_class_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_constraint.rst b/doc/source/kubernetes.client.models.v1_device_constraint.rst new file mode 100644 index 0000000000..65cb5eddcd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_constraint module +====================================================== + +.. automodule:: kubernetes.client.models.v1_device_constraint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_counter_consumption.rst b/doc/source/kubernetes.client.models.v1_device_counter_consumption.rst new file mode 100644 index 0000000000..a1b5ca7844 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_counter\_consumption module +================================================================ + +.. automodule:: kubernetes.client.models.v1_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_request.rst b/doc/source/kubernetes.client.models.v1_device_request.rst new file mode 100644 index 0000000000..fc64c0b46a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_request module +=================================================== + +.. automodule:: kubernetes.client.models.v1_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_request_allocation_result.rst b/doc/source/kubernetes.client.models.v1_device_request_allocation_result.rst new file mode 100644 index 0000000000..0ebe58b1f6 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_request\_allocation\_result module +======================================================================= + +.. automodule:: kubernetes.client.models.v1_device_request_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_selector.rst b/doc/source/kubernetes.client.models.v1_device_selector.rst new file mode 100644 index 0000000000..a3b2f0c2c2 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_selector module +==================================================== + +.. automodule:: kubernetes.client.models.v1_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_sub_request.rst b/doc/source/kubernetes.client.models.v1_device_sub_request.rst new file mode 100644 index 0000000000..72b26ae816 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_sub\_request module +======================================================== + +.. automodule:: kubernetes.client.models.v1_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_taint.rst b/doc/source/kubernetes.client.models.v1_device_taint.rst new file mode 100644 index 0000000000..859a549110 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_taint module +================================================= + +.. automodule:: kubernetes.client.models.v1_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_device_toleration.rst b/doc/source/kubernetes.client.models.v1_device_toleration.rst new file mode 100644 index 0000000000..175d6f8896 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_device\_toleration module +====================================================== + +.. automodule:: kubernetes.client.models.v1_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_downward_api_projection.rst b/doc/source/kubernetes.client.models.v1_downward_api_projection.rst index dae0103cbe..e11dbeb054 100644 --- a/doc/source/kubernetes.client.models.v1_downward_api_projection.rst +++ b/doc/source/kubernetes.client.models.v1_downward_api_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_downward\_api\_projection module .. automodule:: kubernetes.client.models.v1_downward_api_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_downward_api_volume_file.rst b/doc/source/kubernetes.client.models.v1_downward_api_volume_file.rst index 84d0be6867..cff0db2693 100644 --- a/doc/source/kubernetes.client.models.v1_downward_api_volume_file.rst +++ b/doc/source/kubernetes.client.models.v1_downward_api_volume_file.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_downward\_api\_volume\_file module .. automodule:: kubernetes.client.models.v1_downward_api_volume_file :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_downward_api_volume_source.rst b/doc/source/kubernetes.client.models.v1_downward_api_volume_source.rst index f862398506..c79c884334 100644 --- a/doc/source/kubernetes.client.models.v1_downward_api_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_downward_api_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_downward\_api\_volume\_source module .. automodule:: kubernetes.client.models.v1_downward_api_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_empty_dir_volume_source.rst b/doc/source/kubernetes.client.models.v1_empty_dir_volume_source.rst index d257476b5f..65bec6b8d8 100644 --- a/doc/source/kubernetes.client.models.v1_empty_dir_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_empty_dir_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_empty\_dir\_volume\_source module .. automodule:: kubernetes.client.models.v1_empty_dir_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint.rst b/doc/source/kubernetes.client.models.v1_endpoint.rst index 0836109b30..6162eb7ec9 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint module .. automodule:: kubernetes.client.models.v1_endpoint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_address.rst b/doc/source/kubernetes.client.models.v1_endpoint_address.rst index db6502d070..20e1d9b446 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_address.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_address.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_address module .. automodule:: kubernetes.client.models.v1_endpoint_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_conditions.rst b/doc/source/kubernetes.client.models.v1_endpoint_conditions.rst index 30800372e4..b60b46cda1 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_conditions.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_conditions.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_conditions module .. automodule:: kubernetes.client.models.v1_endpoint_conditions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_hints.rst b/doc/source/kubernetes.client.models.v1_endpoint_hints.rst index 4e1c72e18d..1a1401baa7 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_hints.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_hints.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_hints module .. automodule:: kubernetes.client.models.v1_endpoint_hints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_slice.rst b/doc/source/kubernetes.client.models.v1_endpoint_slice.rst index e7f0675852..f0edb27277 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_slice.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_slice.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_slice module .. automodule:: kubernetes.client.models.v1_endpoint_slice :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_slice_list.rst b/doc/source/kubernetes.client.models.v1_endpoint_slice_list.rst index 9cde9e3acb..32cdc5bae0 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_slice_list.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_slice_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_slice\_list module .. automodule:: kubernetes.client.models.v1_endpoint_slice_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoint_subset.rst b/doc/source/kubernetes.client.models.v1_endpoint_subset.rst index f6c0c18290..b3e9e738c0 100644 --- a/doc/source/kubernetes.client.models.v1_endpoint_subset.rst +++ b/doc/source/kubernetes.client.models.v1_endpoint_subset.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoint\_subset module .. automodule:: kubernetes.client.models.v1_endpoint_subset :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoints.rst b/doc/source/kubernetes.client.models.v1_endpoints.rst index b24c8f026b..2a0f621008 100644 --- a/doc/source/kubernetes.client.models.v1_endpoints.rst +++ b/doc/source/kubernetes.client.models.v1_endpoints.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoints module .. automodule:: kubernetes.client.models.v1_endpoints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_endpoints_list.rst b/doc/source/kubernetes.client.models.v1_endpoints_list.rst index 9ab95785e8..89a1d42a3a 100644 --- a/doc/source/kubernetes.client.models.v1_endpoints_list.rst +++ b/doc/source/kubernetes.client.models.v1_endpoints_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_endpoints\_list module .. automodule:: kubernetes.client.models.v1_endpoints_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_env_from_source.rst b/doc/source/kubernetes.client.models.v1_env_from_source.rst index fea9fc6473..68b5986df2 100644 --- a/doc/source/kubernetes.client.models.v1_env_from_source.rst +++ b/doc/source/kubernetes.client.models.v1_env_from_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_env\_from\_source module .. automodule:: kubernetes.client.models.v1_env_from_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_env_var.rst b/doc/source/kubernetes.client.models.v1_env_var.rst index b9dc75b879..1630c07563 100644 --- a/doc/source/kubernetes.client.models.v1_env_var.rst +++ b/doc/source/kubernetes.client.models.v1_env_var.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_env\_var module .. automodule:: kubernetes.client.models.v1_env_var :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_env_var_source.rst b/doc/source/kubernetes.client.models.v1_env_var_source.rst index 90e5c2630a..8f8a3d1b5a 100644 --- a/doc/source/kubernetes.client.models.v1_env_var_source.rst +++ b/doc/source/kubernetes.client.models.v1_env_var_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_env\_var\_source module .. automodule:: kubernetes.client.models.v1_env_var_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ephemeral_container.rst b/doc/source/kubernetes.client.models.v1_ephemeral_container.rst index 015a6f1bbe..3867d5e8c9 100644 --- a/doc/source/kubernetes.client.models.v1_ephemeral_container.rst +++ b/doc/source/kubernetes.client.models.v1_ephemeral_container.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ephemeral\_container module .. automodule:: kubernetes.client.models.v1_ephemeral_container :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ephemeral_volume_source.rst b/doc/source/kubernetes.client.models.v1_ephemeral_volume_source.rst index 6083bf55ae..f98d128ff8 100644 --- a/doc/source/kubernetes.client.models.v1_ephemeral_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_ephemeral_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ephemeral\_volume\_source module .. automodule:: kubernetes.client.models.v1_ephemeral_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_event_source.rst b/doc/source/kubernetes.client.models.v1_event_source.rst index 0c9d37fa48..67249f85e9 100644 --- a/doc/source/kubernetes.client.models.v1_event_source.rst +++ b/doc/source/kubernetes.client.models.v1_event_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_event\_source module .. automodule:: kubernetes.client.models.v1_event_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_eviction.rst b/doc/source/kubernetes.client.models.v1_eviction.rst index 3b2fbfd036..43d345fa65 100644 --- a/doc/source/kubernetes.client.models.v1_eviction.rst +++ b/doc/source/kubernetes.client.models.v1_eviction.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_eviction module .. automodule:: kubernetes.client.models.v1_eviction :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_exact_device_request.rst b/doc/source/kubernetes.client.models.v1_exact_device_request.rst new file mode 100644 index 0000000000..8b19586eb4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_exact\_device\_request module +========================================================== + +.. automodule:: kubernetes.client.models.v1_exact_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_exec_action.rst b/doc/source/kubernetes.client.models.v1_exec_action.rst index 2d616ea5c6..db10bde3c5 100644 --- a/doc/source/kubernetes.client.models.v1_exec_action.rst +++ b/doc/source/kubernetes.client.models.v1_exec_action.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_exec\_action module .. automodule:: kubernetes.client.models.v1_exec_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_exempt_priority_level_configuration.rst b/doc/source/kubernetes.client.models.v1_exempt_priority_level_configuration.rst index a0d691fdf4..b5895ed48a 100644 --- a/doc/source/kubernetes.client.models.v1_exempt_priority_level_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_exempt_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_exempt\_priority\_level\_configuration module .. automodule:: kubernetes.client.models.v1_exempt_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_expression_warning.rst b/doc/source/kubernetes.client.models.v1_expression_warning.rst index 21a9e2afdc..1f168ed454 100644 --- a/doc/source/kubernetes.client.models.v1_expression_warning.rst +++ b/doc/source/kubernetes.client.models.v1_expression_warning.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_expression\_warning module .. automodule:: kubernetes.client.models.v1_expression_warning :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_external_documentation.rst b/doc/source/kubernetes.client.models.v1_external_documentation.rst index 62e975e694..fd0fbc077c 100644 --- a/doc/source/kubernetes.client.models.v1_external_documentation.rst +++ b/doc/source/kubernetes.client.models.v1_external_documentation.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_external\_documentation module .. automodule:: kubernetes.client.models.v1_external_documentation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_fc_volume_source.rst b/doc/source/kubernetes.client.models.v1_fc_volume_source.rst index 322746d30b..c0cd52dd22 100644 --- a/doc/source/kubernetes.client.models.v1_fc_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_fc_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_fc\_volume\_source module .. automodule:: kubernetes.client.models.v1_fc_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst b/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst index d7940a0b33..611c8419f1 100644 --- a/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst +++ b/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_field\_selector\_attributes module .. automodule:: kubernetes.client.models.v1_field_selector_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst b/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst index fb5cf586fe..7978c3ff0f 100644 --- a/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_field\_selector\_requirement module .. automodule:: kubernetes.client.models.v1_field_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_file_key_selector.rst b/doc/source/kubernetes.client.models.v1_file_key_selector.rst new file mode 100644 index 0000000000..b83a6ef3fd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_file_key_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_file\_key\_selector module +======================================================= + +.. automodule:: kubernetes.client.models.v1_file_key_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flex_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_flex_persistent_volume_source.rst index 920e77f521..b358767de6 100644 --- a/doc/source/kubernetes.client.models.v1_flex_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_flex_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flex\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_flex_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flex_volume_source.rst b/doc/source/kubernetes.client.models.v1_flex_volume_source.rst index 18e0fd9c49..733462fea8 100644 --- a/doc/source/kubernetes.client.models.v1_flex_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_flex_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flex\_volume\_source module .. automodule:: kubernetes.client.models.v1_flex_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flocker_volume_source.rst b/doc/source/kubernetes.client.models.v1_flocker_volume_source.rst index a238bffddb..f5ec3888e4 100644 --- a/doc/source/kubernetes.client.models.v1_flocker_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_flocker_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flocker\_volume\_source module .. automodule:: kubernetes.client.models.v1_flocker_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_distinguisher_method.rst b/doc/source/kubernetes.client.models.v1_flow_distinguisher_method.rst index 408786fb5e..77945713bd 100644 --- a/doc/source/kubernetes.client.models.v1_flow_distinguisher_method.rst +++ b/doc/source/kubernetes.client.models.v1_flow_distinguisher_method.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_distinguisher\_method module .. automodule:: kubernetes.client.models.v1_flow_distinguisher_method :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_schema.rst b/doc/source/kubernetes.client.models.v1_flow_schema.rst index 0727e05f3a..a5c82aeece 100644 --- a/doc/source/kubernetes.client.models.v1_flow_schema.rst +++ b/doc/source/kubernetes.client.models.v1_flow_schema.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_schema module .. automodule:: kubernetes.client.models.v1_flow_schema :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_schema_condition.rst b/doc/source/kubernetes.client.models.v1_flow_schema_condition.rst index 068d0c561b..0665065b18 100644 --- a/doc/source/kubernetes.client.models.v1_flow_schema_condition.rst +++ b/doc/source/kubernetes.client.models.v1_flow_schema_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_schema\_condition module .. automodule:: kubernetes.client.models.v1_flow_schema_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_schema_list.rst b/doc/source/kubernetes.client.models.v1_flow_schema_list.rst index fcb7cc2b48..c17b2fd1ce 100644 --- a/doc/source/kubernetes.client.models.v1_flow_schema_list.rst +++ b/doc/source/kubernetes.client.models.v1_flow_schema_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_schema\_list module .. automodule:: kubernetes.client.models.v1_flow_schema_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_schema_spec.rst b/doc/source/kubernetes.client.models.v1_flow_schema_spec.rst index 89575e746e..793ce57ad2 100644 --- a/doc/source/kubernetes.client.models.v1_flow_schema_spec.rst +++ b/doc/source/kubernetes.client.models.v1_flow_schema_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_schema\_spec module .. automodule:: kubernetes.client.models.v1_flow_schema_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_flow_schema_status.rst b/doc/source/kubernetes.client.models.v1_flow_schema_status.rst index 5974648c0e..0a52b0995e 100644 --- a/doc/source/kubernetes.client.models.v1_flow_schema_status.rst +++ b/doc/source/kubernetes.client.models.v1_flow_schema_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_flow\_schema\_status module .. automodule:: kubernetes.client.models.v1_flow_schema_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device.rst b/doc/source/kubernetes.client.models.v1_for_node.rst similarity index 50% rename from doc/source/kubernetes.test.test_v1alpha3_device.rst rename to doc/source/kubernetes.client.models.v1_for_node.rst index 4901d094b8..6c8b70a733 100644 --- a/doc/source/kubernetes.test.test_v1alpha3_device.rst +++ b/doc/source/kubernetes.client.models.v1_for_node.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha3\_device module +kubernetes.client.models.v1\_for\_node module ============================================= -.. automodule:: kubernetes.test.test_v1alpha3_device +.. automodule:: kubernetes.client.models.v1_for_node :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_for_zone.rst b/doc/source/kubernetes.client.models.v1_for_zone.rst index 2c844c98b6..94feefdb93 100644 --- a/doc/source/kubernetes.client.models.v1_for_zone.rst +++ b/doc/source/kubernetes.client.models.v1_for_zone.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_for\_zone module .. automodule:: kubernetes.client.models.v1_for_zone :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_gce_persistent_disk_volume_source.rst b/doc/source/kubernetes.client.models.v1_gce_persistent_disk_volume_source.rst index 0bec9c5137..6d7ad5e1a9 100644 --- a/doc/source/kubernetes.client.models.v1_gce_persistent_disk_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_gce_persistent_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_gce\_persistent\_disk\_volume\_source module .. automodule:: kubernetes.client.models.v1_gce_persistent_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_git_repo_volume_source.rst b/doc/source/kubernetes.client.models.v1_git_repo_volume_source.rst index 01b6489be5..0a2135e44f 100644 --- a/doc/source/kubernetes.client.models.v1_git_repo_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_git_repo_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_git\_repo\_volume\_source module .. automodule:: kubernetes.client.models.v1_git_repo_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_glusterfs_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_glusterfs_persistent_volume_source.rst index a7961e3998..72fc5d8b00 100644 --- a/doc/source/kubernetes.client.models.v1_glusterfs_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_glusterfs_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_glusterfs\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_glusterfs_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_glusterfs_volume_source.rst b/doc/source/kubernetes.client.models.v1_glusterfs_volume_source.rst index 6fab24e159..6fe82f48e3 100644 --- a/doc/source/kubernetes.client.models.v1_glusterfs_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_glusterfs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_glusterfs\_volume\_source module .. automodule:: kubernetes.client.models.v1_glusterfs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_group_resource.rst b/doc/source/kubernetes.client.models.v1_group_resource.rst new file mode 100644 index 0000000000..4c8b68f337 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_group_resource.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_group\_resource module +=================================================== + +.. automodule:: kubernetes.client.models.v1_group_resource + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_group_subject.rst b/doc/source/kubernetes.client.models.v1_group_subject.rst index a805cda489..8319172e98 100644 --- a/doc/source/kubernetes.client.models.v1_group_subject.rst +++ b/doc/source/kubernetes.client.models.v1_group_subject.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_group\_subject module .. automodule:: kubernetes.client.models.v1_group_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_group_version_for_discovery.rst b/doc/source/kubernetes.client.models.v1_group_version_for_discovery.rst index 98d90d5be3..99a36f8c96 100644 --- a/doc/source/kubernetes.client.models.v1_group_version_for_discovery.rst +++ b/doc/source/kubernetes.client.models.v1_group_version_for_discovery.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_group\_version\_for\_discovery module .. automodule:: kubernetes.client.models.v1_group_version_for_discovery :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_grpc_action.rst b/doc/source/kubernetes.client.models.v1_grpc_action.rst index d9dc6f50c5..c65bf23a30 100644 --- a/doc/source/kubernetes.client.models.v1_grpc_action.rst +++ b/doc/source/kubernetes.client.models.v1_grpc_action.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_grpc\_action module .. automodule:: kubernetes.client.models.v1_grpc_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler.rst b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler.rst index 2001ecefe4..2fdf935608 100644 --- a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler.rst +++ b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_horizontal\_pod\_autoscaler module .. automodule:: kubernetes.client.models.v1_horizontal_pod_autoscaler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_list.rst index 624a479acd..b356207d90 100644 --- a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_list.rst +++ b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_horizontal\_pod\_autoscaler\_list module .. automodule:: kubernetes.client.models.v1_horizontal_pod_autoscaler_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.rst index 17d12dc11f..6fe380b981 100644 --- a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.rst +++ b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_horizontal\_pod\_autoscaler\_spec module .. automodule:: kubernetes.client.models.v1_horizontal_pod_autoscaler_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_status.rst index c2b8478d30..b7c7cb3829 100644 --- a/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_status.rst +++ b/doc/source/kubernetes.client.models.v1_horizontal_pod_autoscaler_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_horizontal\_pod\_autoscaler\_status module .. automodule:: kubernetes.client.models.v1_horizontal_pod_autoscaler_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_host_alias.rst b/doc/source/kubernetes.client.models.v1_host_alias.rst index 7d3bd21124..9baf1764d6 100644 --- a/doc/source/kubernetes.client.models.v1_host_alias.rst +++ b/doc/source/kubernetes.client.models.v1_host_alias.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_host\_alias module .. automodule:: kubernetes.client.models.v1_host_alias :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_host_ip.rst b/doc/source/kubernetes.client.models.v1_host_ip.rst index c4647daf64..b692fad965 100644 --- a/doc/source/kubernetes.client.models.v1_host_ip.rst +++ b/doc/source/kubernetes.client.models.v1_host_ip.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_host\_ip module .. automodule:: kubernetes.client.models.v1_host_ip :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_host_path_volume_source.rst b/doc/source/kubernetes.client.models.v1_host_path_volume_source.rst index 980cf7a76c..f1ae58841a 100644 --- a/doc/source/kubernetes.client.models.v1_host_path_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_host_path_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_host\_path\_volume\_source module .. automodule:: kubernetes.client.models.v1_host_path_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_http_get_action.rst b/doc/source/kubernetes.client.models.v1_http_get_action.rst index b62f155b2c..48483aa258 100644 --- a/doc/source/kubernetes.client.models.v1_http_get_action.rst +++ b/doc/source/kubernetes.client.models.v1_http_get_action.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_http\_get\_action module .. automodule:: kubernetes.client.models.v1_http_get_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_http_header.rst b/doc/source/kubernetes.client.models.v1_http_header.rst index ac73f8060c..0c08ecf0e8 100644 --- a/doc/source/kubernetes.client.models.v1_http_header.rst +++ b/doc/source/kubernetes.client.models.v1_http_header.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_http\_header module .. automodule:: kubernetes.client.models.v1_http_header :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_http_ingress_path.rst b/doc/source/kubernetes.client.models.v1_http_ingress_path.rst index f2489b8de9..5bf6510e1e 100644 --- a/doc/source/kubernetes.client.models.v1_http_ingress_path.rst +++ b/doc/source/kubernetes.client.models.v1_http_ingress_path.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_http\_ingress\_path module .. automodule:: kubernetes.client.models.v1_http_ingress_path :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_http_ingress_rule_value.rst b/doc/source/kubernetes.client.models.v1_http_ingress_rule_value.rst index dd8f4c1470..2e98a6a7c8 100644 --- a/doc/source/kubernetes.client.models.v1_http_ingress_rule_value.rst +++ b/doc/source/kubernetes.client.models.v1_http_ingress_rule_value.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_http\_ingress\_rule\_value module .. automodule:: kubernetes.client.models.v1_http_ingress_rule_value :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_image_volume_source.rst b/doc/source/kubernetes.client.models.v1_image_volume_source.rst index a6b905344d..b640d36ef7 100644 --- a/doc/source/kubernetes.client.models.v1_image_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_image_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_image\_volume\_source module .. automodule:: kubernetes.client.models.v1_image_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress.rst b/doc/source/kubernetes.client.models.v1_ingress.rst index d9b64a97c2..d13c620603 100644 --- a/doc/source/kubernetes.client.models.v1_ingress.rst +++ b/doc/source/kubernetes.client.models.v1_ingress.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress module .. automodule:: kubernetes.client.models.v1_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_backend.rst b/doc/source/kubernetes.client.models.v1_ingress_backend.rst index 5a0a58556a..9c64552977 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_backend.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_backend.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_backend module .. automodule:: kubernetes.client.models.v1_ingress_backend :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_class.rst b/doc/source/kubernetes.client.models.v1_ingress_class.rst index 8a0eb108e5..f197d83723 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_class.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_class module .. automodule:: kubernetes.client.models.v1_ingress_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_class_list.rst b/doc/source/kubernetes.client.models.v1_ingress_class_list.rst index 3c43733305..cb51218803 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_class_list.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_class\_list module .. automodule:: kubernetes.client.models.v1_ingress_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_class_parameters_reference.rst b/doc/source/kubernetes.client.models.v1_ingress_class_parameters_reference.rst index 04a1172979..f959679c25 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_class_parameters_reference.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_class_parameters_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_class\_parameters\_reference module .. automodule:: kubernetes.client.models.v1_ingress_class_parameters_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_class_spec.rst b/doc/source/kubernetes.client.models.v1_ingress_class_spec.rst index 90442045da..2328673ac5 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_class_spec.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_class_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_class\_spec module .. automodule:: kubernetes.client.models.v1_ingress_class_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_list.rst b/doc/source/kubernetes.client.models.v1_ingress_list.rst index 429eecfeb3..17677d7406 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_list.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_list module .. automodule:: kubernetes.client.models.v1_ingress_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_load_balancer_ingress.rst b/doc/source/kubernetes.client.models.v1_ingress_load_balancer_ingress.rst index a9896797a5..4e4e38f295 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_load_balancer_ingress.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_load_balancer_ingress.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_load\_balancer\_ingress module .. automodule:: kubernetes.client.models.v1_ingress_load_balancer_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_load_balancer_status.rst b/doc/source/kubernetes.client.models.v1_ingress_load_balancer_status.rst index 9b96b2ece2..0374333937 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_load_balancer_status.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_load_balancer_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_load\_balancer\_status module .. automodule:: kubernetes.client.models.v1_ingress_load_balancer_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_port_status.rst b/doc/source/kubernetes.client.models.v1_ingress_port_status.rst index dabab01b64..0c68fef1fb 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_port_status.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_port_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_port\_status module .. automodule:: kubernetes.client.models.v1_ingress_port_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_rule.rst b/doc/source/kubernetes.client.models.v1_ingress_rule.rst index 5a09910a49..0016129bc4 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_rule.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_rule module .. automodule:: kubernetes.client.models.v1_ingress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_service_backend.rst b/doc/source/kubernetes.client.models.v1_ingress_service_backend.rst index 2379141388..5c7854b6ba 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_service_backend.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_service_backend.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_service\_backend module .. automodule:: kubernetes.client.models.v1_ingress_service_backend :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_spec.rst b/doc/source/kubernetes.client.models.v1_ingress_spec.rst index f3e48769fe..4b7fd8e940 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_spec.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_spec module .. automodule:: kubernetes.client.models.v1_ingress_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_status.rst b/doc/source/kubernetes.client.models.v1_ingress_status.rst index 1f617eee91..ae27491a3f 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_status.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_status module .. automodule:: kubernetes.client.models.v1_ingress_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ingress_tls.rst b/doc/source/kubernetes.client.models.v1_ingress_tls.rst index c7a12736f3..be574a276e 100644 --- a/doc/source/kubernetes.client.models.v1_ingress_tls.rst +++ b/doc/source/kubernetes.client.models.v1_ingress_tls.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ingress\_tls module .. automodule:: kubernetes.client.models.v1_ingress_tls :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ip_address.rst b/doc/source/kubernetes.client.models.v1_ip_address.rst new file mode 100644 index 0000000000..99645ce2f4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_ip\_address module +=============================================== + +.. automodule:: kubernetes.client.models.v1_ip_address + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ip_address_list.rst b/doc/source/kubernetes.client.models.v1_ip_address_list.rst new file mode 100644 index 0000000000..e0004d9f15 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_ip\_address\_list module +===================================================== + +.. automodule:: kubernetes.client.models.v1_ip_address_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ip_address_spec.rst b/doc/source/kubernetes.client.models.v1_ip_address_spec.rst new file mode 100644 index 0000000000..27325337cd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_ip\_address\_spec module +===================================================== + +.. automodule:: kubernetes.client.models.v1_ip_address_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_ip_block.rst b/doc/source/kubernetes.client.models.v1_ip_block.rst index 9d164694c9..27f0c3b177 100644 --- a/doc/source/kubernetes.client.models.v1_ip_block.rst +++ b/doc/source/kubernetes.client.models.v1_ip_block.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_ip\_block module .. automodule:: kubernetes.client.models.v1_ip_block :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_iscsi_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_iscsi_persistent_volume_source.rst index 8e364716b0..02acd6bc6c 100644 --- a/doc/source/kubernetes.client.models.v1_iscsi_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_iscsi_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_iscsi\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_iscsi_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_iscsi_volume_source.rst b/doc/source/kubernetes.client.models.v1_iscsi_volume_source.rst index f8583c3884..92bc5adf76 100644 --- a/doc/source/kubernetes.client.models.v1_iscsi_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_iscsi_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_iscsi\_volume\_source module .. automodule:: kubernetes.client.models.v1_iscsi_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job.rst b/doc/source/kubernetes.client.models.v1_job.rst index 42e519b8eb..739704e6ec 100644 --- a/doc/source/kubernetes.client.models.v1_job.rst +++ b/doc/source/kubernetes.client.models.v1_job.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job module .. automodule:: kubernetes.client.models.v1_job :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job_condition.rst b/doc/source/kubernetes.client.models.v1_job_condition.rst index db9dda1f66..6de84b0345 100644 --- a/doc/source/kubernetes.client.models.v1_job_condition.rst +++ b/doc/source/kubernetes.client.models.v1_job_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job\_condition module .. automodule:: kubernetes.client.models.v1_job_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job_list.rst b/doc/source/kubernetes.client.models.v1_job_list.rst index 4267b18e07..1898a2710d 100644 --- a/doc/source/kubernetes.client.models.v1_job_list.rst +++ b/doc/source/kubernetes.client.models.v1_job_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job\_list module .. automodule:: kubernetes.client.models.v1_job_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job_spec.rst b/doc/source/kubernetes.client.models.v1_job_spec.rst index ead39b6568..77359dc1eb 100644 --- a/doc/source/kubernetes.client.models.v1_job_spec.rst +++ b/doc/source/kubernetes.client.models.v1_job_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job\_spec module .. automodule:: kubernetes.client.models.v1_job_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job_status.rst b/doc/source/kubernetes.client.models.v1_job_status.rst index 446e2eb9aa..86df33435c 100644 --- a/doc/source/kubernetes.client.models.v1_job_status.rst +++ b/doc/source/kubernetes.client.models.v1_job_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job\_status module .. automodule:: kubernetes.client.models.v1_job_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_job_template_spec.rst b/doc/source/kubernetes.client.models.v1_job_template_spec.rst index 7d8fde2c29..1c0ecb031f 100644 --- a/doc/source/kubernetes.client.models.v1_job_template_spec.rst +++ b/doc/source/kubernetes.client.models.v1_job_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_job\_template\_spec module .. automodule:: kubernetes.client.models.v1_job_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_json_schema_props.rst b/doc/source/kubernetes.client.models.v1_json_schema_props.rst index 3d61a2372a..ff8ad3ac93 100644 --- a/doc/source/kubernetes.client.models.v1_json_schema_props.rst +++ b/doc/source/kubernetes.client.models.v1_json_schema_props.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_json\_schema\_props module .. automodule:: kubernetes.client.models.v1_json_schema_props :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_key_to_path.rst b/doc/source/kubernetes.client.models.v1_key_to_path.rst index 44c8e2afe2..361e9eba1e 100644 --- a/doc/source/kubernetes.client.models.v1_key_to_path.rst +++ b/doc/source/kubernetes.client.models.v1_key_to_path.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_key\_to\_path module .. automodule:: kubernetes.client.models.v1_key_to_path :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_label_selector.rst b/doc/source/kubernetes.client.models.v1_label_selector.rst index ff18bf58b4..ea2531b304 100644 --- a/doc/source/kubernetes.client.models.v1_label_selector.rst +++ b/doc/source/kubernetes.client.models.v1_label_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_label\_selector module .. automodule:: kubernetes.client.models.v1_label_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst b/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst index bbf24e1f81..22a1f241c8 100644 --- a/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst +++ b/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_label\_selector\_attributes module .. automodule:: kubernetes.client.models.v1_label_selector_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_label_selector_requirement.rst b/doc/source/kubernetes.client.models.v1_label_selector_requirement.rst index f4032b2590..ea205df124 100644 --- a/doc/source/kubernetes.client.models.v1_label_selector_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_label_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_label\_selector\_requirement module .. automodule:: kubernetes.client.models.v1_label_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_lease.rst b/doc/source/kubernetes.client.models.v1_lease.rst index fcf8240920..e0d4ff8c6f 100644 --- a/doc/source/kubernetes.client.models.v1_lease.rst +++ b/doc/source/kubernetes.client.models.v1_lease.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_lease module .. automodule:: kubernetes.client.models.v1_lease :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_lease_list.rst b/doc/source/kubernetes.client.models.v1_lease_list.rst index cc11e89de4..d2c4cf8eb4 100644 --- a/doc/source/kubernetes.client.models.v1_lease_list.rst +++ b/doc/source/kubernetes.client.models.v1_lease_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_lease\_list module .. automodule:: kubernetes.client.models.v1_lease_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_lease_spec.rst b/doc/source/kubernetes.client.models.v1_lease_spec.rst index 05112bdd15..b2a41821b4 100644 --- a/doc/source/kubernetes.client.models.v1_lease_spec.rst +++ b/doc/source/kubernetes.client.models.v1_lease_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_lease\_spec module .. automodule:: kubernetes.client.models.v1_lease_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_lifecycle.rst b/doc/source/kubernetes.client.models.v1_lifecycle.rst index e1576e18e9..23638f4960 100644 --- a/doc/source/kubernetes.client.models.v1_lifecycle.rst +++ b/doc/source/kubernetes.client.models.v1_lifecycle.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_lifecycle module .. automodule:: kubernetes.client.models.v1_lifecycle :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_lifecycle_handler.rst b/doc/source/kubernetes.client.models.v1_lifecycle_handler.rst index c60ef8278a..e63901c570 100644 --- a/doc/source/kubernetes.client.models.v1_lifecycle_handler.rst +++ b/doc/source/kubernetes.client.models.v1_lifecycle_handler.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_lifecycle\_handler module .. automodule:: kubernetes.client.models.v1_lifecycle_handler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limit_range.rst b/doc/source/kubernetes.client.models.v1_limit_range.rst index 91474d8ba6..2e66257fd2 100644 --- a/doc/source/kubernetes.client.models.v1_limit_range.rst +++ b/doc/source/kubernetes.client.models.v1_limit_range.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limit\_range module .. automodule:: kubernetes.client.models.v1_limit_range :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limit_range_item.rst b/doc/source/kubernetes.client.models.v1_limit_range_item.rst index fd96958f61..f20827001a 100644 --- a/doc/source/kubernetes.client.models.v1_limit_range_item.rst +++ b/doc/source/kubernetes.client.models.v1_limit_range_item.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limit\_range\_item module .. automodule:: kubernetes.client.models.v1_limit_range_item :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limit_range_list.rst b/doc/source/kubernetes.client.models.v1_limit_range_list.rst index 558ba8d556..ca4e589008 100644 --- a/doc/source/kubernetes.client.models.v1_limit_range_list.rst +++ b/doc/source/kubernetes.client.models.v1_limit_range_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limit\_range\_list module .. automodule:: kubernetes.client.models.v1_limit_range_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limit_range_spec.rst b/doc/source/kubernetes.client.models.v1_limit_range_spec.rst index 42801824dc..b691bcc768 100644 --- a/doc/source/kubernetes.client.models.v1_limit_range_spec.rst +++ b/doc/source/kubernetes.client.models.v1_limit_range_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limit\_range\_spec module .. automodule:: kubernetes.client.models.v1_limit_range_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limit_response.rst b/doc/source/kubernetes.client.models.v1_limit_response.rst index 73d9822ef7..4122f04127 100644 --- a/doc/source/kubernetes.client.models.v1_limit_response.rst +++ b/doc/source/kubernetes.client.models.v1_limit_response.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limit\_response module .. automodule:: kubernetes.client.models.v1_limit_response :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_limited_priority_level_configuration.rst b/doc/source/kubernetes.client.models.v1_limited_priority_level_configuration.rst index e985862d0e..bb949c75d4 100644 --- a/doc/source/kubernetes.client.models.v1_limited_priority_level_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_limited_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_limited\_priority\_level\_configuration module .. automodule:: kubernetes.client.models.v1_limited_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_linux_container_user.rst b/doc/source/kubernetes.client.models.v1_linux_container_user.rst index 87dfdeda95..7c20f91545 100644 --- a/doc/source/kubernetes.client.models.v1_linux_container_user.rst +++ b/doc/source/kubernetes.client.models.v1_linux_container_user.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_linux\_container\_user module .. automodule:: kubernetes.client.models.v1_linux_container_user :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_list_meta.rst b/doc/source/kubernetes.client.models.v1_list_meta.rst index 5eb4ed7254..a91e90e4ae 100644 --- a/doc/source/kubernetes.client.models.v1_list_meta.rst +++ b/doc/source/kubernetes.client.models.v1_list_meta.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_list\_meta module .. automodule:: kubernetes.client.models.v1_list_meta :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_load_balancer_ingress.rst b/doc/source/kubernetes.client.models.v1_load_balancer_ingress.rst index 0b47fd4a84..64551e89af 100644 --- a/doc/source/kubernetes.client.models.v1_load_balancer_ingress.rst +++ b/doc/source/kubernetes.client.models.v1_load_balancer_ingress.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_load\_balancer\_ingress module .. automodule:: kubernetes.client.models.v1_load_balancer_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_load_balancer_status.rst b/doc/source/kubernetes.client.models.v1_load_balancer_status.rst index b419c335d0..fc154443a2 100644 --- a/doc/source/kubernetes.client.models.v1_load_balancer_status.rst +++ b/doc/source/kubernetes.client.models.v1_load_balancer_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_load\_balancer\_status module .. automodule:: kubernetes.client.models.v1_load_balancer_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_local_object_reference.rst b/doc/source/kubernetes.client.models.v1_local_object_reference.rst index 68e753b7a6..7fc00072c8 100644 --- a/doc/source/kubernetes.client.models.v1_local_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_local_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_local\_object\_reference module .. automodule:: kubernetes.client.models.v1_local_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_local_subject_access_review.rst b/doc/source/kubernetes.client.models.v1_local_subject_access_review.rst index 6f63cf60fc..eee7c73a7a 100644 --- a/doc/source/kubernetes.client.models.v1_local_subject_access_review.rst +++ b/doc/source/kubernetes.client.models.v1_local_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_local\_subject\_access\_review module .. automodule:: kubernetes.client.models.v1_local_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_local_volume_source.rst b/doc/source/kubernetes.client.models.v1_local_volume_source.rst index a884822d4c..8278cea3ae 100644 --- a/doc/source/kubernetes.client.models.v1_local_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_local_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_local\_volume\_source module .. automodule:: kubernetes.client.models.v1_local_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_managed_fields_entry.rst b/doc/source/kubernetes.client.models.v1_managed_fields_entry.rst index c51da79d07..2aef5b170d 100644 --- a/doc/source/kubernetes.client.models.v1_managed_fields_entry.rst +++ b/doc/source/kubernetes.client.models.v1_managed_fields_entry.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_managed\_fields\_entry module .. automodule:: kubernetes.client.models.v1_managed_fields_entry :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_match_condition.rst b/doc/source/kubernetes.client.models.v1_match_condition.rst index 4baad46240..e68dfffd40 100644 --- a/doc/source/kubernetes.client.models.v1_match_condition.rst +++ b/doc/source/kubernetes.client.models.v1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_match\_condition module .. automodule:: kubernetes.client.models.v1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_match_resources.rst b/doc/source/kubernetes.client.models.v1_match_resources.rst index 78f6c25faf..360e207ae5 100644 --- a/doc/source/kubernetes.client.models.v1_match_resources.rst +++ b/doc/source/kubernetes.client.models.v1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_match\_resources module .. automodule:: kubernetes.client.models.v1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_modify_volume_status.rst b/doc/source/kubernetes.client.models.v1_modify_volume_status.rst index c70831c0f5..ae3be74665 100644 --- a/doc/source/kubernetes.client.models.v1_modify_volume_status.rst +++ b/doc/source/kubernetes.client.models.v1_modify_volume_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_modify\_volume\_status module .. automodule:: kubernetes.client.models.v1_modify_volume_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_mutating_webhook.rst b/doc/source/kubernetes.client.models.v1_mutating_webhook.rst index 4345b3530e..65b9c97952 100644 --- a/doc/source/kubernetes.client.models.v1_mutating_webhook.rst +++ b/doc/source/kubernetes.client.models.v1_mutating_webhook.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_mutating\_webhook module .. automodule:: kubernetes.client.models.v1_mutating_webhook :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration.rst b/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration.rst index ab45feb08b..7f1eaa911a 100644 --- a/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_mutating\_webhook\_configuration module .. automodule:: kubernetes.client.models.v1_mutating_webhook_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration_list.rst b/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration_list.rst index c36513f6d4..254203b0c3 100644 --- a/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration_list.rst +++ b/doc/source/kubernetes.client.models.v1_mutating_webhook_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_mutating\_webhook\_configuration\_list module .. automodule:: kubernetes.client.models.v1_mutating_webhook_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_named_rule_with_operations.rst b/doc/source/kubernetes.client.models.v1_named_rule_with_operations.rst index e31a4ec25a..cf1b7bef8b 100644 --- a/doc/source/kubernetes.client.models.v1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.client.models.v1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_named\_rule\_with\_operations module .. automodule:: kubernetes.client.models.v1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_namespace.rst b/doc/source/kubernetes.client.models.v1_namespace.rst index aa07a9ae4a..46d7b728c2 100644 --- a/doc/source/kubernetes.client.models.v1_namespace.rst +++ b/doc/source/kubernetes.client.models.v1_namespace.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_namespace module .. automodule:: kubernetes.client.models.v1_namespace :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_namespace_condition.rst b/doc/source/kubernetes.client.models.v1_namespace_condition.rst index 39749c21c9..2c58ef285c 100644 --- a/doc/source/kubernetes.client.models.v1_namespace_condition.rst +++ b/doc/source/kubernetes.client.models.v1_namespace_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_namespace\_condition module .. automodule:: kubernetes.client.models.v1_namespace_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_namespace_list.rst b/doc/source/kubernetes.client.models.v1_namespace_list.rst index 5de5b03ca3..1ec0f8f3db 100644 --- a/doc/source/kubernetes.client.models.v1_namespace_list.rst +++ b/doc/source/kubernetes.client.models.v1_namespace_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_namespace\_list module .. automodule:: kubernetes.client.models.v1_namespace_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_namespace_spec.rst b/doc/source/kubernetes.client.models.v1_namespace_spec.rst index c563d5c523..64e0040e3e 100644 --- a/doc/source/kubernetes.client.models.v1_namespace_spec.rst +++ b/doc/source/kubernetes.client.models.v1_namespace_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_namespace\_spec module .. automodule:: kubernetes.client.models.v1_namespace_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_namespace_status.rst b/doc/source/kubernetes.client.models.v1_namespace_status.rst index fefef28b7f..18c1aeef04 100644 --- a/doc/source/kubernetes.client.models.v1_namespace_status.rst +++ b/doc/source/kubernetes.client.models.v1_namespace_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_namespace\_status module .. automodule:: kubernetes.client.models.v1_namespace_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_device_data.rst b/doc/source/kubernetes.client.models.v1_network_device_data.rst new file mode 100644 index 0000000000..76f4c8f450 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_network\_device\_data module +========================================================= + +.. automodule:: kubernetes.client.models.v1_network_device_data + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy.rst b/doc/source/kubernetes.client.models.v1_network_policy.rst index 22d5022fe3..08858eb336 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy module .. automodule:: kubernetes.client.models.v1_network_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_egress_rule.rst b/doc/source/kubernetes.client.models.v1_network_policy_egress_rule.rst index 22cd3e8c16..ba27c7151f 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_egress_rule.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_egress_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_egress\_rule module .. automodule:: kubernetes.client.models.v1_network_policy_egress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_ingress_rule.rst b/doc/source/kubernetes.client.models.v1_network_policy_ingress_rule.rst index 3d1abe1c6f..705e4dc1dd 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_ingress_rule.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_ingress_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_ingress\_rule module .. automodule:: kubernetes.client.models.v1_network_policy_ingress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_list.rst b/doc/source/kubernetes.client.models.v1_network_policy_list.rst index 08281addb0..f7c30ab4c3 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_list.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_list module .. automodule:: kubernetes.client.models.v1_network_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_peer.rst b/doc/source/kubernetes.client.models.v1_network_policy_peer.rst index 3b3f7a33e7..b3c478cc05 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_peer.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_peer.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_peer module .. automodule:: kubernetes.client.models.v1_network_policy_peer :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_port.rst b/doc/source/kubernetes.client.models.v1_network_policy_port.rst index b885b3de1a..b5cdfd3500 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_port.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_port module .. automodule:: kubernetes.client.models.v1_network_policy_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_network_policy_spec.rst b/doc/source/kubernetes.client.models.v1_network_policy_spec.rst index 2ad9fda11e..fdb39d918f 100644 --- a/doc/source/kubernetes.client.models.v1_network_policy_spec.rst +++ b/doc/source/kubernetes.client.models.v1_network_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_network\_policy\_spec module .. automodule:: kubernetes.client.models.v1_network_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_nfs_volume_source.rst b/doc/source/kubernetes.client.models.v1_nfs_volume_source.rst index 8f76ff0813..405b1fb92b 100644 --- a/doc/source/kubernetes.client.models.v1_nfs_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_nfs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_nfs\_volume\_source module .. automodule:: kubernetes.client.models.v1_nfs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node.rst b/doc/source/kubernetes.client.models.v1_node.rst index 23f576d815..d710cb14ca 100644 --- a/doc/source/kubernetes.client.models.v1_node.rst +++ b/doc/source/kubernetes.client.models.v1_node.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node module .. automodule:: kubernetes.client.models.v1_node :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_address.rst b/doc/source/kubernetes.client.models.v1_node_address.rst index 8f61d1a2d9..a1eebe5c6d 100644 --- a/doc/source/kubernetes.client.models.v1_node_address.rst +++ b/doc/source/kubernetes.client.models.v1_node_address.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_address module .. automodule:: kubernetes.client.models.v1_node_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_affinity.rst b/doc/source/kubernetes.client.models.v1_node_affinity.rst index 5d4676d757..ff9d96d993 100644 --- a/doc/source/kubernetes.client.models.v1_node_affinity.rst +++ b/doc/source/kubernetes.client.models.v1_node_affinity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_affinity module .. automodule:: kubernetes.client.models.v1_node_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_condition.rst b/doc/source/kubernetes.client.models.v1_node_condition.rst index f7a42f6cd1..677df98229 100644 --- a/doc/source/kubernetes.client.models.v1_node_condition.rst +++ b/doc/source/kubernetes.client.models.v1_node_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_condition module .. automodule:: kubernetes.client.models.v1_node_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_config_source.rst b/doc/source/kubernetes.client.models.v1_node_config_source.rst index 11e20467d6..9cda4b56a1 100644 --- a/doc/source/kubernetes.client.models.v1_node_config_source.rst +++ b/doc/source/kubernetes.client.models.v1_node_config_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_config\_source module .. automodule:: kubernetes.client.models.v1_node_config_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_config_status.rst b/doc/source/kubernetes.client.models.v1_node_config_status.rst index 72d99dacc3..e43345e8f4 100644 --- a/doc/source/kubernetes.client.models.v1_node_config_status.rst +++ b/doc/source/kubernetes.client.models.v1_node_config_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_config\_status module .. automodule:: kubernetes.client.models.v1_node_config_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_daemon_endpoints.rst b/doc/source/kubernetes.client.models.v1_node_daemon_endpoints.rst index 6b557bbfba..de3eb14fa9 100644 --- a/doc/source/kubernetes.client.models.v1_node_daemon_endpoints.rst +++ b/doc/source/kubernetes.client.models.v1_node_daemon_endpoints.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_daemon\_endpoints module .. automodule:: kubernetes.client.models.v1_node_daemon_endpoints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_features.rst b/doc/source/kubernetes.client.models.v1_node_features.rst index f8a3a09693..bf27ef8f66 100644 --- a/doc/source/kubernetes.client.models.v1_node_features.rst +++ b/doc/source/kubernetes.client.models.v1_node_features.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_features module .. automodule:: kubernetes.client.models.v1_node_features :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_list.rst b/doc/source/kubernetes.client.models.v1_node_list.rst index fde510e840..de4d416a8c 100644 --- a/doc/source/kubernetes.client.models.v1_node_list.rst +++ b/doc/source/kubernetes.client.models.v1_node_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_list module .. automodule:: kubernetes.client.models.v1_node_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_runtime_handler.rst b/doc/source/kubernetes.client.models.v1_node_runtime_handler.rst index 2fb30183d6..306470461a 100644 --- a/doc/source/kubernetes.client.models.v1_node_runtime_handler.rst +++ b/doc/source/kubernetes.client.models.v1_node_runtime_handler.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_runtime\_handler module .. automodule:: kubernetes.client.models.v1_node_runtime_handler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_runtime_handler_features.rst b/doc/source/kubernetes.client.models.v1_node_runtime_handler_features.rst index 59319a7a0c..ee105a59bf 100644 --- a/doc/source/kubernetes.client.models.v1_node_runtime_handler_features.rst +++ b/doc/source/kubernetes.client.models.v1_node_runtime_handler_features.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_runtime\_handler\_features module .. automodule:: kubernetes.client.models.v1_node_runtime_handler_features :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_selector.rst b/doc/source/kubernetes.client.models.v1_node_selector.rst index 53d1b66ee6..2d2b630b74 100644 --- a/doc/source/kubernetes.client.models.v1_node_selector.rst +++ b/doc/source/kubernetes.client.models.v1_node_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_selector module .. automodule:: kubernetes.client.models.v1_node_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_selector_requirement.rst b/doc/source/kubernetes.client.models.v1_node_selector_requirement.rst index c881508068..8047000947 100644 --- a/doc/source/kubernetes.client.models.v1_node_selector_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_node_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_selector\_requirement module .. automodule:: kubernetes.client.models.v1_node_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_selector_term.rst b/doc/source/kubernetes.client.models.v1_node_selector_term.rst index b7dbcd915f..ff514a51e1 100644 --- a/doc/source/kubernetes.client.models.v1_node_selector_term.rst +++ b/doc/source/kubernetes.client.models.v1_node_selector_term.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_selector\_term module .. automodule:: kubernetes.client.models.v1_node_selector_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_spec.rst b/doc/source/kubernetes.client.models.v1_node_spec.rst index a5dec42b77..2ffd88813f 100644 --- a/doc/source/kubernetes.client.models.v1_node_spec.rst +++ b/doc/source/kubernetes.client.models.v1_node_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_spec module .. automodule:: kubernetes.client.models.v1_node_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_status.rst b/doc/source/kubernetes.client.models.v1_node_status.rst index 4bde8be656..f8ac57b704 100644 --- a/doc/source/kubernetes.client.models.v1_node_status.rst +++ b/doc/source/kubernetes.client.models.v1_node_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_status module .. automodule:: kubernetes.client.models.v1_node_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_swap_status.rst b/doc/source/kubernetes.client.models.v1_node_swap_status.rst new file mode 100644 index 0000000000..6bdeb3a0cd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_node_swap_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_node\_swap\_status module +====================================================== + +.. automodule:: kubernetes.client.models.v1_node_swap_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_node_system_info.rst b/doc/source/kubernetes.client.models.v1_node_system_info.rst index a49df918b1..5f25eea465 100644 --- a/doc/source/kubernetes.client.models.v1_node_system_info.rst +++ b/doc/source/kubernetes.client.models.v1_node_system_info.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_node\_system\_info module .. automodule:: kubernetes.client.models.v1_node_system_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_non_resource_attributes.rst b/doc/source/kubernetes.client.models.v1_non_resource_attributes.rst index f05b809190..841cb09c8b 100644 --- a/doc/source/kubernetes.client.models.v1_non_resource_attributes.rst +++ b/doc/source/kubernetes.client.models.v1_non_resource_attributes.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_non\_resource\_attributes module .. automodule:: kubernetes.client.models.v1_non_resource_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_non_resource_policy_rule.rst b/doc/source/kubernetes.client.models.v1_non_resource_policy_rule.rst index d3c1db5b4b..52aad377c6 100644 --- a/doc/source/kubernetes.client.models.v1_non_resource_policy_rule.rst +++ b/doc/source/kubernetes.client.models.v1_non_resource_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_non\_resource\_policy\_rule module .. automodule:: kubernetes.client.models.v1_non_resource_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_non_resource_rule.rst b/doc/source/kubernetes.client.models.v1_non_resource_rule.rst index 6ab655cf2e..54ca89739a 100644 --- a/doc/source/kubernetes.client.models.v1_non_resource_rule.rst +++ b/doc/source/kubernetes.client.models.v1_non_resource_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_non\_resource\_rule module .. automodule:: kubernetes.client.models.v1_non_resource_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_object_field_selector.rst b/doc/source/kubernetes.client.models.v1_object_field_selector.rst index 834c6104a0..b6a4eb0c1c 100644 --- a/doc/source/kubernetes.client.models.v1_object_field_selector.rst +++ b/doc/source/kubernetes.client.models.v1_object_field_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_object\_field\_selector module .. automodule:: kubernetes.client.models.v1_object_field_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_object_meta.rst b/doc/source/kubernetes.client.models.v1_object_meta.rst index 3df69a7078..0af6d8ff28 100644 --- a/doc/source/kubernetes.client.models.v1_object_meta.rst +++ b/doc/source/kubernetes.client.models.v1_object_meta.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_object\_meta module .. automodule:: kubernetes.client.models.v1_object_meta :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_object_reference.rst b/doc/source/kubernetes.client.models.v1_object_reference.rst index b989686bab..1abfcde154 100644 --- a/doc/source/kubernetes.client.models.v1_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_object\_reference module .. automodule:: kubernetes.client.models.v1_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_opaque_device_configuration.rst b/doc/source/kubernetes.client.models.v1_opaque_device_configuration.rst new file mode 100644 index 0000000000..3d9acacb12 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_opaque\_device\_configuration module +================================================================= + +.. automodule:: kubernetes.client.models.v1_opaque_device_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_overhead.rst b/doc/source/kubernetes.client.models.v1_overhead.rst index 16ae2a3686..4d24ebb28b 100644 --- a/doc/source/kubernetes.client.models.v1_overhead.rst +++ b/doc/source/kubernetes.client.models.v1_overhead.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_overhead module .. automodule:: kubernetes.client.models.v1_overhead :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_owner_reference.rst b/doc/source/kubernetes.client.models.v1_owner_reference.rst index 047e0812f8..23006710c4 100644 --- a/doc/source/kubernetes.client.models.v1_owner_reference.rst +++ b/doc/source/kubernetes.client.models.v1_owner_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_owner\_reference module .. automodule:: kubernetes.client.models.v1_owner_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_param_kind.rst b/doc/source/kubernetes.client.models.v1_param_kind.rst index 6c82938a84..0af0ec097d 100644 --- a/doc/source/kubernetes.client.models.v1_param_kind.rst +++ b/doc/source/kubernetes.client.models.v1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_param\_kind module .. automodule:: kubernetes.client.models.v1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_param_ref.rst b/doc/source/kubernetes.client.models.v1_param_ref.rst index ade126f4b0..64c80462ca 100644 --- a/doc/source/kubernetes.client.models.v1_param_ref.rst +++ b/doc/source/kubernetes.client.models.v1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_param\_ref module .. automodule:: kubernetes.client.models.v1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_parent_reference.rst b/doc/source/kubernetes.client.models.v1_parent_reference.rst new file mode 100644 index 0000000000..639199e998 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_parent\_reference module +===================================================== + +.. automodule:: kubernetes.client.models.v1_parent_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume.rst b/doc/source/kubernetes.client.models.v1_persistent_volume.rst index 4d586b3bb6..7dad707fee 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume module .. automodule:: kubernetes.client.models.v1_persistent_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim.rst index 7da0915384..bbb533c86b 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_condition.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_condition.rst index f5b1518b07..9e2afd1aed 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_condition.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_condition module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_list.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_list.rst index 1fa984eb18..aa1fe8d7c6 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_list.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_list module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_spec.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_spec.rst index ccad63ee00..2c3765b59e 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_spec.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_spec module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_status.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_status.rst index 59f982d36f..5e02746e6a 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_status.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_status module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_template.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_template.rst index 5829496634..9435c73c0b 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_template.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_template.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_template module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_volume_source.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_volume_source.rst index a9cc87db8d..18441d28fe 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_claim_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_claim_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_claim\_volume\_source module .. automodule:: kubernetes.client.models.v1_persistent_volume_claim_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_list.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_list.rst index 74697df462..243ed87e93 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_list.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_list module .. automodule:: kubernetes.client.models.v1_persistent_volume_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_spec.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_spec.rst index 30f91892d3..e684e54fd3 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_spec.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_spec module .. automodule:: kubernetes.client.models.v1_persistent_volume_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_persistent_volume_status.rst b/doc/source/kubernetes.client.models.v1_persistent_volume_status.rst index a412ed16ee..909f0be01c 100644 --- a/doc/source/kubernetes.client.models.v1_persistent_volume_status.rst +++ b/doc/source/kubernetes.client.models.v1_persistent_volume_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_persistent\_volume\_status module .. automodule:: kubernetes.client.models.v1_persistent_volume_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_photon_persistent_disk_volume_source.rst b/doc/source/kubernetes.client.models.v1_photon_persistent_disk_volume_source.rst index d1b128bc87..486fa63754 100644 --- a/doc/source/kubernetes.client.models.v1_photon_persistent_disk_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_photon_persistent_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_photon\_persistent\_disk\_volume\_source module .. automodule:: kubernetes.client.models.v1_photon_persistent_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod.rst b/doc/source/kubernetes.client.models.v1_pod.rst index 8d28910695..60723c0ce1 100644 --- a/doc/source/kubernetes.client.models.v1_pod.rst +++ b/doc/source/kubernetes.client.models.v1_pod.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod module .. automodule:: kubernetes.client.models.v1_pod :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_affinity.rst b/doc/source/kubernetes.client.models.v1_pod_affinity.rst index 7616effdc2..425d13b48f 100644 --- a/doc/source/kubernetes.client.models.v1_pod_affinity.rst +++ b/doc/source/kubernetes.client.models.v1_pod_affinity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_affinity module .. automodule:: kubernetes.client.models.v1_pod_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_affinity_term.rst b/doc/source/kubernetes.client.models.v1_pod_affinity_term.rst index 35c9df4edc..f365ac1022 100644 --- a/doc/source/kubernetes.client.models.v1_pod_affinity_term.rst +++ b/doc/source/kubernetes.client.models.v1_pod_affinity_term.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_affinity\_term module .. automodule:: kubernetes.client.models.v1_pod_affinity_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_anti_affinity.rst b/doc/source/kubernetes.client.models.v1_pod_anti_affinity.rst index 1173db6166..2361f60ff4 100644 --- a/doc/source/kubernetes.client.models.v1_pod_anti_affinity.rst +++ b/doc/source/kubernetes.client.models.v1_pod_anti_affinity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_anti\_affinity module .. automodule:: kubernetes.client.models.v1_pod_anti_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_certificate_projection.rst b/doc/source/kubernetes.client.models.v1_pod_certificate_projection.rst new file mode 100644 index 0000000000..38567dedad --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_pod_certificate_projection.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_pod\_certificate\_projection module +================================================================ + +.. automodule:: kubernetes.client.models.v1_pod_certificate_projection + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_condition.rst b/doc/source/kubernetes.client.models.v1_pod_condition.rst index f660636af4..2a01a530c2 100644 --- a/doc/source/kubernetes.client.models.v1_pod_condition.rst +++ b/doc/source/kubernetes.client.models.v1_pod_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_condition module .. automodule:: kubernetes.client.models.v1_pod_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_disruption_budget.rst b/doc/source/kubernetes.client.models.v1_pod_disruption_budget.rst index d565a821ec..d2382828e4 100644 --- a/doc/source/kubernetes.client.models.v1_pod_disruption_budget.rst +++ b/doc/source/kubernetes.client.models.v1_pod_disruption_budget.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_disruption\_budget module .. automodule:: kubernetes.client.models.v1_pod_disruption_budget :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_list.rst b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_list.rst index b06755c8e6..5a5f6f02fe 100644 --- a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_list.rst +++ b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_disruption\_budget\_list module .. automodule:: kubernetes.client.models.v1_pod_disruption_budget_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_spec.rst b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_spec.rst index 6eb4c2b161..4e3bec12c8 100644 --- a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_spec.rst +++ b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_disruption\_budget\_spec module .. automodule:: kubernetes.client.models.v1_pod_disruption_budget_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_status.rst b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_status.rst index d6825e9016..fdeb1722f3 100644 --- a/doc/source/kubernetes.client.models.v1_pod_disruption_budget_status.rst +++ b/doc/source/kubernetes.client.models.v1_pod_disruption_budget_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_disruption\_budget\_status module .. automodule:: kubernetes.client.models.v1_pod_disruption_budget_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_dns_config.rst b/doc/source/kubernetes.client.models.v1_pod_dns_config.rst index eb0485c12c..944a6347ca 100644 --- a/doc/source/kubernetes.client.models.v1_pod_dns_config.rst +++ b/doc/source/kubernetes.client.models.v1_pod_dns_config.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_dns\_config module .. automodule:: kubernetes.client.models.v1_pod_dns_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_dns_config_option.rst b/doc/source/kubernetes.client.models.v1_pod_dns_config_option.rst index 985c9749c2..fa63879ef1 100644 --- a/doc/source/kubernetes.client.models.v1_pod_dns_config_option.rst +++ b/doc/source/kubernetes.client.models.v1_pod_dns_config_option.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_dns\_config\_option module .. automodule:: kubernetes.client.models.v1_pod_dns_config_option :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_extended_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1_pod_extended_resource_claim_status.rst new file mode 100644 index 0000000000..b05c4d51c7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_pod_extended_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_pod\_extended\_resource\_claim\_status module +========================================================================== + +.. automodule:: kubernetes.client.models.v1_pod_extended_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_failure_policy.rst b/doc/source/kubernetes.client.models.v1_pod_failure_policy.rst index b6fb70de82..6e45c05245 100644 --- a/doc/source/kubernetes.client.models.v1_pod_failure_policy.rst +++ b/doc/source/kubernetes.client.models.v1_pod_failure_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_failure\_policy module .. automodule:: kubernetes.client.models.v1_pod_failure_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement.rst b/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement.rst index 99cc5aa2ac..c3f20429f6 100644 --- a/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_failure\_policy\_on\_exit\_codes\_requirement .. automodule:: kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern.rst b/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern.rst index f15f6ee3b2..f04b54ba11 100644 --- a/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern.rst +++ b/doc/source/kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_failure\_policy\_on\_pod\_conditions\_pattern .. automodule:: kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_failure_policy_rule.rst b/doc/source/kubernetes.client.models.v1_pod_failure_policy_rule.rst index 37bf13b3d3..3386bc700e 100644 --- a/doc/source/kubernetes.client.models.v1_pod_failure_policy_rule.rst +++ b/doc/source/kubernetes.client.models.v1_pod_failure_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_failure\_policy\_rule module .. automodule:: kubernetes.client.models.v1_pod_failure_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_ip.rst b/doc/source/kubernetes.client.models.v1_pod_ip.rst index 3d0433a93e..939d476aba 100644 --- a/doc/source/kubernetes.client.models.v1_pod_ip.rst +++ b/doc/source/kubernetes.client.models.v1_pod_ip.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_ip module .. automodule:: kubernetes.client.models.v1_pod_ip :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_list.rst b/doc/source/kubernetes.client.models.v1_pod_list.rst index 841acf539c..60574c4de5 100644 --- a/doc/source/kubernetes.client.models.v1_pod_list.rst +++ b/doc/source/kubernetes.client.models.v1_pod_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_list module .. automodule:: kubernetes.client.models.v1_pod_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_os.rst b/doc/source/kubernetes.client.models.v1_pod_os.rst index d1a8db1af6..3866548e4d 100644 --- a/doc/source/kubernetes.client.models.v1_pod_os.rst +++ b/doc/source/kubernetes.client.models.v1_pod_os.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_os module .. automodule:: kubernetes.client.models.v1_pod_os :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_readiness_gate.rst b/doc/source/kubernetes.client.models.v1_pod_readiness_gate.rst index 0bddea6fe5..decf15e23f 100644 --- a/doc/source/kubernetes.client.models.v1_pod_readiness_gate.rst +++ b/doc/source/kubernetes.client.models.v1_pod_readiness_gate.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_readiness\_gate module .. automodule:: kubernetes.client.models.v1_pod_readiness_gate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_resource_claim.rst b/doc/source/kubernetes.client.models.v1_pod_resource_claim.rst index 3f5f5dba14..ac01c7b853 100644 --- a/doc/source/kubernetes.client.models.v1_pod_resource_claim.rst +++ b/doc/source/kubernetes.client.models.v1_pod_resource_claim.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_resource\_claim module .. automodule:: kubernetes.client.models.v1_pod_resource_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1_pod_resource_claim_status.rst index 8ac18c2f67..0d68420577 100644 --- a/doc/source/kubernetes.client.models.v1_pod_resource_claim_status.rst +++ b/doc/source/kubernetes.client.models.v1_pod_resource_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_resource\_claim\_status module .. automodule:: kubernetes.client.models.v1_pod_resource_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_scheduling_gate.rst b/doc/source/kubernetes.client.models.v1_pod_scheduling_gate.rst index a28b1d584f..10a0acbae6 100644 --- a/doc/source/kubernetes.client.models.v1_pod_scheduling_gate.rst +++ b/doc/source/kubernetes.client.models.v1_pod_scheduling_gate.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_scheduling\_gate module .. automodule:: kubernetes.client.models.v1_pod_scheduling_gate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_security_context.rst b/doc/source/kubernetes.client.models.v1_pod_security_context.rst index 4f72694f2c..9b5824f113 100644 --- a/doc/source/kubernetes.client.models.v1_pod_security_context.rst +++ b/doc/source/kubernetes.client.models.v1_pod_security_context.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_security\_context module .. automodule:: kubernetes.client.models.v1_pod_security_context :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_spec.rst b/doc/source/kubernetes.client.models.v1_pod_spec.rst index 34504670d9..0b14fcdddc 100644 --- a/doc/source/kubernetes.client.models.v1_pod_spec.rst +++ b/doc/source/kubernetes.client.models.v1_pod_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_spec module .. automodule:: kubernetes.client.models.v1_pod_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_status.rst b/doc/source/kubernetes.client.models.v1_pod_status.rst index 0b6476dd0d..6b41c70534 100644 --- a/doc/source/kubernetes.client.models.v1_pod_status.rst +++ b/doc/source/kubernetes.client.models.v1_pod_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_status module .. automodule:: kubernetes.client.models.v1_pod_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_template.rst b/doc/source/kubernetes.client.models.v1_pod_template.rst index 168a525ff9..483a71e2e6 100644 --- a/doc/source/kubernetes.client.models.v1_pod_template.rst +++ b/doc/source/kubernetes.client.models.v1_pod_template.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_template module .. automodule:: kubernetes.client.models.v1_pod_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_template_list.rst b/doc/source/kubernetes.client.models.v1_pod_template_list.rst index 90d353322e..05ecde029a 100644 --- a/doc/source/kubernetes.client.models.v1_pod_template_list.rst +++ b/doc/source/kubernetes.client.models.v1_pod_template_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_template\_list module .. automodule:: kubernetes.client.models.v1_pod_template_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_pod_template_spec.rst b/doc/source/kubernetes.client.models.v1_pod_template_spec.rst index 4bc0608950..de8bc5068f 100644 --- a/doc/source/kubernetes.client.models.v1_pod_template_spec.rst +++ b/doc/source/kubernetes.client.models.v1_pod_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_pod\_template\_spec module .. automodule:: kubernetes.client.models.v1_pod_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_policy_rule.rst b/doc/source/kubernetes.client.models.v1_policy_rule.rst index 4232d28170..9fe071f3f8 100644 --- a/doc/source/kubernetes.client.models.v1_policy_rule.rst +++ b/doc/source/kubernetes.client.models.v1_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_policy\_rule module .. automodule:: kubernetes.client.models.v1_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_policy_rules_with_subjects.rst b/doc/source/kubernetes.client.models.v1_policy_rules_with_subjects.rst index f97ba94d62..2bcc7de1c5 100644 --- a/doc/source/kubernetes.client.models.v1_policy_rules_with_subjects.rst +++ b/doc/source/kubernetes.client.models.v1_policy_rules_with_subjects.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_policy\_rules\_with\_subjects module .. automodule:: kubernetes.client.models.v1_policy_rules_with_subjects :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_port_status.rst b/doc/source/kubernetes.client.models.v1_port_status.rst index 4c02cf382c..5a6afc307f 100644 --- a/doc/source/kubernetes.client.models.v1_port_status.rst +++ b/doc/source/kubernetes.client.models.v1_port_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_port\_status module .. automodule:: kubernetes.client.models.v1_port_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_portworx_volume_source.rst b/doc/source/kubernetes.client.models.v1_portworx_volume_source.rst index 0f867c34aa..0b4d3dfdf9 100644 --- a/doc/source/kubernetes.client.models.v1_portworx_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_portworx_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_portworx\_volume\_source module .. automodule:: kubernetes.client.models.v1_portworx_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_preconditions.rst b/doc/source/kubernetes.client.models.v1_preconditions.rst index 5b1a8b4ff4..14d6c4b682 100644 --- a/doc/source/kubernetes.client.models.v1_preconditions.rst +++ b/doc/source/kubernetes.client.models.v1_preconditions.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_preconditions module .. automodule:: kubernetes.client.models.v1_preconditions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_preferred_scheduling_term.rst b/doc/source/kubernetes.client.models.v1_preferred_scheduling_term.rst index 26b90f2ddd..21d5688acf 100644 --- a/doc/source/kubernetes.client.models.v1_preferred_scheduling_term.rst +++ b/doc/source/kubernetes.client.models.v1_preferred_scheduling_term.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_preferred\_scheduling\_term module .. automodule:: kubernetes.client.models.v1_preferred_scheduling_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_class.rst b/doc/source/kubernetes.client.models.v1_priority_class.rst index 06f26708f1..de499052ab 100644 --- a/doc/source/kubernetes.client.models.v1_priority_class.rst +++ b/doc/source/kubernetes.client.models.v1_priority_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_class module .. automodule:: kubernetes.client.models.v1_priority_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_class_list.rst b/doc/source/kubernetes.client.models.v1_priority_class_list.rst index 78471cc9bc..5b5f2cb688 100644 --- a/doc/source/kubernetes.client.models.v1_priority_class_list.rst +++ b/doc/source/kubernetes.client.models.v1_priority_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_class\_list module .. automodule:: kubernetes.client.models.v1_priority_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration.rst index e1a66799d6..bd0ff32fe4 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration module .. automodule:: kubernetes.client.models.v1_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration_condition.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration_condition.rst index daba910ea6..73b639a2e7 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration_condition.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration\_condition module .. automodule:: kubernetes.client.models.v1_priority_level_configuration_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration_list.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration_list.rst index f9ea31d979..4abfd09b22 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration_list.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration\_list module .. automodule:: kubernetes.client.models.v1_priority_level_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration_reference.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration_reference.rst index 380b5b1282..2dd5f8fcc2 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration_reference.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration\_reference module .. automodule:: kubernetes.client.models.v1_priority_level_configuration_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration_spec.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration_spec.rst index c23509a54d..041b18840b 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration_spec.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration\_spec module .. automodule:: kubernetes.client.models.v1_priority_level_configuration_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_priority_level_configuration_status.rst b/doc/source/kubernetes.client.models.v1_priority_level_configuration_status.rst index 8522f266b1..e751d5c6fe 100644 --- a/doc/source/kubernetes.client.models.v1_priority_level_configuration_status.rst +++ b/doc/source/kubernetes.client.models.v1_priority_level_configuration_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_priority\_level\_configuration\_status module .. automodule:: kubernetes.client.models.v1_priority_level_configuration_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_probe.rst b/doc/source/kubernetes.client.models.v1_probe.rst index c6cb79f181..7fcb0634df 100644 --- a/doc/source/kubernetes.client.models.v1_probe.rst +++ b/doc/source/kubernetes.client.models.v1_probe.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_probe module .. automodule:: kubernetes.client.models.v1_probe :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_projected_volume_source.rst b/doc/source/kubernetes.client.models.v1_projected_volume_source.rst index c9919d5f93..b66aa80252 100644 --- a/doc/source/kubernetes.client.models.v1_projected_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_projected_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_projected\_volume\_source module .. automodule:: kubernetes.client.models.v1_projected_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_queuing_configuration.rst b/doc/source/kubernetes.client.models.v1_queuing_configuration.rst index 96ba0f3fd4..9bc33c0f7d 100644 --- a/doc/source/kubernetes.client.models.v1_queuing_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_queuing_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_queuing\_configuration module .. automodule:: kubernetes.client.models.v1_queuing_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_quobyte_volume_source.rst b/doc/source/kubernetes.client.models.v1_quobyte_volume_source.rst index 809d4c1eab..ad65894952 100644 --- a/doc/source/kubernetes.client.models.v1_quobyte_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_quobyte_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_quobyte\_volume\_source module .. automodule:: kubernetes.client.models.v1_quobyte_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rbd_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_rbd_persistent_volume_source.rst index 2710c70a8b..cc03d73021 100644 --- a/doc/source/kubernetes.client.models.v1_rbd_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_rbd_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rbd\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_rbd_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rbd_volume_source.rst b/doc/source/kubernetes.client.models.v1_rbd_volume_source.rst index c3ec93b178..d125043774 100644 --- a/doc/source/kubernetes.client.models.v1_rbd_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_rbd_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rbd\_volume\_source module .. automodule:: kubernetes.client.models.v1_rbd_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replica_set.rst b/doc/source/kubernetes.client.models.v1_replica_set.rst index e9bcfb169c..d9007f3fbb 100644 --- a/doc/source/kubernetes.client.models.v1_replica_set.rst +++ b/doc/source/kubernetes.client.models.v1_replica_set.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replica\_set module .. automodule:: kubernetes.client.models.v1_replica_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replica_set_condition.rst b/doc/source/kubernetes.client.models.v1_replica_set_condition.rst index e60aaa1655..3dc783648a 100644 --- a/doc/source/kubernetes.client.models.v1_replica_set_condition.rst +++ b/doc/source/kubernetes.client.models.v1_replica_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replica\_set\_condition module .. automodule:: kubernetes.client.models.v1_replica_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replica_set_list.rst b/doc/source/kubernetes.client.models.v1_replica_set_list.rst index 742364f28f..1199e2e403 100644 --- a/doc/source/kubernetes.client.models.v1_replica_set_list.rst +++ b/doc/source/kubernetes.client.models.v1_replica_set_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replica\_set\_list module .. automodule:: kubernetes.client.models.v1_replica_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replica_set_spec.rst b/doc/source/kubernetes.client.models.v1_replica_set_spec.rst index 104072cab2..6d417aa8cc 100644 --- a/doc/source/kubernetes.client.models.v1_replica_set_spec.rst +++ b/doc/source/kubernetes.client.models.v1_replica_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replica\_set\_spec module .. automodule:: kubernetes.client.models.v1_replica_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replica_set_status.rst b/doc/source/kubernetes.client.models.v1_replica_set_status.rst index c68c954786..9c2048293d 100644 --- a/doc/source/kubernetes.client.models.v1_replica_set_status.rst +++ b/doc/source/kubernetes.client.models.v1_replica_set_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replica\_set\_status module .. automodule:: kubernetes.client.models.v1_replica_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replication_controller.rst b/doc/source/kubernetes.client.models.v1_replication_controller.rst index dced892b70..24aabc677b 100644 --- a/doc/source/kubernetes.client.models.v1_replication_controller.rst +++ b/doc/source/kubernetes.client.models.v1_replication_controller.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replication\_controller module .. automodule:: kubernetes.client.models.v1_replication_controller :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replication_controller_condition.rst b/doc/source/kubernetes.client.models.v1_replication_controller_condition.rst index a377ca5fe8..163ceb8c8f 100644 --- a/doc/source/kubernetes.client.models.v1_replication_controller_condition.rst +++ b/doc/source/kubernetes.client.models.v1_replication_controller_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replication\_controller\_condition module .. automodule:: kubernetes.client.models.v1_replication_controller_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replication_controller_list.rst b/doc/source/kubernetes.client.models.v1_replication_controller_list.rst index 11621a4918..031b31d4ea 100644 --- a/doc/source/kubernetes.client.models.v1_replication_controller_list.rst +++ b/doc/source/kubernetes.client.models.v1_replication_controller_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replication\_controller\_list module .. automodule:: kubernetes.client.models.v1_replication_controller_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replication_controller_spec.rst b/doc/source/kubernetes.client.models.v1_replication_controller_spec.rst index a77365d59c..53462f9dfa 100644 --- a/doc/source/kubernetes.client.models.v1_replication_controller_spec.rst +++ b/doc/source/kubernetes.client.models.v1_replication_controller_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replication\_controller\_spec module .. automodule:: kubernetes.client.models.v1_replication_controller_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_replication_controller_status.rst b/doc/source/kubernetes.client.models.v1_replication_controller_status.rst index 8657911f47..382901eeb7 100644 --- a/doc/source/kubernetes.client.models.v1_replication_controller_status.rst +++ b/doc/source/kubernetes.client.models.v1_replication_controller_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_replication\_controller\_status module .. automodule:: kubernetes.client.models.v1_replication_controller_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_attributes.rst b/doc/source/kubernetes.client.models.v1_resource_attributes.rst index 115551b256..86ccc9d5f3 100644 --- a/doc/source/kubernetes.client.models.v1_resource_attributes.rst +++ b/doc/source/kubernetes.client.models.v1_resource_attributes.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_attributes module .. automodule:: kubernetes.client.models.v1_resource_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim.rst b/doc/source/kubernetes.client.models.v1_resource_claim.rst deleted file mode 100644 index dacf674797..0000000000 --- a/doc/source/kubernetes.client.models.v1_resource_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1\_resource\_claim module -=================================================== - -.. automodule:: kubernetes.client.models.v1_resource_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_consumer_reference.rst b/doc/source/kubernetes.client.models.v1_resource_claim_consumer_reference.rst new file mode 100644 index 0000000000..4f698075a3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_consumer\_reference module +======================================================================== + +.. automodule:: kubernetes.client.models.v1_resource_claim_consumer_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1_resource_claim_list.rst new file mode 100644 index 0000000000..fd626c35e5 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_list module +========================================================= + +.. automodule:: kubernetes.client.models.v1_resource_claim_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1_resource_claim_spec.rst new file mode 100644 index 0000000000..9d4609ff7a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_spec module +========================================================= + +.. automodule:: kubernetes.client.models.v1_resource_claim_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1_resource_claim_status.rst new file mode 100644 index 0000000000..0f0e54248e --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_status module +=========================================================== + +.. automodule:: kubernetes.client.models.v1_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_template.rst b/doc/source/kubernetes.client.models.v1_resource_claim_template.rst new file mode 100644 index 0000000000..62b7bc85d0 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_template module +============================================================= + +.. automodule:: kubernetes.client.models.v1_resource_claim_template + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_template_list.rst b/doc/source/kubernetes.client.models.v1_resource_claim_template_list.rst new file mode 100644 index 0000000000..f1f5632b89 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_template\_list module +=================================================================== + +.. automodule:: kubernetes.client.models.v1_resource_claim_template_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_claim_template_spec.rst b/doc/source/kubernetes.client.models.v1_resource_claim_template_spec.rst new file mode 100644 index 0000000000..8ecb7bcb3d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_claim\_template\_spec module +=================================================================== + +.. automodule:: kubernetes.client.models.v1_resource_claim_template_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_field_selector.rst b/doc/source/kubernetes.client.models.v1_resource_field_selector.rst index 98ebfc70c5..ec830fc830 100644 --- a/doc/source/kubernetes.client.models.v1_resource_field_selector.rst +++ b/doc/source/kubernetes.client.models.v1_resource_field_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_field\_selector module .. automodule:: kubernetes.client.models.v1_resource_field_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_health.rst b/doc/source/kubernetes.client.models.v1_resource_health.rst index 29e6b3f6d4..c578da5751 100644 --- a/doc/source/kubernetes.client.models.v1_resource_health.rst +++ b/doc/source/kubernetes.client.models.v1_resource_health.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_health module .. automodule:: kubernetes.client.models.v1_resource_health :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_policy_rule.rst b/doc/source/kubernetes.client.models.v1_resource_policy_rule.rst index bd2ad8ce4e..9bcd5ced91 100644 --- a/doc/source/kubernetes.client.models.v1_resource_policy_rule.rst +++ b/doc/source/kubernetes.client.models.v1_resource_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_policy\_rule module .. automodule:: kubernetes.client.models.v1_resource_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_pool.rst b/doc/source/kubernetes.client.models.v1_resource_pool.rst new file mode 100644 index 0000000000..4c51de5be3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_pool module +================================================== + +.. automodule:: kubernetes.client.models.v1_resource_pool + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_quota.rst b/doc/source/kubernetes.client.models.v1_resource_quota.rst index 6fcba83b40..cc47a5afbd 100644 --- a/doc/source/kubernetes.client.models.v1_resource_quota.rst +++ b/doc/source/kubernetes.client.models.v1_resource_quota.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_quota module .. automodule:: kubernetes.client.models.v1_resource_quota :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_quota_list.rst b/doc/source/kubernetes.client.models.v1_resource_quota_list.rst index 7cf1457e69..4d99072721 100644 --- a/doc/source/kubernetes.client.models.v1_resource_quota_list.rst +++ b/doc/source/kubernetes.client.models.v1_resource_quota_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_quota\_list module .. automodule:: kubernetes.client.models.v1_resource_quota_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_quota_spec.rst b/doc/source/kubernetes.client.models.v1_resource_quota_spec.rst index 7dfd8410e4..ecc1fc91c3 100644 --- a/doc/source/kubernetes.client.models.v1_resource_quota_spec.rst +++ b/doc/source/kubernetes.client.models.v1_resource_quota_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_quota\_spec module .. automodule:: kubernetes.client.models.v1_resource_quota_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_quota_status.rst b/doc/source/kubernetes.client.models.v1_resource_quota_status.rst index 5c68b7543d..e9c8b26ed6 100644 --- a/doc/source/kubernetes.client.models.v1_resource_quota_status.rst +++ b/doc/source/kubernetes.client.models.v1_resource_quota_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_quota\_status module .. automodule:: kubernetes.client.models.v1_resource_quota_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_requirements.rst b/doc/source/kubernetes.client.models.v1_resource_requirements.rst index fc31201bb9..6dedaf42b6 100644 --- a/doc/source/kubernetes.client.models.v1_resource_requirements.rst +++ b/doc/source/kubernetes.client.models.v1_resource_requirements.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_requirements module .. automodule:: kubernetes.client.models.v1_resource_requirements :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_rule.rst b/doc/source/kubernetes.client.models.v1_resource_rule.rst index e05ee75af4..aa5cd5b772 100644 --- a/doc/source/kubernetes.client.models.v1_resource_rule.rst +++ b/doc/source/kubernetes.client.models.v1_resource_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_rule module .. automodule:: kubernetes.client.models.v1_resource_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_slice.rst b/doc/source/kubernetes.client.models.v1_resource_slice.rst new file mode 100644 index 0000000000..f26dda2774 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_slice module +=================================================== + +.. automodule:: kubernetes.client.models.v1_resource_slice + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1_resource_slice_list.rst new file mode 100644 index 0000000000..91d7d5baa9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_slice\_list module +========================================================= + +.. automodule:: kubernetes.client.models.v1_resource_slice_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_slice_spec.rst b/doc/source/kubernetes.client.models.v1_resource_slice_spec.rst new file mode 100644 index 0000000000..93a2bb167d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_slice\_spec module +========================================================= + +.. automodule:: kubernetes.client.models.v1_resource_slice_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_resource_status.rst b/doc/source/kubernetes.client.models.v1_resource_status.rst index 3179eca915..f75524339a 100644 --- a/doc/source/kubernetes.client.models.v1_resource_status.rst +++ b/doc/source/kubernetes.client.models.v1_resource_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_resource\_status module .. automodule:: kubernetes.client.models.v1_resource_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_role.rst b/doc/source/kubernetes.client.models.v1_role.rst index 2d0067ea35..fb1bc92675 100644 --- a/doc/source/kubernetes.client.models.v1_role.rst +++ b/doc/source/kubernetes.client.models.v1_role.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_role module .. automodule:: kubernetes.client.models.v1_role :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_role_binding.rst b/doc/source/kubernetes.client.models.v1_role_binding.rst index 489ef81a5b..372ce7bbc6 100644 --- a/doc/source/kubernetes.client.models.v1_role_binding.rst +++ b/doc/source/kubernetes.client.models.v1_role_binding.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_role\_binding module .. automodule:: kubernetes.client.models.v1_role_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_role_binding_list.rst b/doc/source/kubernetes.client.models.v1_role_binding_list.rst index bdb8d56735..eaac530271 100644 --- a/doc/source/kubernetes.client.models.v1_role_binding_list.rst +++ b/doc/source/kubernetes.client.models.v1_role_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_role\_binding\_list module .. automodule:: kubernetes.client.models.v1_role_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_role_list.rst b/doc/source/kubernetes.client.models.v1_role_list.rst index b3d01dfa4e..65eb80b3a2 100644 --- a/doc/source/kubernetes.client.models.v1_role_list.rst +++ b/doc/source/kubernetes.client.models.v1_role_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_role\_list module .. automodule:: kubernetes.client.models.v1_role_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_role_ref.rst b/doc/source/kubernetes.client.models.v1_role_ref.rst index 976e66503a..20c8b33516 100644 --- a/doc/source/kubernetes.client.models.v1_role_ref.rst +++ b/doc/source/kubernetes.client.models.v1_role_ref.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_role\_ref module .. automodule:: kubernetes.client.models.v1_role_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rolling_update_daemon_set.rst b/doc/source/kubernetes.client.models.v1_rolling_update_daemon_set.rst index ea0bb99539..693b38112b 100644 --- a/doc/source/kubernetes.client.models.v1_rolling_update_daemon_set.rst +++ b/doc/source/kubernetes.client.models.v1_rolling_update_daemon_set.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rolling\_update\_daemon\_set module .. automodule:: kubernetes.client.models.v1_rolling_update_daemon_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rolling_update_deployment.rst b/doc/source/kubernetes.client.models.v1_rolling_update_deployment.rst index 95f25d4288..11eee4fb36 100644 --- a/doc/source/kubernetes.client.models.v1_rolling_update_deployment.rst +++ b/doc/source/kubernetes.client.models.v1_rolling_update_deployment.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rolling\_update\_deployment module .. automodule:: kubernetes.client.models.v1_rolling_update_deployment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rolling_update_stateful_set_strategy.rst b/doc/source/kubernetes.client.models.v1_rolling_update_stateful_set_strategy.rst index 6006b64231..4d849ef2d8 100644 --- a/doc/source/kubernetes.client.models.v1_rolling_update_stateful_set_strategy.rst +++ b/doc/source/kubernetes.client.models.v1_rolling_update_stateful_set_strategy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rolling\_update\_stateful\_set\_strategy module .. automodule:: kubernetes.client.models.v1_rolling_update_stateful_set_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_rule_with_operations.rst b/doc/source/kubernetes.client.models.v1_rule_with_operations.rst index 0293f6f407..582d2bb5ab 100644 --- a/doc/source/kubernetes.client.models.v1_rule_with_operations.rst +++ b/doc/source/kubernetes.client.models.v1_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_rule\_with\_operations module .. automodule:: kubernetes.client.models.v1_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_runtime_class.rst b/doc/source/kubernetes.client.models.v1_runtime_class.rst index 7b92e138ef..40d996b32a 100644 --- a/doc/source/kubernetes.client.models.v1_runtime_class.rst +++ b/doc/source/kubernetes.client.models.v1_runtime_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_runtime\_class module .. automodule:: kubernetes.client.models.v1_runtime_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_runtime_class_list.rst b/doc/source/kubernetes.client.models.v1_runtime_class_list.rst index 2a2baaaf92..fad654c16d 100644 --- a/doc/source/kubernetes.client.models.v1_runtime_class_list.rst +++ b/doc/source/kubernetes.client.models.v1_runtime_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_runtime\_class\_list module .. automodule:: kubernetes.client.models.v1_runtime_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scale.rst b/doc/source/kubernetes.client.models.v1_scale.rst index 702c5e4039..ebdf391824 100644 --- a/doc/source/kubernetes.client.models.v1_scale.rst +++ b/doc/source/kubernetes.client.models.v1_scale.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scale module .. automodule:: kubernetes.client.models.v1_scale :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scale_io_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_scale_io_persistent_volume_source.rst index a507ff6a74..dc671a2843 100644 --- a/doc/source/kubernetes.client.models.v1_scale_io_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_scale_io_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scale\_io\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_scale_io_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scale_io_volume_source.rst b/doc/source/kubernetes.client.models.v1_scale_io_volume_source.rst index ad25f155eb..65fbd8d415 100644 --- a/doc/source/kubernetes.client.models.v1_scale_io_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_scale_io_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scale\_io\_volume\_source module .. automodule:: kubernetes.client.models.v1_scale_io_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scale_spec.rst b/doc/source/kubernetes.client.models.v1_scale_spec.rst index f79730132e..cc72d3de09 100644 --- a/doc/source/kubernetes.client.models.v1_scale_spec.rst +++ b/doc/source/kubernetes.client.models.v1_scale_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scale\_spec module .. automodule:: kubernetes.client.models.v1_scale_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scale_status.rst b/doc/source/kubernetes.client.models.v1_scale_status.rst index 5076eb487c..0fe1afc6d8 100644 --- a/doc/source/kubernetes.client.models.v1_scale_status.rst +++ b/doc/source/kubernetes.client.models.v1_scale_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scale\_status module .. automodule:: kubernetes.client.models.v1_scale_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scheduling.rst b/doc/source/kubernetes.client.models.v1_scheduling.rst index 851c3f6163..d769ec4d74 100644 --- a/doc/source/kubernetes.client.models.v1_scheduling.rst +++ b/doc/source/kubernetes.client.models.v1_scheduling.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scheduling module .. automodule:: kubernetes.client.models.v1_scheduling :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scope_selector.rst b/doc/source/kubernetes.client.models.v1_scope_selector.rst index 8db3f875b0..78debce1ad 100644 --- a/doc/source/kubernetes.client.models.v1_scope_selector.rst +++ b/doc/source/kubernetes.client.models.v1_scope_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scope\_selector module .. automodule:: kubernetes.client.models.v1_scope_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_scoped_resource_selector_requirement.rst b/doc/source/kubernetes.client.models.v1_scoped_resource_selector_requirement.rst index 66f2ff8df5..4cc905be68 100644 --- a/doc/source/kubernetes.client.models.v1_scoped_resource_selector_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_scoped_resource_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_scoped\_resource\_selector\_requirement module .. automodule:: kubernetes.client.models.v1_scoped_resource_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_se_linux_options.rst b/doc/source/kubernetes.client.models.v1_se_linux_options.rst index f216047e0d..bae8958fda 100644 --- a/doc/source/kubernetes.client.models.v1_se_linux_options.rst +++ b/doc/source/kubernetes.client.models.v1_se_linux_options.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_se\_linux\_options module .. automodule:: kubernetes.client.models.v1_se_linux_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_seccomp_profile.rst b/doc/source/kubernetes.client.models.v1_seccomp_profile.rst index ecae5f63a1..4ca8d51453 100644 --- a/doc/source/kubernetes.client.models.v1_seccomp_profile.rst +++ b/doc/source/kubernetes.client.models.v1_seccomp_profile.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_seccomp\_profile module .. automodule:: kubernetes.client.models.v1_seccomp_profile :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret.rst b/doc/source/kubernetes.client.models.v1_secret.rst index 6d34dd653a..fc341c112a 100644 --- a/doc/source/kubernetes.client.models.v1_secret.rst +++ b/doc/source/kubernetes.client.models.v1_secret.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret module .. automodule:: kubernetes.client.models.v1_secret :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_env_source.rst b/doc/source/kubernetes.client.models.v1_secret_env_source.rst index c0a6c7a2fc..2c5f545035 100644 --- a/doc/source/kubernetes.client.models.v1_secret_env_source.rst +++ b/doc/source/kubernetes.client.models.v1_secret_env_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_env\_source module .. automodule:: kubernetes.client.models.v1_secret_env_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_key_selector.rst b/doc/source/kubernetes.client.models.v1_secret_key_selector.rst index 4a60ff03a3..208923aba9 100644 --- a/doc/source/kubernetes.client.models.v1_secret_key_selector.rst +++ b/doc/source/kubernetes.client.models.v1_secret_key_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_key\_selector module .. automodule:: kubernetes.client.models.v1_secret_key_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_list.rst b/doc/source/kubernetes.client.models.v1_secret_list.rst index a485d8295c..2fa7c6780b 100644 --- a/doc/source/kubernetes.client.models.v1_secret_list.rst +++ b/doc/source/kubernetes.client.models.v1_secret_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_list module .. automodule:: kubernetes.client.models.v1_secret_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_projection.rst b/doc/source/kubernetes.client.models.v1_secret_projection.rst index 651288671f..24a0ae5d07 100644 --- a/doc/source/kubernetes.client.models.v1_secret_projection.rst +++ b/doc/source/kubernetes.client.models.v1_secret_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_projection module .. automodule:: kubernetes.client.models.v1_secret_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_reference.rst b/doc/source/kubernetes.client.models.v1_secret_reference.rst index 03be4230af..d65e72586f 100644 --- a/doc/source/kubernetes.client.models.v1_secret_reference.rst +++ b/doc/source/kubernetes.client.models.v1_secret_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_reference module .. automodule:: kubernetes.client.models.v1_secret_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_secret_volume_source.rst b/doc/source/kubernetes.client.models.v1_secret_volume_source.rst index 2c5ee9fde7..0729924a75 100644 --- a/doc/source/kubernetes.client.models.v1_secret_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_secret_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_secret\_volume\_source module .. automodule:: kubernetes.client.models.v1_secret_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_security_context.rst b/doc/source/kubernetes.client.models.v1_security_context.rst index 568b061808..aabce215ce 100644 --- a/doc/source/kubernetes.client.models.v1_security_context.rst +++ b/doc/source/kubernetes.client.models.v1_security_context.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_security\_context module .. automodule:: kubernetes.client.models.v1_security_context :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_selectable_field.rst b/doc/source/kubernetes.client.models.v1_selectable_field.rst index 9adad18990..ac891445cd 100644 --- a/doc/source/kubernetes.client.models.v1_selectable_field.rst +++ b/doc/source/kubernetes.client.models.v1_selectable_field.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_selectable\_field module .. automodule:: kubernetes.client.models.v1_selectable_field :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_access_review.rst b/doc/source/kubernetes.client.models.v1_self_subject_access_review.rst index b10b1e8fed..fc79996f5b 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_access_review.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_access\_review module .. automodule:: kubernetes.client.models.v1_self_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_access_review_spec.rst b/doc/source/kubernetes.client.models.v1_self_subject_access_review_spec.rst index 5d3b85e6f1..d4c2976792 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_access_review_spec.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_access_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_access\_review\_spec module .. automodule:: kubernetes.client.models.v1_self_subject_access_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_review.rst b/doc/source/kubernetes.client.models.v1_self_subject_review.rst index 93163af5ef..b6005cc7dd 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_review.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_review module .. automodule:: kubernetes.client.models.v1_self_subject_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_review_status.rst b/doc/source/kubernetes.client.models.v1_self_subject_review_status.rst index 0f359f3bc3..ceb0f0f750 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_review_status.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_review_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_review\_status module .. automodule:: kubernetes.client.models.v1_self_subject_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_rules_review.rst b/doc/source/kubernetes.client.models.v1_self_subject_rules_review.rst index 6accd5c133..22e0a28b69 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_rules_review.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_rules_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_rules\_review module .. automodule:: kubernetes.client.models.v1_self_subject_rules_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_self_subject_rules_review_spec.rst b/doc/source/kubernetes.client.models.v1_self_subject_rules_review_spec.rst index 59cbf2a7b2..f81a6c4a4b 100644 --- a/doc/source/kubernetes.client.models.v1_self_subject_rules_review_spec.rst +++ b/doc/source/kubernetes.client.models.v1_self_subject_rules_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_self\_subject\_rules\_review\_spec module .. automodule:: kubernetes.client.models.v1_self_subject_rules_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_server_address_by_client_cidr.rst b/doc/source/kubernetes.client.models.v1_server_address_by_client_cidr.rst index 9bbafee7ce..5b2854a076 100644 --- a/doc/source/kubernetes.client.models.v1_server_address_by_client_cidr.rst +++ b/doc/source/kubernetes.client.models.v1_server_address_by_client_cidr.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_server\_address\_by\_client\_cidr module .. automodule:: kubernetes.client.models.v1_server_address_by_client_cidr :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service.rst b/doc/source/kubernetes.client.models.v1_service.rst index f4d3ce7762..3da06cbf07 100644 --- a/doc/source/kubernetes.client.models.v1_service.rst +++ b/doc/source/kubernetes.client.models.v1_service.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service module .. automodule:: kubernetes.client.models.v1_service :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_account.rst b/doc/source/kubernetes.client.models.v1_service_account.rst index 6c4dec1c6c..243c9faa64 100644 --- a/doc/source/kubernetes.client.models.v1_service_account.rst +++ b/doc/source/kubernetes.client.models.v1_service_account.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_account module .. automodule:: kubernetes.client.models.v1_service_account :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_account_list.rst b/doc/source/kubernetes.client.models.v1_service_account_list.rst index 2b584c9e4d..6dbfcd8858 100644 --- a/doc/source/kubernetes.client.models.v1_service_account_list.rst +++ b/doc/source/kubernetes.client.models.v1_service_account_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_account\_list module .. automodule:: kubernetes.client.models.v1_service_account_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_account_subject.rst b/doc/source/kubernetes.client.models.v1_service_account_subject.rst index f04d81f0d8..dc0e9afff4 100644 --- a/doc/source/kubernetes.client.models.v1_service_account_subject.rst +++ b/doc/source/kubernetes.client.models.v1_service_account_subject.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_account\_subject module .. automodule:: kubernetes.client.models.v1_service_account_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_account_token_projection.rst b/doc/source/kubernetes.client.models.v1_service_account_token_projection.rst index 2b954597ae..83dbae5657 100644 --- a/doc/source/kubernetes.client.models.v1_service_account_token_projection.rst +++ b/doc/source/kubernetes.client.models.v1_service_account_token_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_account\_token\_projection module .. automodule:: kubernetes.client.models.v1_service_account_token_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_backend_port.rst b/doc/source/kubernetes.client.models.v1_service_backend_port.rst index 395d3593d6..644078aa51 100644 --- a/doc/source/kubernetes.client.models.v1_service_backend_port.rst +++ b/doc/source/kubernetes.client.models.v1_service_backend_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_backend\_port module .. automodule:: kubernetes.client.models.v1_service_backend_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_cidr.rst b/doc/source/kubernetes.client.models.v1_service_cidr.rst new file mode 100644 index 0000000000..92492b7c48 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_service\_cidr module +================================================= + +.. automodule:: kubernetes.client.models.v1_service_cidr + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_cidr_list.rst b/doc/source/kubernetes.client.models.v1_service_cidr_list.rst new file mode 100644 index 0000000000..f1b6abada7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_service\_cidr\_list module +======================================================= + +.. automodule:: kubernetes.client.models.v1_service_cidr_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_cidr_spec.rst b/doc/source/kubernetes.client.models.v1_service_cidr_spec.rst new file mode 100644 index 0000000000..1568979856 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_service\_cidr\_spec module +======================================================= + +.. automodule:: kubernetes.client.models.v1_service_cidr_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_cidr_status.rst b/doc/source/kubernetes.client.models.v1_service_cidr_status.rst new file mode 100644 index 0000000000..a7a283a6c9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_service\_cidr\_status module +========================================================= + +.. automodule:: kubernetes.client.models.v1_service_cidr_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_list.rst b/doc/source/kubernetes.client.models.v1_service_list.rst index a50badcfc4..4097d32eb4 100644 --- a/doc/source/kubernetes.client.models.v1_service_list.rst +++ b/doc/source/kubernetes.client.models.v1_service_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_list module .. automodule:: kubernetes.client.models.v1_service_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_port.rst b/doc/source/kubernetes.client.models.v1_service_port.rst index 7ac1e72553..f01b7939fb 100644 --- a/doc/source/kubernetes.client.models.v1_service_port.rst +++ b/doc/source/kubernetes.client.models.v1_service_port.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_port module .. automodule:: kubernetes.client.models.v1_service_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_spec.rst b/doc/source/kubernetes.client.models.v1_service_spec.rst index 604a6a2cf5..f5889ed341 100644 --- a/doc/source/kubernetes.client.models.v1_service_spec.rst +++ b/doc/source/kubernetes.client.models.v1_service_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_spec module .. automodule:: kubernetes.client.models.v1_service_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_service_status.rst b/doc/source/kubernetes.client.models.v1_service_status.rst index b996587ad8..eda16d0180 100644 --- a/doc/source/kubernetes.client.models.v1_service_status.rst +++ b/doc/source/kubernetes.client.models.v1_service_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_service\_status module .. automodule:: kubernetes.client.models.v1_service_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_session_affinity_config.rst b/doc/source/kubernetes.client.models.v1_session_affinity_config.rst index 68037d3216..51fd0f6450 100644 --- a/doc/source/kubernetes.client.models.v1_session_affinity_config.rst +++ b/doc/source/kubernetes.client.models.v1_session_affinity_config.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_session\_affinity\_config module .. automodule:: kubernetes.client.models.v1_session_affinity_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_sleep_action.rst b/doc/source/kubernetes.client.models.v1_sleep_action.rst index ae28bfde11..6c582922b0 100644 --- a/doc/source/kubernetes.client.models.v1_sleep_action.rst +++ b/doc/source/kubernetes.client.models.v1_sleep_action.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_sleep\_action module .. automodule:: kubernetes.client.models.v1_sleep_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set.rst b/doc/source/kubernetes.client.models.v1_stateful_set.rst index cc1e4e9d82..ca395ae92f 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set module .. automodule:: kubernetes.client.models.v1_stateful_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_condition.rst b/doc/source/kubernetes.client.models.v1_stateful_set_condition.rst index 8321567122..27c481f358 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_condition.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_condition module .. automodule:: kubernetes.client.models.v1_stateful_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_list.rst b/doc/source/kubernetes.client.models.v1_stateful_set_list.rst index 0ab2525a68..64271f24d9 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_list.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_list module .. automodule:: kubernetes.client.models.v1_stateful_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_ordinals.rst b/doc/source/kubernetes.client.models.v1_stateful_set_ordinals.rst index 738c2c0768..0ff1c87cd1 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_ordinals.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_ordinals.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_ordinals module .. automodule:: kubernetes.client.models.v1_stateful_set_ordinals :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy.rst b/doc/source/kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy.rst index ec266821c3..276f9c6121 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_persistent\_volume\_claim\_retention .. automodule:: kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_spec.rst b/doc/source/kubernetes.client.models.v1_stateful_set_spec.rst index 3eed65c3ed..2344bf95b0 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_spec.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_spec module .. automodule:: kubernetes.client.models.v1_stateful_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_status.rst b/doc/source/kubernetes.client.models.v1_stateful_set_status.rst index af36f373f1..4fd836dae6 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_status.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_status module .. automodule:: kubernetes.client.models.v1_stateful_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_stateful_set_update_strategy.rst b/doc/source/kubernetes.client.models.v1_stateful_set_update_strategy.rst index 27434c9502..14e384ee60 100644 --- a/doc/source/kubernetes.client.models.v1_stateful_set_update_strategy.rst +++ b/doc/source/kubernetes.client.models.v1_stateful_set_update_strategy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_stateful\_set\_update\_strategy module .. automodule:: kubernetes.client.models.v1_stateful_set_update_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_status.rst b/doc/source/kubernetes.client.models.v1_status.rst index f734012473..bf3808ac5d 100644 --- a/doc/source/kubernetes.client.models.v1_status.rst +++ b/doc/source/kubernetes.client.models.v1_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_status module .. automodule:: kubernetes.client.models.v1_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_status_cause.rst b/doc/source/kubernetes.client.models.v1_status_cause.rst index 247977746d..e11b9a05bb 100644 --- a/doc/source/kubernetes.client.models.v1_status_cause.rst +++ b/doc/source/kubernetes.client.models.v1_status_cause.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_status\_cause module .. automodule:: kubernetes.client.models.v1_status_cause :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_status_details.rst b/doc/source/kubernetes.client.models.v1_status_details.rst index 3199878405..28a4752b13 100644 --- a/doc/source/kubernetes.client.models.v1_status_details.rst +++ b/doc/source/kubernetes.client.models.v1_status_details.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_status\_details module .. automodule:: kubernetes.client.models.v1_status_details :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_storage_class.rst b/doc/source/kubernetes.client.models.v1_storage_class.rst index 56ab5f1f0d..da8e295ca5 100644 --- a/doc/source/kubernetes.client.models.v1_storage_class.rst +++ b/doc/source/kubernetes.client.models.v1_storage_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_storage\_class module .. automodule:: kubernetes.client.models.v1_storage_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_storage_class_list.rst b/doc/source/kubernetes.client.models.v1_storage_class_list.rst index 826f8bf8bb..12ce6d498d 100644 --- a/doc/source/kubernetes.client.models.v1_storage_class_list.rst +++ b/doc/source/kubernetes.client.models.v1_storage_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_storage\_class\_list module .. automodule:: kubernetes.client.models.v1_storage_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_storage_os_persistent_volume_source.rst b/doc/source/kubernetes.client.models.v1_storage_os_persistent_volume_source.rst index 01df977db5..9879e9381d 100644 --- a/doc/source/kubernetes.client.models.v1_storage_os_persistent_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_storage_os_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_storage\_os\_persistent\_volume\_source module .. automodule:: kubernetes.client.models.v1_storage_os_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_storage_os_volume_source.rst b/doc/source/kubernetes.client.models.v1_storage_os_volume_source.rst index 84795b001a..97973b3967 100644 --- a/doc/source/kubernetes.client.models.v1_storage_os_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_storage_os_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_storage\_os\_volume\_source module .. automodule:: kubernetes.client.models.v1_storage_os_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_subject_access_review.rst b/doc/source/kubernetes.client.models.v1_subject_access_review.rst index 38ceca6b1e..f397ba58da 100644 --- a/doc/source/kubernetes.client.models.v1_subject_access_review.rst +++ b/doc/source/kubernetes.client.models.v1_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_subject\_access\_review module .. automodule:: kubernetes.client.models.v1_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_subject_access_review_spec.rst b/doc/source/kubernetes.client.models.v1_subject_access_review_spec.rst index ccf902fa81..e995366bb5 100644 --- a/doc/source/kubernetes.client.models.v1_subject_access_review_spec.rst +++ b/doc/source/kubernetes.client.models.v1_subject_access_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_subject\_access\_review\_spec module .. automodule:: kubernetes.client.models.v1_subject_access_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_subject_access_review_status.rst b/doc/source/kubernetes.client.models.v1_subject_access_review_status.rst index a55de304e0..c720a9f90b 100644 --- a/doc/source/kubernetes.client.models.v1_subject_access_review_status.rst +++ b/doc/source/kubernetes.client.models.v1_subject_access_review_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_subject\_access\_review\_status module .. automodule:: kubernetes.client.models.v1_subject_access_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_subject_rules_review_status.rst b/doc/source/kubernetes.client.models.v1_subject_rules_review_status.rst index 2a291333c7..abf44838f2 100644 --- a/doc/source/kubernetes.client.models.v1_subject_rules_review_status.rst +++ b/doc/source/kubernetes.client.models.v1_subject_rules_review_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_subject\_rules\_review\_status module .. automodule:: kubernetes.client.models.v1_subject_rules_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_success_policy.rst b/doc/source/kubernetes.client.models.v1_success_policy.rst index fde7fea6e9..f3ceb3fb31 100644 --- a/doc/source/kubernetes.client.models.v1_success_policy.rst +++ b/doc/source/kubernetes.client.models.v1_success_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_success\_policy module .. automodule:: kubernetes.client.models.v1_success_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_success_policy_rule.rst b/doc/source/kubernetes.client.models.v1_success_policy_rule.rst index d8588147c4..9acd0adb73 100644 --- a/doc/source/kubernetes.client.models.v1_success_policy_rule.rst +++ b/doc/source/kubernetes.client.models.v1_success_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_success\_policy\_rule module .. automodule:: kubernetes.client.models.v1_success_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_sysctl.rst b/doc/source/kubernetes.client.models.v1_sysctl.rst index db04afc20b..4f5628ef29 100644 --- a/doc/source/kubernetes.client.models.v1_sysctl.rst +++ b/doc/source/kubernetes.client.models.v1_sysctl.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_sysctl module .. automodule:: kubernetes.client.models.v1_sysctl :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_taint.rst b/doc/source/kubernetes.client.models.v1_taint.rst index 63373c479d..8f94f20e6a 100644 --- a/doc/source/kubernetes.client.models.v1_taint.rst +++ b/doc/source/kubernetes.client.models.v1_taint.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_taint module .. automodule:: kubernetes.client.models.v1_taint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_tcp_socket_action.rst b/doc/source/kubernetes.client.models.v1_tcp_socket_action.rst index df8c69bc08..b449144a43 100644 --- a/doc/source/kubernetes.client.models.v1_tcp_socket_action.rst +++ b/doc/source/kubernetes.client.models.v1_tcp_socket_action.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_tcp\_socket\_action module .. automodule:: kubernetes.client.models.v1_tcp_socket_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_token_request_spec.rst b/doc/source/kubernetes.client.models.v1_token_request_spec.rst index c8f6369f31..a822e689f0 100644 --- a/doc/source/kubernetes.client.models.v1_token_request_spec.rst +++ b/doc/source/kubernetes.client.models.v1_token_request_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_token\_request\_spec module .. automodule:: kubernetes.client.models.v1_token_request_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_token_request_status.rst b/doc/source/kubernetes.client.models.v1_token_request_status.rst index 2adceeb795..01843f3281 100644 --- a/doc/source/kubernetes.client.models.v1_token_request_status.rst +++ b/doc/source/kubernetes.client.models.v1_token_request_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_token\_request\_status module .. automodule:: kubernetes.client.models.v1_token_request_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_token_review.rst b/doc/source/kubernetes.client.models.v1_token_review.rst index b596aa9e16..8a654e7790 100644 --- a/doc/source/kubernetes.client.models.v1_token_review.rst +++ b/doc/source/kubernetes.client.models.v1_token_review.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_token\_review module .. automodule:: kubernetes.client.models.v1_token_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_token_review_spec.rst b/doc/source/kubernetes.client.models.v1_token_review_spec.rst index 8ec750a2c1..c5fc0f84db 100644 --- a/doc/source/kubernetes.client.models.v1_token_review_spec.rst +++ b/doc/source/kubernetes.client.models.v1_token_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_token\_review\_spec module .. automodule:: kubernetes.client.models.v1_token_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_token_review_status.rst b/doc/source/kubernetes.client.models.v1_token_review_status.rst index 60ef5f10a1..c82421795b 100644 --- a/doc/source/kubernetes.client.models.v1_token_review_status.rst +++ b/doc/source/kubernetes.client.models.v1_token_review_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_token\_review\_status module .. automodule:: kubernetes.client.models.v1_token_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_toleration.rst b/doc/source/kubernetes.client.models.v1_toleration.rst index 797f5f2fcd..1259337164 100644 --- a/doc/source/kubernetes.client.models.v1_toleration.rst +++ b/doc/source/kubernetes.client.models.v1_toleration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_toleration module .. automodule:: kubernetes.client.models.v1_toleration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_topology_selector_label_requirement.rst b/doc/source/kubernetes.client.models.v1_topology_selector_label_requirement.rst index 2b57a23c4e..1cd034f974 100644 --- a/doc/source/kubernetes.client.models.v1_topology_selector_label_requirement.rst +++ b/doc/source/kubernetes.client.models.v1_topology_selector_label_requirement.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_topology\_selector\_label\_requirement module .. automodule:: kubernetes.client.models.v1_topology_selector_label_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_topology_selector_term.rst b/doc/source/kubernetes.client.models.v1_topology_selector_term.rst index 0d8fb2a2da..e43074ab88 100644 --- a/doc/source/kubernetes.client.models.v1_topology_selector_term.rst +++ b/doc/source/kubernetes.client.models.v1_topology_selector_term.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_topology\_selector\_term module .. automodule:: kubernetes.client.models.v1_topology_selector_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_topology_spread_constraint.rst b/doc/source/kubernetes.client.models.v1_topology_spread_constraint.rst index 6ebdacb9ef..fb4e9771a2 100644 --- a/doc/source/kubernetes.client.models.v1_topology_spread_constraint.rst +++ b/doc/source/kubernetes.client.models.v1_topology_spread_constraint.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_topology\_spread\_constraint module .. automodule:: kubernetes.client.models.v1_topology_spread_constraint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_type_checking.rst b/doc/source/kubernetes.client.models.v1_type_checking.rst index 71b24e9f90..673fd41f99 100644 --- a/doc/source/kubernetes.client.models.v1_type_checking.rst +++ b/doc/source/kubernetes.client.models.v1_type_checking.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_type\_checking module .. automodule:: kubernetes.client.models.v1_type_checking :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_typed_local_object_reference.rst b/doc/source/kubernetes.client.models.v1_typed_local_object_reference.rst index ea203af483..5086ea7df4 100644 --- a/doc/source/kubernetes.client.models.v1_typed_local_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_typed_local_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_typed\_local\_object\_reference module .. automodule:: kubernetes.client.models.v1_typed_local_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_typed_object_reference.rst b/doc/source/kubernetes.client.models.v1_typed_object_reference.rst index fcdc1e7c59..918c68d40d 100644 --- a/doc/source/kubernetes.client.models.v1_typed_object_reference.rst +++ b/doc/source/kubernetes.client.models.v1_typed_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_typed\_object\_reference module .. automodule:: kubernetes.client.models.v1_typed_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_uncounted_terminated_pods.rst b/doc/source/kubernetes.client.models.v1_uncounted_terminated_pods.rst index ee92557d5d..640a9a61a7 100644 --- a/doc/source/kubernetes.client.models.v1_uncounted_terminated_pods.rst +++ b/doc/source/kubernetes.client.models.v1_uncounted_terminated_pods.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_uncounted\_terminated\_pods module .. automodule:: kubernetes.client.models.v1_uncounted_terminated_pods :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_user_info.rst b/doc/source/kubernetes.client.models.v1_user_info.rst index 10a7aafbb2..993de828ce 100644 --- a/doc/source/kubernetes.client.models.v1_user_info.rst +++ b/doc/source/kubernetes.client.models.v1_user_info.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_user\_info module .. automodule:: kubernetes.client.models.v1_user_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_user_subject.rst b/doc/source/kubernetes.client.models.v1_user_subject.rst index b5fd34c6fd..a3d811acf7 100644 --- a/doc/source/kubernetes.client.models.v1_user_subject.rst +++ b/doc/source/kubernetes.client.models.v1_user_subject.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_user\_subject module .. automodule:: kubernetes.client.models.v1_user_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy.rst index 69909e4c96..abb47a3a5b 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy module .. automodule:: kubernetes.client.models.v1_validating_admission_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding.rst index b0a1b2b41f..80d9a0d37b 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_binding module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_list.rst index b3cf1638d6..a543c1cfc9 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_list.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_binding\_list module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_spec.rst index 4ec4cf184d..d27aa03a9b 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_spec.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_binding_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_binding\_spec module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_binding_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_list.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_list.rst index 87d615fc7a..dc5a3774aa 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_list.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_list module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_spec.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_spec.rst index 2bf42cffeb..852d38e6f8 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_spec.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_spec module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_admission_policy_status.rst b/doc/source/kubernetes.client.models.v1_validating_admission_policy_status.rst index 2155827434..01777762bb 100644 --- a/doc/source/kubernetes.client.models.v1_validating_admission_policy_status.rst +++ b/doc/source/kubernetes.client.models.v1_validating_admission_policy_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_admission\_policy\_status module .. automodule:: kubernetes.client.models.v1_validating_admission_policy_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_webhook.rst b/doc/source/kubernetes.client.models.v1_validating_webhook.rst index e83c5675be..c9bb25bed7 100644 --- a/doc/source/kubernetes.client.models.v1_validating_webhook.rst +++ b/doc/source/kubernetes.client.models.v1_validating_webhook.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_webhook module .. automodule:: kubernetes.client.models.v1_validating_webhook :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_webhook_configuration.rst b/doc/source/kubernetes.client.models.v1_validating_webhook_configuration.rst index 212ddae772..cd8d200cef 100644 --- a/doc/source/kubernetes.client.models.v1_validating_webhook_configuration.rst +++ b/doc/source/kubernetes.client.models.v1_validating_webhook_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_webhook\_configuration module .. automodule:: kubernetes.client.models.v1_validating_webhook_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validating_webhook_configuration_list.rst b/doc/source/kubernetes.client.models.v1_validating_webhook_configuration_list.rst index d4c5af47b0..65db1b3cb4 100644 --- a/doc/source/kubernetes.client.models.v1_validating_webhook_configuration_list.rst +++ b/doc/source/kubernetes.client.models.v1_validating_webhook_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validating\_webhook\_configuration\_list module .. automodule:: kubernetes.client.models.v1_validating_webhook_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validation.rst b/doc/source/kubernetes.client.models.v1_validation.rst index 6cfbc10e5c..420d3cd488 100644 --- a/doc/source/kubernetes.client.models.v1_validation.rst +++ b/doc/source/kubernetes.client.models.v1_validation.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validation module .. automodule:: kubernetes.client.models.v1_validation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_validation_rule.rst b/doc/source/kubernetes.client.models.v1_validation_rule.rst index 49d4e07a62..f3142e3766 100644 --- a/doc/source/kubernetes.client.models.v1_validation_rule.rst +++ b/doc/source/kubernetes.client.models.v1_validation_rule.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_validation\_rule module .. automodule:: kubernetes.client.models.v1_validation_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_variable.rst b/doc/source/kubernetes.client.models.v1_variable.rst index 3bebe40d8b..7d7b0c0020 100644 --- a/doc/source/kubernetes.client.models.v1_variable.rst +++ b/doc/source/kubernetes.client.models.v1_variable.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_variable module .. automodule:: kubernetes.client.models.v1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume.rst b/doc/source/kubernetes.client.models.v1_volume.rst index 7efee1b1f7..791099d13b 100644 --- a/doc/source/kubernetes.client.models.v1_volume.rst +++ b/doc/source/kubernetes.client.models.v1_volume.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume module .. automodule:: kubernetes.client.models.v1_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attachment.rst b/doc/source/kubernetes.client.models.v1_volume_attachment.rst index 9cb6b676b8..9d7678ab89 100644 --- a/doc/source/kubernetes.client.models.v1_volume_attachment.rst +++ b/doc/source/kubernetes.client.models.v1_volume_attachment.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_attachment module .. automodule:: kubernetes.client.models.v1_volume_attachment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attachment_list.rst b/doc/source/kubernetes.client.models.v1_volume_attachment_list.rst index 4618a75770..3c215dbf10 100644 --- a/doc/source/kubernetes.client.models.v1_volume_attachment_list.rst +++ b/doc/source/kubernetes.client.models.v1_volume_attachment_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_attachment\_list module .. automodule:: kubernetes.client.models.v1_volume_attachment_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attachment_source.rst b/doc/source/kubernetes.client.models.v1_volume_attachment_source.rst index 5371ef3be5..78baaef783 100644 --- a/doc/source/kubernetes.client.models.v1_volume_attachment_source.rst +++ b/doc/source/kubernetes.client.models.v1_volume_attachment_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_attachment\_source module .. automodule:: kubernetes.client.models.v1_volume_attachment_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attachment_spec.rst b/doc/source/kubernetes.client.models.v1_volume_attachment_spec.rst index ff4202455b..d7bbc91814 100644 --- a/doc/source/kubernetes.client.models.v1_volume_attachment_spec.rst +++ b/doc/source/kubernetes.client.models.v1_volume_attachment_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_attachment\_spec module .. automodule:: kubernetes.client.models.v1_volume_attachment_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attachment_status.rst b/doc/source/kubernetes.client.models.v1_volume_attachment_status.rst index ff23594268..39ff8ca280 100644 --- a/doc/source/kubernetes.client.models.v1_volume_attachment_status.rst +++ b/doc/source/kubernetes.client.models.v1_volume_attachment_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_attachment\_status module .. automodule:: kubernetes.client.models.v1_volume_attachment_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attributes_class.rst b/doc/source/kubernetes.client.models.v1_volume_attributes_class.rst new file mode 100644 index 0000000000..16cc7f43a1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_volume\_attributes\_class module +============================================================= + +.. automodule:: kubernetes.client.models.v1_volume_attributes_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_attributes_class_list.rst b/doc/source/kubernetes.client.models.v1_volume_attributes_class_list.rst new file mode 100644 index 0000000000..9228fb40cb --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_volume\_attributes\_class\_list module +=================================================================== + +.. automodule:: kubernetes.client.models.v1_volume_attributes_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_device.rst b/doc/source/kubernetes.client.models.v1_volume_device.rst index 7c62ff17bf..5cb197359c 100644 --- a/doc/source/kubernetes.client.models.v1_volume_device.rst +++ b/doc/source/kubernetes.client.models.v1_volume_device.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_device module .. automodule:: kubernetes.client.models.v1_volume_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_error.rst b/doc/source/kubernetes.client.models.v1_volume_error.rst index c4982079c6..ed78c26a95 100644 --- a/doc/source/kubernetes.client.models.v1_volume_error.rst +++ b/doc/source/kubernetes.client.models.v1_volume_error.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_error module .. automodule:: kubernetes.client.models.v1_volume_error :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_mount.rst b/doc/source/kubernetes.client.models.v1_volume_mount.rst index 074e2ee368..0af4135b45 100644 --- a/doc/source/kubernetes.client.models.v1_volume_mount.rst +++ b/doc/source/kubernetes.client.models.v1_volume_mount.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_mount module .. automodule:: kubernetes.client.models.v1_volume_mount :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_mount_status.rst b/doc/source/kubernetes.client.models.v1_volume_mount_status.rst index a8960e0b9d..bf9c509202 100644 --- a/doc/source/kubernetes.client.models.v1_volume_mount_status.rst +++ b/doc/source/kubernetes.client.models.v1_volume_mount_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_mount\_status module .. automodule:: kubernetes.client.models.v1_volume_mount_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_node_affinity.rst b/doc/source/kubernetes.client.models.v1_volume_node_affinity.rst index 1e62603035..e6b2ec1492 100644 --- a/doc/source/kubernetes.client.models.v1_volume_node_affinity.rst +++ b/doc/source/kubernetes.client.models.v1_volume_node_affinity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_node\_affinity module .. automodule:: kubernetes.client.models.v1_volume_node_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_node_resources.rst b/doc/source/kubernetes.client.models.v1_volume_node_resources.rst index bb1303f3a7..c645b126d3 100644 --- a/doc/source/kubernetes.client.models.v1_volume_node_resources.rst +++ b/doc/source/kubernetes.client.models.v1_volume_node_resources.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_node\_resources module .. automodule:: kubernetes.client.models.v1_volume_node_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_projection.rst b/doc/source/kubernetes.client.models.v1_volume_projection.rst index c5b4f5ac5a..0997fe6706 100644 --- a/doc/source/kubernetes.client.models.v1_volume_projection.rst +++ b/doc/source/kubernetes.client.models.v1_volume_projection.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_projection module .. automodule:: kubernetes.client.models.v1_volume_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_volume_resource_requirements.rst b/doc/source/kubernetes.client.models.v1_volume_resource_requirements.rst index dafa92133e..7c999d88a1 100644 --- a/doc/source/kubernetes.client.models.v1_volume_resource_requirements.rst +++ b/doc/source/kubernetes.client.models.v1_volume_resource_requirements.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_volume\_resource\_requirements module .. automodule:: kubernetes.client.models.v1_volume_resource_requirements :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.rst b/doc/source/kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.rst index 5358cab857..5b96382188 100644 --- a/doc/source/kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.rst +++ b/doc/source/kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_vsphere\_virtual\_disk\_volume\_source module .. automodule:: kubernetes.client.models.v1_vsphere_virtual_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_watch_event.rst b/doc/source/kubernetes.client.models.v1_watch_event.rst index 5cf2acf988..61bd04ee1a 100644 --- a/doc/source/kubernetes.client.models.v1_watch_event.rst +++ b/doc/source/kubernetes.client.models.v1_watch_event.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_watch\_event module .. automodule:: kubernetes.client.models.v1_watch_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_webhook_conversion.rst b/doc/source/kubernetes.client.models.v1_webhook_conversion.rst index 3b1f587ba5..2754cd6247 100644 --- a/doc/source/kubernetes.client.models.v1_webhook_conversion.rst +++ b/doc/source/kubernetes.client.models.v1_webhook_conversion.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_webhook\_conversion module .. automodule:: kubernetes.client.models.v1_webhook_conversion :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_weighted_pod_affinity_term.rst b/doc/source/kubernetes.client.models.v1_weighted_pod_affinity_term.rst index 7748003674..2c0a225def 100644 --- a/doc/source/kubernetes.client.models.v1_weighted_pod_affinity_term.rst +++ b/doc/source/kubernetes.client.models.v1_weighted_pod_affinity_term.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_weighted\_pod\_affinity\_term module .. automodule:: kubernetes.client.models.v1_weighted_pod_affinity_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_windows_security_context_options.rst b/doc/source/kubernetes.client.models.v1_windows_security_context_options.rst index 4486a8aff8..36771581b1 100644 --- a/doc/source/kubernetes.client.models.v1_windows_security_context_options.rst +++ b/doc/source/kubernetes.client.models.v1_windows_security_context_options.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1\_windows\_security\_context\_options module .. automodule:: kubernetes.client.models.v1_windows_security_context_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1_workload_reference.rst b/doc/source/kubernetes.client.models.v1_workload_reference.rst new file mode 100644 index 0000000000..5bfc14dff3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_workload_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_workload\_reference module +======================================================= + +.. automodule:: kubernetes.client.models.v1_workload_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_apply_configuration.rst b/doc/source/kubernetes.client.models.v1alpha1_apply_configuration.rst index 6a0149e2e5..dd4a2f0a37 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_apply_configuration.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_apply_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_apply\_configuration module .. automodule:: kubernetes.client.models.v1alpha1_apply_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle.rst b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle.rst index 928546b10a..b573481d22 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_cluster\_trust\_bundle module .. automodule:: kubernetes.client.models.v1alpha1_cluster_trust_bundle :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_list.rst b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_list.rst index 884179f793..b36d025d4f 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_cluster\_trust\_bundle\_list module .. automodule:: kubernetes.client.models.v1alpha1_cluster_trust_bundle_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec.rst index 0273f392c5..8ee2f6312e 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_cluster\_trust\_bundle\_spec module .. automodule:: kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_gang_scheduling_policy.rst b/doc/source/kubernetes.client.models.v1alpha1_gang_scheduling_policy.rst new file mode 100644 index 0000000000..6561c5d15a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_gang_scheduling_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_gang\_scheduling\_policy module +================================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_gang_scheduling_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_group_version_resource.rst b/doc/source/kubernetes.client.models.v1alpha1_group_version_resource.rst deleted file mode 100644 index c5a20b1391..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_group_version_resource.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_group\_version\_resource module -================================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_group_version_resource - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_json_patch.rst b/doc/source/kubernetes.client.models.v1alpha1_json_patch.rst index d27e38250a..1039e6192a 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_json_patch.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_json_patch.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_json\_patch module .. automodule:: kubernetes.client.models.v1alpha1_json_patch :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_match_condition.rst b/doc/source/kubernetes.client.models.v1alpha1_match_condition.rst index 71808f8145..f8f94c90fa 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_match_condition.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_match\_condition module .. automodule:: kubernetes.client.models.v1alpha1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_match_resources.rst b/doc/source/kubernetes.client.models.v1alpha1_match_resources.rst index 2896208f0e..38e898f5c8 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_match_resources.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_match\_resources module .. automodule:: kubernetes.client.models.v1alpha1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_migration_condition.rst b/doc/source/kubernetes.client.models.v1alpha1_migration_condition.rst deleted file mode 100644 index dfc6d28614..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_migration_condition.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_migration\_condition module -============================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_migration_condition - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy.rst index 569e670a35..907a927617 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy module .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding.rst index fcedab49fc..0adba29b79 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy\_binding module .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list.rst index 1273390c13..f14fbe980e 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy\_binding\_list mo .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec.rst index 99dd13d7c7..2e50dc7513 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy\_binding\_spec mo .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_list.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_list.rst index 20aa41818f..38ceb65d2d 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy\_list module .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_spec.rst index 69d84ec5c8..f11319321a 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutating_admission_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutating\_admission\_policy\_spec module .. automodule:: kubernetes.client.models.v1alpha1_mutating_admission_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_mutation.rst b/doc/source/kubernetes.client.models.v1alpha1_mutation.rst index 066f0e395f..268a188868 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_mutation.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_mutation.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_mutation module .. automodule:: kubernetes.client.models.v1alpha1_mutation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_named_rule_with_operations.rst b/doc/source/kubernetes.client.models.v1alpha1_named_rule_with_operations.rst index 0b15336b21..781c5c0987 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_named\_rule\_with\_operations module .. automodule:: kubernetes.client.models.v1alpha1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_param_kind.rst b/doc/source/kubernetes.client.models.v1alpha1_param_kind.rst index cdf98e9c51..fda032a226 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_param_kind.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_param\_kind module .. automodule:: kubernetes.client.models.v1alpha1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_param_ref.rst b/doc/source/kubernetes.client.models.v1alpha1_param_ref.rst index 8f238f789f..18a97911cc 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_param_ref.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_param\_ref module .. automodule:: kubernetes.client.models.v1alpha1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_pod_group.rst b/doc/source/kubernetes.client.models.v1alpha1_pod_group.rst new file mode 100644 index 0000000000..97533a7b23 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_pod_group.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_pod\_group module +==================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_pod_group + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_pod_group_policy.rst b/doc/source/kubernetes.client.models.v1alpha1_pod_group_policy.rst new file mode 100644 index 0000000000..902c847956 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_pod_group_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_pod\_group\_policy module +============================================================ + +.. automodule:: kubernetes.client.models.v1alpha1_pod_group_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_server_storage_version.rst b/doc/source/kubernetes.client.models.v1alpha1_server_storage_version.rst index 5574e39f24..5d2879a53e 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_server_storage_version.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_server_storage_version.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_server\_storage\_version module .. automodule:: kubernetes.client.models.v1alpha1_server_storage_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version.rst index b09acc1643..9650ce5178 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_storage_version.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_storage\_version module .. automodule:: kubernetes.client.models.v1alpha1_storage_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_condition.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_condition.rst index ba3b46b98f..6739b58623 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_condition.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_storage_version_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_storage\_version\_condition module .. automodule:: kubernetes.client.models.v1alpha1_storage_version_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_list.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_list.rst index 1f0c96e29b..7a8e6e8d64 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_storage_version_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_storage\_version\_list module .. automodule:: kubernetes.client.models.v1alpha1_storage_version_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration.rst deleted file mode 100644 index 5d7ed631d6..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_storage\_version\_migration module -===================================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_storage_version_migration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_list.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_list.rst deleted file mode 100644 index 30c5901df0..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_storage\_version\_migration\_list module -=========================================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_storage_version_migration_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_spec.rst deleted file mode 100644 index b231743eed..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_storage\_version\_migration\_spec module -=========================================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_storage_version_migration_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_status.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_status.rst deleted file mode 100644 index 6a20f73e4b..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_migration_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_storage\_version\_migration\_status module -============================================================================= - -.. automodule:: kubernetes.client.models.v1alpha1_storage_version_migration_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_storage_version_status.rst b/doc/source/kubernetes.client.models.v1alpha1_storage_version_status.rst index 999d0e4afa..6096aee77a 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_storage_version_status.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_storage_version_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_storage\_version\_status module .. automodule:: kubernetes.client.models.v1alpha1_storage_version_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_typed_local_object_reference.rst b/doc/source/kubernetes.client.models.v1alpha1_typed_local_object_reference.rst new file mode 100644 index 0000000000..4fbc65a45a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_typed_local_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_typed\_local\_object\_reference module +========================================================================= + +.. automodule:: kubernetes.client.models.v1alpha1_typed_local_object_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_variable.rst b/doc/source/kubernetes.client.models.v1alpha1_variable.rst index 384ff4b4ff..7eecf0bc27 100644 --- a/doc/source/kubernetes.client.models.v1alpha1_variable.rst +++ b/doc/source/kubernetes.client.models.v1alpha1_variable.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha1\_variable module .. automodule:: kubernetes.client.models.v1alpha1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class.rst b/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class.rst deleted file mode 100644 index 3f19e52658..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_volume\_attributes\_class module -=================================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_volume_attributes_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class_list.rst b/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class_list.rst deleted file mode 100644 index ab563afc9e..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_volume_attributes_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_volume\_attributes\_class\_list module -========================================================================= - -.. automodule:: kubernetes.client.models.v1alpha1_volume_attributes_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_workload.rst b/doc/source/kubernetes.client.models.v1alpha1_workload.rst new file mode 100644 index 0000000000..9a070a65ec --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_workload.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_workload module +================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_workload + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_workload_list.rst b/doc/source/kubernetes.client.models.v1alpha1_workload_list.rst new file mode 100644 index 0000000000..570b8ddf68 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_workload_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_workload\_list module +======================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_workload_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha1_workload_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_workload_spec.rst new file mode 100644 index 0000000000..4c6020dd7a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_workload_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_workload\_spec module +======================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_workload_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate.rst b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate.rst index 5fa57990f4..9ca73a6d39 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate.rst +++ b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha2\_lease\_candidate module .. automodule:: kubernetes.client.models.v1alpha2_lease_candidate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_list.rst b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_list.rst index cd0af37384..4c6cb58a97 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha2\_lease\_candidate\_list module .. automodule:: kubernetes.client.models.v1alpha2_lease_candidate_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_spec.rst b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_spec.rst index 7462fa6c18..eb9e95535d 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha2_lease_candidate_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1alpha2\_lease\_candidate\_spec module .. automodule:: kubernetes.client.models.v1alpha2_lease_candidate_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_allocated_device_status.rst b/doc/source/kubernetes.client.models.v1alpha3_allocated_device_status.rst deleted file mode 100644 index ae9500b6ee..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_allocated_device_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_allocated\_device\_status module -=================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_allocated_device_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst deleted file mode 100644 index 8d4a017af3..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_allocation\_result module -============================================================ - -.. automodule:: kubernetes.client.models.v1alpha3_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst b/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst deleted file mode 100644 index 5a5bcac409..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_basic\_device module -======================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_basic_device - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst b/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst deleted file mode 100644 index 5b2bdc6363..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_cel\_device\_selector module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_cel_device_selector - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device.rst b/doc/source/kubernetes.client.models.v1alpha3_device.rst deleted file mode 100644 index 1a57fe7f23..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device module -================================================ - -.. automodule:: kubernetes.client.models.v1alpha3_device - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst deleted file mode 100644 index 106bd58b71..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_allocation\_configuration module -=========================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_device_allocation_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst deleted file mode 100644 index 93ca3ab374..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_allocation\_result module -==================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_device_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst b/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst deleted file mode 100644 index 48f14ac53c..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_attribute module -=========================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_device_attribute - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst b/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst deleted file mode 100644 index fecbe1152f..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_claim module -======================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class.rst deleted file mode 100644 index 9f02c00e25..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_class module -======================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst deleted file mode 100644 index eefa46da69..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_class\_configuration module -====================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_device_class_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst deleted file mode 100644 index 284647e57e..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_class\_list module -============================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst deleted file mode 100644 index d0643cefbe..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_class\_spec module -============================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_class_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst b/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst deleted file mode 100644 index 0806618724..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_constraint module -============================================================ - -.. automodule:: kubernetes.client.models.v1alpha3_device_constraint - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_request.rst b/doc/source/kubernetes.client.models.v1alpha3_device_request.rst deleted file mode 100644 index 3a3f08b2b5..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_request module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst deleted file mode 100644 index b295a9011f..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_request\_allocation\_result module -============================================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_device_request_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst b/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst deleted file mode 100644 index 0bb5f3160d..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_device\_selector module -========================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_device_selector - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint.rst new file mode 100644 index 0000000000..5a5b35143b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint module +======================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule.rst new file mode 100644 index 0000000000..4fc8691b1c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint\_rule module +============================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint_rule + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_list.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_list.rst new file mode 100644 index 0000000000..e80ee7ed1a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint\_rule\_list module +=================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint_rule_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_spec.rst new file mode 100644 index 0000000000..58bd5cfaf0 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint\_rule\_spec module +=================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint_rule_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_status.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_status.rst new file mode 100644 index 0000000000..c26634420b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint_rule_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint\_rule\_status module +===================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint_rule_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_taint_selector.rst b/doc/source/kubernetes.client.models.v1alpha3_device_taint_selector.rst new file mode 100644 index 0000000000..feb7f8b664 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_taint_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_taint\_selector module +================================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_taint_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_network_device_data.rst b/doc/source/kubernetes.client.models.v1alpha3_network_device_data.rst deleted file mode 100644 index 7b8d339702..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_network_device_data.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_network\_device\_data module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_network_device_data - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst deleted file mode 100644 index a1e54b2e29..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_opaque\_device\_configuration module -======================================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_opaque_device_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst deleted file mode 100644 index bc0087ecff..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst deleted file mode 100644 index fb4da9f624..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_consumer\_reference module -============================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_consumer_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst deleted file mode 100644 index 6d65b076c6..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_list module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst deleted file mode 100644 index 364d4a2c15..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_spec module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst deleted file mode 100644 index 28c2fff91f..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_status module -================================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst deleted file mode 100644 index bacb01b2df..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_template module -=================================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst deleted file mode 100644 index d8255018f3..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_template\_list module -========================================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst deleted file mode 100644 index fa93b0a988..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_claim\_template\_spec module -========================================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst deleted file mode 100644 index 5d6f5c6993..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_pool module -======================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_pool - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst deleted file mode 100644 index 4c4e883252..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_slice module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha3_resource_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst deleted file mode 100644 index b062c8c27d..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_slice\_list module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_slice_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst deleted file mode 100644 index 5235197727..0000000000 --- a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha3\_resource\_slice\_spec module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha3_resource_slice_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_allocated_device_status.rst b/doc/source/kubernetes.client.models.v1beta1_allocated_device_status.rst index e49b082369..75ba712f92 100644 --- a/doc/source/kubernetes.client.models.v1beta1_allocated_device_status.rst +++ b/doc/source/kubernetes.client.models.v1beta1_allocated_device_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_allocated\_device\_status module .. automodule:: kubernetes.client.models.v1beta1_allocated_device_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta1_allocation_result.rst index 5caec277ac..7c4937e02c 100644 --- a/doc/source/kubernetes.client.models.v1beta1_allocation_result.rst +++ b/doc/source/kubernetes.client.models.v1beta1_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_allocation\_result module .. automodule:: kubernetes.client.models.v1beta1_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_apply_configuration.rst b/doc/source/kubernetes.client.models.v1beta1_apply_configuration.rst new file mode 100644 index 0000000000..eef7331333 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_apply_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_apply\_configuration module +============================================================= + +.. automodule:: kubernetes.client.models.v1beta1_apply_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_audit_annotation.rst b/doc/source/kubernetes.client.models.v1beta1_audit_annotation.rst deleted file mode 100644 index b0a1cfdc84..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_audit_annotation.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_audit\_annotation module -========================================================== - -.. automodule:: kubernetes.client.models.v1beta1_audit_annotation - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_basic_device.rst b/doc/source/kubernetes.client.models.v1beta1_basic_device.rst index 0e09c4afbe..c741e61fb5 100644 --- a/doc/source/kubernetes.client.models.v1beta1_basic_device.rst +++ b/doc/source/kubernetes.client.models.v1beta1_basic_device.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_basic\_device module .. automodule:: kubernetes.client.models.v1beta1_basic_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy.rst b/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy.rst new file mode 100644 index 0000000000..109a7d39d3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_capacity\_request\_policy module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy_range.rst b/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy_range.rst new file mode 100644 index 0000000000..dc71f4ddee --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_capacity\_request\_policy\_range module +========================================================================= + +.. automodule:: kubernetes.client.models.v1beta1_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_capacity_requirements.rst b/doc/source/kubernetes.client.models.v1beta1_capacity_requirements.rst new file mode 100644 index 0000000000..05d709198b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_capacity\_requirements module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta1_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_cel_device_selector.rst b/doc/source/kubernetes.client.models.v1beta1_cel_device_selector.rst index 7a18c5ec04..4281f6ac3d 100644 --- a/doc/source/kubernetes.client.models.v1beta1_cel_device_selector.rst +++ b/doc/source/kubernetes.client.models.v1beta1_cel_device_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_cel\_device\_selector module .. automodule:: kubernetes.client.models.v1beta1_cel_device_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle.rst b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle.rst new file mode 100644 index 0000000000..bdcf5362a8 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_cluster\_trust\_bundle module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta1_cluster_trust_bundle + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_list.rst b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_list.rst new file mode 100644 index 0000000000..560140dfc9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_cluster\_trust\_bundle\_list module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_cluster_trust_bundle_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_spec.rst new file mode 100644 index 0000000000..3937936cc8 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_cluster_trust_bundle_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_cluster\_trust\_bundle\_spec module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_cluster_trust_bundle_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_counter.rst b/doc/source/kubernetes.client.models.v1beta1_counter.rst new file mode 100644 index 0000000000..0d672aced1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_counter.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_counter module +================================================ + +.. automodule:: kubernetes.client.models.v1beta1_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_counter_set.rst b/doc/source/kubernetes.client.models.v1beta1_counter_set.rst new file mode 100644 index 0000000000..fb3891fc3b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_counter\_set module +===================================================== + +.. automodule:: kubernetes.client.models.v1beta1_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device.rst b/doc/source/kubernetes.client.models.v1beta1_device.rst index e776d4e610..7aa3a24425 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device module .. automodule:: kubernetes.client.models.v1beta1_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_allocation_configuration.rst b/doc/source/kubernetes.client.models.v1beta1_device_allocation_configuration.rst index a1494ec028..cc98a82dc6 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_allocation_configuration.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_allocation_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_allocation\_configuration module .. automodule:: kubernetes.client.models.v1beta1_device_allocation_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta1_device_allocation_result.rst index 069e329129..9980cb801d 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_allocation_result.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_allocation\_result module .. automodule:: kubernetes.client.models.v1beta1_device_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_attribute.rst b/doc/source/kubernetes.client.models.v1beta1_device_attribute.rst index b10b33e537..a15021f175 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_attribute.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_attribute.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_attribute module .. automodule:: kubernetes.client.models.v1beta1_device_attribute :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_capacity.rst b/doc/source/kubernetes.client.models.v1beta1_device_capacity.rst index 989891d30f..e9abc94207 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_capacity.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_capacity.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_capacity module .. automodule:: kubernetes.client.models.v1beta1_device_capacity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_claim.rst b/doc/source/kubernetes.client.models.v1beta1_device_claim.rst index 9d09eff0c2..ef22e2fd85 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_claim.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_claim.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_claim module .. automodule:: kubernetes.client.models.v1beta1_device_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_claim_configuration.rst b/doc/source/kubernetes.client.models.v1beta1_device_claim_configuration.rst index 9fdac4fd9a..939754c8af 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_claim_configuration.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_claim_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_claim\_configuration module .. automodule:: kubernetes.client.models.v1beta1_device_claim_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_class.rst b/doc/source/kubernetes.client.models.v1beta1_device_class.rst index cb301b1ef7..5da31c13ab 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_class.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_class module .. automodule:: kubernetes.client.models.v1beta1_device_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_class_configuration.rst b/doc/source/kubernetes.client.models.v1beta1_device_class_configuration.rst index c3df3fec0e..74e2b5e56e 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_class_configuration.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_class_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_class\_configuration module .. automodule:: kubernetes.client.models.v1beta1_device_class_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_class_list.rst b/doc/source/kubernetes.client.models.v1beta1_device_class_list.rst index 30efdeccf7..3c52fa1207 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_class_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_class\_list module .. automodule:: kubernetes.client.models.v1beta1_device_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_class_spec.rst b/doc/source/kubernetes.client.models.v1beta1_device_class_spec.rst index 2ef553dbff..5072260b40 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_class_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_class_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_class\_spec module .. automodule:: kubernetes.client.models.v1beta1_device_class_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_constraint.rst b/doc/source/kubernetes.client.models.v1beta1_device_constraint.rst index 1d01ee5f09..573a446fea 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_constraint.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_constraint.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_constraint module .. automodule:: kubernetes.client.models.v1beta1_device_constraint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_counter_consumption.rst b/doc/source/kubernetes.client.models.v1beta1_device_counter_consumption.rst new file mode 100644 index 0000000000..6fb92c21d4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_device\_counter\_consumption module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_request.rst b/doc/source/kubernetes.client.models.v1beta1_device_request.rst index 511467f8ef..6d6fc92c35 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_request.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_request.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_request module .. automodule:: kubernetes.client.models.v1beta1_device_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_request_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta1_device_request_allocation_result.rst index 532295ed09..ba7d9aec1c 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_request_allocation_result.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_request_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_request\_allocation\_result module .. automodule:: kubernetes.client.models.v1beta1_device_request_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_selector.rst b/doc/source/kubernetes.client.models.v1beta1_device_selector.rst index 9cac2e2a0c..ef47adb5be 100644 --- a/doc/source/kubernetes.client.models.v1beta1_device_selector.rst +++ b/doc/source/kubernetes.client.models.v1beta1_device_selector.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_device\_selector module .. automodule:: kubernetes.client.models.v1beta1_device_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_sub_request.rst b/doc/source/kubernetes.client.models.v1beta1_device_sub_request.rst new file mode 100644 index 0000000000..f2bd3df65f --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_device\_sub\_request module +============================================================= + +.. automodule:: kubernetes.client.models.v1beta1_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_taint.rst b/doc/source/kubernetes.client.models.v1beta1_device_taint.rst new file mode 100644 index 0000000000..3b6915e05a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_device\_taint module +====================================================== + +.. automodule:: kubernetes.client.models.v1beta1_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_device_toleration.rst b/doc/source/kubernetes.client.models.v1beta1_device_toleration.rst new file mode 100644 index 0000000000..adeb405f53 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_device\_toleration module +=========================================================== + +.. automodule:: kubernetes.client.models.v1beta1_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_expression_warning.rst b/doc/source/kubernetes.client.models.v1beta1_expression_warning.rst deleted file mode 100644 index dbb811f38f..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_expression_warning.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_expression\_warning module -============================================================ - -.. automodule:: kubernetes.client.models.v1beta1_expression_warning - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address.rst index 37a11892a1..521e931b79 100644 --- a/doc/source/kubernetes.client.models.v1beta1_ip_address.rst +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_ip\_address module .. automodule:: kubernetes.client.models.v1beta1_ip_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst index 344ce00dcc..798338e311 100644 --- a/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_ip\_address\_list module .. automodule:: kubernetes.client.models.v1beta1_ip_address_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst index 2b690b0f1e..49db9cd062 100644 --- a/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_ip\_address\_spec module .. automodule:: kubernetes.client.models.v1beta1_ip_address_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_json_patch.rst b/doc/source/kubernetes.client.models.v1beta1_json_patch.rst new file mode 100644 index 0000000000..adc1f9e17a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_json_patch.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_json\_patch module +==================================================== + +.. automodule:: kubernetes.client.models.v1beta1_json_patch + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_lease_candidate.rst b/doc/source/kubernetes.client.models.v1beta1_lease_candidate.rst new file mode 100644 index 0000000000..2e29fcdafa --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_lease\_candidate module +========================================================= + +.. automodule:: kubernetes.client.models.v1beta1_lease_candidate + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_lease_candidate_list.rst b/doc/source/kubernetes.client.models.v1beta1_lease_candidate_list.rst new file mode 100644 index 0000000000..764dc2fd3a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_lease\_candidate\_list module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta1_lease_candidate_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_lease_candidate_spec.rst b/doc/source/kubernetes.client.models.v1beta1_lease_candidate_spec.rst new file mode 100644 index 0000000000..c2b51040d4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_lease\_candidate\_spec module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta1_lease_candidate_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_match_condition.rst b/doc/source/kubernetes.client.models.v1beta1_match_condition.rst index ecbebdf7f8..44f57abdaf 100644 --- a/doc/source/kubernetes.client.models.v1beta1_match_condition.rst +++ b/doc/source/kubernetes.client.models.v1beta1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_match\_condition module .. automodule:: kubernetes.client.models.v1beta1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_match_resources.rst b/doc/source/kubernetes.client.models.v1beta1_match_resources.rst index 4314d2ef30..7ab5f73645 100644 --- a/doc/source/kubernetes.client.models.v1beta1_match_resources.rst +++ b/doc/source/kubernetes.client.models.v1beta1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_match\_resources module .. automodule:: kubernetes.client.models.v1beta1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy.rst new file mode 100644 index 0000000000..d54ecdbf11 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy module +==================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding.rst new file mode 100644 index 0000000000..a7d0395d3c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy\_binding module +============================================================================= + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy_binding + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list.rst new file mode 100644 index 0000000000..1a97944e81 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy\_binding\_list module +=================================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec.rst new file mode 100644 index 0000000000..9cdc8e795d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy\_binding\_spec module +=================================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_list.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_list.rst new file mode 100644 index 0000000000..76aa9f3055 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy\_list module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_spec.rst b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_spec.rst new file mode 100644 index 0000000000..f6d583e9d6 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutating_admission_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutating\_admission\_policy\_spec module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_mutating_admission_policy_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_mutation.rst b/doc/source/kubernetes.client.models.v1beta1_mutation.rst new file mode 100644 index 0000000000..05ccf23bf1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_mutation.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_mutation module +================================================= + +.. automodule:: kubernetes.client.models.v1beta1_mutation + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_named_rule_with_operations.rst b/doc/source/kubernetes.client.models.v1beta1_named_rule_with_operations.rst index 8bfea98e0e..8474fecbf2 100644 --- a/doc/source/kubernetes.client.models.v1beta1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.client.models.v1beta1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_named\_rule\_with\_operations module .. automodule:: kubernetes.client.models.v1beta1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_network_device_data.rst b/doc/source/kubernetes.client.models.v1beta1_network_device_data.rst index 709103a2c4..cbd3d2326b 100644 --- a/doc/source/kubernetes.client.models.v1beta1_network_device_data.rst +++ b/doc/source/kubernetes.client.models.v1beta1_network_device_data.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_network\_device\_data module .. automodule:: kubernetes.client.models.v1beta1_network_device_data :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_opaque_device_configuration.rst b/doc/source/kubernetes.client.models.v1beta1_opaque_device_configuration.rst index e7ca1f52af..fa662ce3d4 100644 --- a/doc/source/kubernetes.client.models.v1beta1_opaque_device_configuration.rst +++ b/doc/source/kubernetes.client.models.v1beta1_opaque_device_configuration.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_opaque\_device\_configuration module .. automodule:: kubernetes.client.models.v1beta1_opaque_device_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_param_kind.rst b/doc/source/kubernetes.client.models.v1beta1_param_kind.rst index 6f79d2ec96..c59d9166eb 100644 --- a/doc/source/kubernetes.client.models.v1beta1_param_kind.rst +++ b/doc/source/kubernetes.client.models.v1beta1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_param\_kind module .. automodule:: kubernetes.client.models.v1beta1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_param_ref.rst b/doc/source/kubernetes.client.models.v1beta1_param_ref.rst index 212b59eb79..985b35270b 100644 --- a/doc/source/kubernetes.client.models.v1beta1_param_ref.rst +++ b/doc/source/kubernetes.client.models.v1beta1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_param\_ref module .. automodule:: kubernetes.client.models.v1beta1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst b/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst index 13b67edfd6..dddf1d4123 100644 --- a/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst +++ b/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_parent\_reference module .. automodule:: kubernetes.client.models.v1beta1_parent_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request.rst b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request.rst new file mode 100644 index 0000000000..c7cd0cde2c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_pod\_certificate\_request module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_pod_certificate_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_list.rst b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_list.rst new file mode 100644 index 0000000000..e6c99e552d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_pod\_certificate\_request\_list module +======================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_pod_certificate_request_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_spec.rst b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_spec.rst new file mode 100644 index 0000000000..af1964cd0b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_pod\_certificate\_request\_spec module +======================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_pod_certificate_request_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_status.rst b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_status.rst new file mode 100644 index 0000000000..f3955ad181 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_pod_certificate_request_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_pod\_certificate\_request\_status module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_pod_certificate_request_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim.rst index df20224e23..74a0ee328f 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim module .. automodule:: kubernetes.client.models.v1beta1_resource_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_consumer_reference.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_consumer_reference.rst index a107dbfc9b..e69859053e 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_consumer_reference.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_consumer_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_consumer\_reference module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_consumer_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_list.rst index ec6a5852d1..32237028fb 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_list module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_spec.rst index b5495347b3..019a25602f 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_spec module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_status.rst index 77eef9c1e1..c6f7e1c3ff 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_status.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_status module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template.rst index f2c40b5f05..c42cf501c2 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_template module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_list.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_list.rst index b62d2c067e..f917e44807 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_template\_list module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_template_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_spec.rst b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_spec.rst index 97bb2027ab..9ac7ae93da 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_claim_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_claim\_template\_spec module .. automodule:: kubernetes.client.models.v1beta1_resource_claim_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_pool.rst b/doc/source/kubernetes.client.models.v1beta1_resource_pool.rst index 355b492daa..3907f1781b 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_pool.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_pool.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_pool module .. automodule:: kubernetes.client.models.v1beta1_resource_pool :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_slice.rst b/doc/source/kubernetes.client.models.v1beta1_resource_slice.rst index 3eba95d57e..7ca1e7d5bb 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_slice.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_slice.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_slice module .. automodule:: kubernetes.client.models.v1beta1_resource_slice :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1beta1_resource_slice_list.rst index 9cce7e467c..845217cd28 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_slice_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_slice_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_slice\_list module .. automodule:: kubernetes.client.models.v1beta1_resource_slice_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_resource_slice_spec.rst b/doc/source/kubernetes.client.models.v1beta1_resource_slice_spec.rst index 66dd92351a..7fc58e6766 100644 --- a/doc/source/kubernetes.client.models.v1beta1_resource_slice_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_resource_slice_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_resource\_slice\_spec module .. automodule:: kubernetes.client.models.v1beta1_resource_slice_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_self_subject_review.rst b/doc/source/kubernetes.client.models.v1beta1_self_subject_review.rst deleted file mode 100644 index 8fd150b2fa..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_self_subject_review.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_self\_subject\_review module -============================================================== - -.. automodule:: kubernetes.client.models.v1beta1_self_subject_review - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_self_subject_review_status.rst b/doc/source/kubernetes.client.models.v1beta1_self_subject_review_status.rst deleted file mode 100644 index a96dbbc08a..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_self_subject_review_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_self\_subject\_review\_status module -====================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_self_subject_review_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst index caf1603597..2314755371 100644 --- a/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_service\_cidr module .. automodule:: kubernetes.client.models.v1beta1_service_cidr :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst index 18980eda65..a4df023e51 100644 --- a/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_service\_cidr\_list module .. automodule:: kubernetes.client.models.v1beta1_service_cidr_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst index 5161de79e6..20737daea4 100644 --- a/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_service\_cidr\_spec module .. automodule:: kubernetes.client.models.v1beta1_service_cidr_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst index 8c19460dda..8f62ef2c14 100644 --- a/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_service\_cidr\_status module .. automodule:: kubernetes.client.models.v1beta1_service_cidr_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_storage_version_migration.rst b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration.rst new file mode 100644 index 0000000000..074b9ba761 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_storage\_version\_migration module +==================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_storage_version_migration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_list.rst b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_list.rst new file mode 100644 index 0000000000..b64c61d84a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_storage\_version\_migration\_list module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_storage_version_migration_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_spec.rst b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_spec.rst new file mode 100644 index 0000000000..f6a35e705c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_storage\_version\_migration\_spec module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_storage_version_migration_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_status.rst b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_status.rst new file mode 100644 index 0000000000..52c6086974 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_storage_version_migration_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_storage\_version\_migration\_status module +============================================================================ + +.. automodule:: kubernetes.client.models.v1beta1_storage_version_migration_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_type_checking.rst b/doc/source/kubernetes.client.models.v1beta1_type_checking.rst deleted file mode 100644 index 6bd58cb592..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_type_checking.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_type\_checking module -======================================================= - -.. automodule:: kubernetes.client.models.v1beta1_type_checking - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy.rst deleted file mode 100644 index c61a3d8bb2..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy module -====================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding.rst deleted file mode 100644 index d069f6fb78..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_binding module -=============================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_binding - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_list.rst deleted file mode 100644 index b5d6fc52f5..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_binding\_list module -===================================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_binding_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec.rst deleted file mode 100644 index 691312c97e..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_binding\_spec module -===================================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_list.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_list.rst deleted file mode 100644 index 5da9e73db1..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_list module -============================================================================ - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_spec.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_spec.rst deleted file mode 100644 index 63cd367e79..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_spec module -============================================================================ - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_status.rst b/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_status.rst deleted file mode 100644 index 66cec2fb30..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validating_admission_policy_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validating\_admission\_policy\_status module -============================================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validating_admission_policy_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_validation.rst b/doc/source/kubernetes.client.models.v1beta1_validation.rst deleted file mode 100644 index 44f4323407..0000000000 --- a/doc/source/kubernetes.client.models.v1beta1_validation.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1beta1\_validation module -=================================================== - -.. automodule:: kubernetes.client.models.v1beta1_validation - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_variable.rst b/doc/source/kubernetes.client.models.v1beta1_variable.rst index f8f35bafee..c10627ba0c 100644 --- a/doc/source/kubernetes.client.models.v1beta1_variable.rst +++ b/doc/source/kubernetes.client.models.v1beta1_variable.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_variable module .. automodule:: kubernetes.client.models.v1beta1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst index 883c67b124..3be245daa5 100644 --- a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst +++ b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_volume\_attributes\_class module .. automodule:: kubernetes.client.models.v1beta1_volume_attributes_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst index 1f2cc54203..e1bdffa6c2 100644 --- a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst +++ b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v1beta1\_volume\_attributes\_class\_list module .. automodule:: kubernetes.client.models.v1beta1_volume_attributes_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_allocated_device_status.rst b/doc/source/kubernetes.client.models.v1beta2_allocated_device_status.rst new file mode 100644 index 0000000000..7abf8e42f5 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_allocated\_device\_status module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_allocated_device_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta2_allocation_result.rst new file mode 100644 index 0000000000..fe6826289d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_allocation\_result module +=========================================================== + +.. automodule:: kubernetes.client.models.v1beta2_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy.rst b/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy.rst new file mode 100644 index 0000000000..2f65dd2aa7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_capacity\_request\_policy module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy_range.rst b/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy_range.rst new file mode 100644 index 0000000000..faef15c28b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_capacity\_request\_policy\_range module +========================================================================= + +.. automodule:: kubernetes.client.models.v1beta2_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_capacity_requirements.rst b/doc/source/kubernetes.client.models.v1beta2_capacity_requirements.rst new file mode 100644 index 0000000000..fd8b247217 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_capacity\_requirements module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_cel_device_selector.rst b/doc/source/kubernetes.client.models.v1beta2_cel_device_selector.rst new file mode 100644 index 0000000000..ae5b9281df --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_cel\_device\_selector module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_cel_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_counter.rst b/doc/source/kubernetes.client.models.v1beta2_counter.rst new file mode 100644 index 0000000000..441b39e555 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_counter.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_counter module +================================================ + +.. automodule:: kubernetes.client.models.v1beta2_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_counter_set.rst b/doc/source/kubernetes.client.models.v1beta2_counter_set.rst new file mode 100644 index 0000000000..9aeb420b81 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_counter\_set module +===================================================== + +.. automodule:: kubernetes.client.models.v1beta2_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device.rst b/doc/source/kubernetes.client.models.v1beta2_device.rst new file mode 100644 index 0000000000..1fb30bbc8e --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device module +=============================================== + +.. automodule:: kubernetes.client.models.v1beta2_device + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_allocation_configuration.rst b/doc/source/kubernetes.client.models.v1beta2_device_allocation_configuration.rst new file mode 100644 index 0000000000..3253e3ce44 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_allocation\_configuration module +========================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_allocation_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta2_device_allocation_result.rst new file mode 100644 index 0000000000..23701b1143 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_allocation\_result module +=================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_attribute.rst b/doc/source/kubernetes.client.models.v1beta2_device_attribute.rst new file mode 100644 index 0000000000..3916776e82 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_attribute module +========================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_attribute + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_capacity.rst b/doc/source/kubernetes.client.models.v1beta2_device_capacity.rst new file mode 100644 index 0000000000..539f908ecd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_capacity module +========================================================= + +.. automodule:: kubernetes.client.models.v1beta2_device_capacity + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_claim.rst b/doc/source/kubernetes.client.models.v1beta2_device_claim.rst new file mode 100644 index 0000000000..a991caefc9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_claim module +====================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_claim_configuration.rst b/doc/source/kubernetes.client.models.v1beta2_device_claim_configuration.rst new file mode 100644 index 0000000000..a31e728fbe --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_claim\_configuration module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_claim_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_class.rst b/doc/source/kubernetes.client.models.v1beta2_device_class.rst new file mode 100644 index 0000000000..95c72a63d1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_class module +====================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_class_configuration.rst b/doc/source/kubernetes.client.models.v1beta2_device_class_configuration.rst new file mode 100644 index 0000000000..12204f90bd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_class\_configuration module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_class_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_class_list.rst b/doc/source/kubernetes.client.models.v1beta2_device_class_list.rst new file mode 100644 index 0000000000..e6d18a3023 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_class\_list module +============================================================ + +.. automodule:: kubernetes.client.models.v1beta2_device_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_class_spec.rst b/doc/source/kubernetes.client.models.v1beta2_device_class_spec.rst new file mode 100644 index 0000000000..28c49f51d3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_class\_spec module +============================================================ + +.. automodule:: kubernetes.client.models.v1beta2_device_class_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_constraint.rst b/doc/source/kubernetes.client.models.v1beta2_device_constraint.rst new file mode 100644 index 0000000000..cc17a8b8f1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_constraint module +=========================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_constraint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_counter_consumption.rst b/doc/source/kubernetes.client.models.v1beta2_device_counter_consumption.rst new file mode 100644 index 0000000000..5bbad8fd33 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_counter\_consumption module +===================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_request.rst b/doc/source/kubernetes.client.models.v1beta2_device_request.rst new file mode 100644 index 0000000000..72236bfd9b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_request module +======================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_request_allocation_result.rst b/doc/source/kubernetes.client.models.v1beta2_device_request_allocation_result.rst new file mode 100644 index 0000000000..e5d9d7defe --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_request\_allocation\_result module +============================================================================ + +.. automodule:: kubernetes.client.models.v1beta2_device_request_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_selector.rst b/doc/source/kubernetes.client.models.v1beta2_device_selector.rst new file mode 100644 index 0000000000..edda78497b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_selector module +========================================================= + +.. automodule:: kubernetes.client.models.v1beta2_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_sub_request.rst b/doc/source/kubernetes.client.models.v1beta2_device_sub_request.rst new file mode 100644 index 0000000000..82f88981bb --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_sub\_request module +============================================================= + +.. automodule:: kubernetes.client.models.v1beta2_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_taint.rst b/doc/source/kubernetes.client.models.v1beta2_device_taint.rst new file mode 100644 index 0000000000..3b258a35f8 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_taint module +====================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_device_toleration.rst b/doc/source/kubernetes.client.models.v1beta2_device_toleration.rst new file mode 100644 index 0000000000..f341403a8c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_device\_toleration module +=========================================================== + +.. automodule:: kubernetes.client.models.v1beta2_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_exact_device_request.rst b/doc/source/kubernetes.client.models.v1beta2_exact_device_request.rst new file mode 100644 index 0000000000..60f63890c7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_exact\_device\_request module +=============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_exact_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_network_device_data.rst b/doc/source/kubernetes.client.models.v1beta2_network_device_data.rst new file mode 100644 index 0000000000..dd544e95e0 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_network\_device\_data module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_network_device_data + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst b/doc/source/kubernetes.client.models.v1beta2_opaque_device_configuration.rst similarity index 53% rename from doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst rename to doc/source/kubernetes.client.models.v1beta2_opaque_device_configuration.rst index e741457c7d..4df4d10c75 100644 --- a/doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst +++ b/doc/source/kubernetes.client.models.v1beta2_opaque_device_configuration.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha3\_device\_claim\_configuration module +kubernetes.client.models.v1beta2\_opaque\_device\_configuration module ====================================================================== -.. automodule:: kubernetes.client.models.v1alpha3_device_claim_configuration +.. automodule:: kubernetes.client.models.v1beta2_opaque_device_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim.rst new file mode 100644 index 0000000000..e16d9008ca --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim module +======================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_consumer_reference.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_consumer_reference.rst new file mode 100644 index 0000000000..ceeb4d195f --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_consumer\_reference module +============================================================================= + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_consumer_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_list.rst new file mode 100644 index 0000000000..7800c7ef96 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_list module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_spec.rst new file mode 100644 index 0000000000..62906073b3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_spec module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_status.rst new file mode 100644 index 0000000000..5b7c53b8da --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_status module +================================================================ + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_template.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template.rst new file mode 100644 index 0000000000..9048c99684 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_template module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_template + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_list.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_list.rst new file mode 100644 index 0000000000..7a93738e8a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_template\_list module +======================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_template_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_spec.rst b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_spec.rst new file mode 100644 index 0000000000..b88ee28ada --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_claim\_template\_spec module +======================================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_claim_template_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_pool.rst b/doc/source/kubernetes.client.models.v1beta2_resource_pool.rst new file mode 100644 index 0000000000..f308024816 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_pool module +======================================================= + +.. automodule:: kubernetes.client.models.v1beta2_resource_pool + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_slice.rst b/doc/source/kubernetes.client.models.v1beta2_resource_slice.rst new file mode 100644 index 0000000000..08adc5dc81 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_slice module +======================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_slice + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1beta2_resource_slice_list.rst new file mode 100644 index 0000000000..e723d5f559 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_slice\_list module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_slice_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v1beta2_resource_slice_spec.rst b/doc/source/kubernetes.client.models.v1beta2_resource_slice_spec.rst new file mode 100644 index 0000000000..4446af43e4 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta2_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta2\_resource\_slice\_spec module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta2_resource_slice_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_container_resource_metric_source.rst b/doc/source/kubernetes.client.models.v2_container_resource_metric_source.rst index 416c4f889c..8512972cb9 100644 --- a/doc/source/kubernetes.client.models.v2_container_resource_metric_source.rst +++ b/doc/source/kubernetes.client.models.v2_container_resource_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_container\_resource\_metric\_source module .. automodule:: kubernetes.client.models.v2_container_resource_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_container_resource_metric_status.rst b/doc/source/kubernetes.client.models.v2_container_resource_metric_status.rst index 80cb5a8579..bf70fb40e6 100644 --- a/doc/source/kubernetes.client.models.v2_container_resource_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_container_resource_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_container\_resource\_metric\_status module .. automodule:: kubernetes.client.models.v2_container_resource_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_cross_version_object_reference.rst b/doc/source/kubernetes.client.models.v2_cross_version_object_reference.rst index 3fa8056492..434bfe281e 100644 --- a/doc/source/kubernetes.client.models.v2_cross_version_object_reference.rst +++ b/doc/source/kubernetes.client.models.v2_cross_version_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_cross\_version\_object\_reference module .. automodule:: kubernetes.client.models.v2_cross_version_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_external_metric_source.rst b/doc/source/kubernetes.client.models.v2_external_metric_source.rst index bb6f538a9f..f408db1b1a 100644 --- a/doc/source/kubernetes.client.models.v2_external_metric_source.rst +++ b/doc/source/kubernetes.client.models.v2_external_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_external\_metric\_source module .. automodule:: kubernetes.client.models.v2_external_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_external_metric_status.rst b/doc/source/kubernetes.client.models.v2_external_metric_status.rst index 7d6c6b16a9..9a2407622b 100644 --- a/doc/source/kubernetes.client.models.v2_external_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_external_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_external\_metric\_status module .. automodule:: kubernetes.client.models.v2_external_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler.rst index 4a6b9022cd..f6416bea6f 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior.rst index 6ff500add2..9f9fe48ede 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler\_behavior module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_condition.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_condition.rst index 99abdcaf4f..9247e05c6e 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_condition.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_condition.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler\_condition module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_list.rst index a91d2e619f..b657adeda6 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_list.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_list.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler\_list module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_spec.rst index 2c7ce44f05..02f91093fd 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_spec.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler\_spec module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_status.rst index 5f66dad478..95e8f3770f 100644 --- a/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_status.rst +++ b/doc/source/kubernetes.client.models.v2_horizontal_pod_autoscaler_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_horizontal\_pod\_autoscaler\_status module .. automodule:: kubernetes.client.models.v2_horizontal_pod_autoscaler_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_hpa_scaling_policy.rst b/doc/source/kubernetes.client.models.v2_hpa_scaling_policy.rst index 710d326ec6..3ea27ed9e0 100644 --- a/doc/source/kubernetes.client.models.v2_hpa_scaling_policy.rst +++ b/doc/source/kubernetes.client.models.v2_hpa_scaling_policy.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_hpa\_scaling\_policy module .. automodule:: kubernetes.client.models.v2_hpa_scaling_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_hpa_scaling_rules.rst b/doc/source/kubernetes.client.models.v2_hpa_scaling_rules.rst index d56db2b914..df3645386e 100644 --- a/doc/source/kubernetes.client.models.v2_hpa_scaling_rules.rst +++ b/doc/source/kubernetes.client.models.v2_hpa_scaling_rules.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_hpa\_scaling\_rules module .. automodule:: kubernetes.client.models.v2_hpa_scaling_rules :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_metric_identifier.rst b/doc/source/kubernetes.client.models.v2_metric_identifier.rst index a4599ed5f7..c290bcc393 100644 --- a/doc/source/kubernetes.client.models.v2_metric_identifier.rst +++ b/doc/source/kubernetes.client.models.v2_metric_identifier.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_metric\_identifier module .. automodule:: kubernetes.client.models.v2_metric_identifier :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_metric_spec.rst b/doc/source/kubernetes.client.models.v2_metric_spec.rst index 3736b8cc42..d9f2d6b400 100644 --- a/doc/source/kubernetes.client.models.v2_metric_spec.rst +++ b/doc/source/kubernetes.client.models.v2_metric_spec.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_metric\_spec module .. automodule:: kubernetes.client.models.v2_metric_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_metric_status.rst b/doc/source/kubernetes.client.models.v2_metric_status.rst index cc649e2308..cd30fd1fae 100644 --- a/doc/source/kubernetes.client.models.v2_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_metric\_status module .. automodule:: kubernetes.client.models.v2_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_metric_target.rst b/doc/source/kubernetes.client.models.v2_metric_target.rst index 8b53fe4524..17e99de671 100644 --- a/doc/source/kubernetes.client.models.v2_metric_target.rst +++ b/doc/source/kubernetes.client.models.v2_metric_target.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_metric\_target module .. automodule:: kubernetes.client.models.v2_metric_target :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_metric_value_status.rst b/doc/source/kubernetes.client.models.v2_metric_value_status.rst index a36ee69664..b360fecf80 100644 --- a/doc/source/kubernetes.client.models.v2_metric_value_status.rst +++ b/doc/source/kubernetes.client.models.v2_metric_value_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_metric\_value\_status module .. automodule:: kubernetes.client.models.v2_metric_value_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_object_metric_source.rst b/doc/source/kubernetes.client.models.v2_object_metric_source.rst index ca0dd9780e..a4cfa644f7 100644 --- a/doc/source/kubernetes.client.models.v2_object_metric_source.rst +++ b/doc/source/kubernetes.client.models.v2_object_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_object\_metric\_source module .. automodule:: kubernetes.client.models.v2_object_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_object_metric_status.rst b/doc/source/kubernetes.client.models.v2_object_metric_status.rst index 2a65cf0f0c..cadfde5f89 100644 --- a/doc/source/kubernetes.client.models.v2_object_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_object_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_object\_metric\_status module .. automodule:: kubernetes.client.models.v2_object_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_pods_metric_source.rst b/doc/source/kubernetes.client.models.v2_pods_metric_source.rst index 0fe4db1621..bb7d19518f 100644 --- a/doc/source/kubernetes.client.models.v2_pods_metric_source.rst +++ b/doc/source/kubernetes.client.models.v2_pods_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_pods\_metric\_source module .. automodule:: kubernetes.client.models.v2_pods_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_pods_metric_status.rst b/doc/source/kubernetes.client.models.v2_pods_metric_status.rst index 58042d41b5..bd9699adaf 100644 --- a/doc/source/kubernetes.client.models.v2_pods_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_pods_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_pods\_metric\_status module .. automodule:: kubernetes.client.models.v2_pods_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_resource_metric_source.rst b/doc/source/kubernetes.client.models.v2_resource_metric_source.rst index 565f68e5ee..93d869922c 100644 --- a/doc/source/kubernetes.client.models.v2_resource_metric_source.rst +++ b/doc/source/kubernetes.client.models.v2_resource_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_resource\_metric\_source module .. automodule:: kubernetes.client.models.v2_resource_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.v2_resource_metric_status.rst b/doc/source/kubernetes.client.models.v2_resource_metric_status.rst index dac92bd11e..0c4047b169 100644 --- a/doc/source/kubernetes.client.models.v2_resource_metric_status.rst +++ b/doc/source/kubernetes.client.models.v2_resource_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.client.models.v2\_resource\_metric\_status module .. automodule:: kubernetes.client.models.v2_resource_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.models.version_info.rst b/doc/source/kubernetes.client.models.version_info.rst index 62cfae0865..43208ee706 100644 --- a/doc/source/kubernetes.client.models.version_info.rst +++ b/doc/source/kubernetes.client.models.version_info.rst @@ -3,5 +3,5 @@ kubernetes.client.models.version\_info module .. automodule:: kubernetes.client.models.version_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.rest.rst b/doc/source/kubernetes.client.rest.rst index 55334bef78..6929ca8508 100644 --- a/doc/source/kubernetes.client.rest.rst +++ b/doc/source/kubernetes.client.rest.rst @@ -3,5 +3,5 @@ kubernetes.client.rest module .. automodule:: kubernetes.client.rest :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.rst b/doc/source/kubernetes.client.rst index e96c7627a1..e2acca12c8 100644 --- a/doc/source/kubernetes.client.rst +++ b/doc/source/kubernetes.client.rst @@ -26,5 +26,5 @@ Module contents .. automodule:: kubernetes.client :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.base.rst b/doc/source/kubernetes.e2e_test.base.rst index 376657861d..3cbd1e3cda 100644 --- a/doc/source/kubernetes.e2e_test.base.rst +++ b/doc/source/kubernetes.e2e_test.base.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.base module .. automodule:: kubernetes.e2e_test.base :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.port_server.rst b/doc/source/kubernetes.e2e_test.port_server.rst index 5e83fccaa2..afffac2afc 100644 --- a/doc/source/kubernetes.e2e_test.port_server.rst +++ b/doc/source/kubernetes.e2e_test.port_server.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.port\_server module .. automodule:: kubernetes.e2e_test.port_server :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.rst b/doc/source/kubernetes.e2e_test.rst index 07ec5995ce..eb68076e44 100644 --- a/doc/source/kubernetes.e2e_test.rst +++ b/doc/source/kubernetes.e2e_test.rst @@ -20,5 +20,5 @@ Module contents .. automodule:: kubernetes.e2e_test :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.test_apps.rst b/doc/source/kubernetes.e2e_test.test_apps.rst index a4957d6142..967382a5d9 100644 --- a/doc/source/kubernetes.e2e_test.test_apps.rst +++ b/doc/source/kubernetes.e2e_test.test_apps.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.test\_apps module .. automodule:: kubernetes.e2e_test.test_apps :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.test_batch.rst b/doc/source/kubernetes.e2e_test.test_batch.rst index ab1ca153a8..36e0d7e728 100644 --- a/doc/source/kubernetes.e2e_test.test_batch.rst +++ b/doc/source/kubernetes.e2e_test.test_batch.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.test\_batch module .. automodule:: kubernetes.e2e_test.test_batch :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.test_client.rst b/doc/source/kubernetes.e2e_test.test_client.rst index 9cb16aa1cb..efeef16478 100644 --- a/doc/source/kubernetes.e2e_test.test_client.rst +++ b/doc/source/kubernetes.e2e_test.test_client.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.test\_client module .. automodule:: kubernetes.e2e_test.test_client :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.test_utils.rst b/doc/source/kubernetes.e2e_test.test_utils.rst index dcbaf05135..ddc91cb9e1 100644 --- a/doc/source/kubernetes.e2e_test.test_utils.rst +++ b/doc/source/kubernetes.e2e_test.test_utils.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.test\_utils module .. automodule:: kubernetes.e2e_test.test_utils :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.e2e_test.test_watch.rst b/doc/source/kubernetes.e2e_test.test_watch.rst index 5ebf524c8d..3abdd68806 100644 --- a/doc/source/kubernetes.e2e_test.test_watch.rst +++ b/doc/source/kubernetes.e2e_test.test_watch.rst @@ -3,5 +3,5 @@ kubernetes.e2e\_test.test\_watch module .. automodule:: kubernetes.e2e_test.test_watch :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.rst b/doc/source/kubernetes.rst index df2f9da33c..29a02f158a 100644 --- a/doc/source/kubernetes.rst +++ b/doc/source/kubernetes.rst @@ -22,5 +22,5 @@ Module contents .. automodule:: kubernetes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.rst b/doc/source/kubernetes.test.rst index 2600fc3714..717024d629 100644 --- a/doc/source/kubernetes.test.rst +++ b/doc/source/kubernetes.test.rst @@ -26,7 +26,6 @@ Submodules kubernetes.test.test_authentication_api kubernetes.test.test_authentication_v1_api kubernetes.test.test_authentication_v1_token_request - kubernetes.test.test_authentication_v1beta1_api kubernetes.test.test_authorization_api kubernetes.test.test_authorization_v1_api kubernetes.test.test_autoscaling_api @@ -37,15 +36,18 @@ Submodules kubernetes.test.test_certificates_api kubernetes.test.test_certificates_v1_api kubernetes.test.test_certificates_v1alpha1_api + kubernetes.test.test_certificates_v1beta1_api kubernetes.test.test_coordination_api kubernetes.test.test_coordination_v1_api kubernetes.test.test_coordination_v1alpha2_api + kubernetes.test.test_coordination_v1beta1_api kubernetes.test.test_core_api kubernetes.test.test_core_v1_api kubernetes.test.test_core_v1_endpoint_port kubernetes.test.test_core_v1_event kubernetes.test.test_core_v1_event_list kubernetes.test.test_core_v1_event_series + kubernetes.test.test_core_v1_resource_claim kubernetes.test.test_custom_objects_api kubernetes.test.test_discovery_api kubernetes.test.test_discovery_v1_api @@ -73,19 +75,24 @@ Submodules kubernetes.test.test_rbac_authorization_v1_api kubernetes.test.test_rbac_v1_subject kubernetes.test.test_resource_api + kubernetes.test.test_resource_v1_api + kubernetes.test.test_resource_v1_resource_claim kubernetes.test.test_resource_v1alpha3_api kubernetes.test.test_resource_v1beta1_api + kubernetes.test.test_resource_v1beta2_api kubernetes.test.test_scheduling_api kubernetes.test.test_scheduling_v1_api + kubernetes.test.test_scheduling_v1alpha1_api kubernetes.test.test_storage_api kubernetes.test.test_storage_v1_api kubernetes.test.test_storage_v1_token_request - kubernetes.test.test_storage_v1alpha1_api kubernetes.test.test_storage_v1beta1_api kubernetes.test.test_storagemigration_api - kubernetes.test.test_storagemigration_v1alpha1_api + kubernetes.test.test_storagemigration_v1beta1_api kubernetes.test.test_v1_affinity kubernetes.test.test_v1_aggregation_rule + kubernetes.test.test_v1_allocated_device_status + kubernetes.test.test_v1_allocation_result kubernetes.test.test_v1_api_group kubernetes.test.test_v1_api_group_list kubernetes.test.test_v1_api_resource @@ -106,6 +113,10 @@ Submodules kubernetes.test.test_v1_binding kubernetes.test.test_v1_bound_object_reference kubernetes.test.test_v1_capabilities + kubernetes.test.test_v1_capacity_request_policy + kubernetes.test.test_v1_capacity_request_policy_range + kubernetes.test.test_v1_capacity_requirements + kubernetes.test.test_v1_cel_device_selector kubernetes.test.test_v1_ceph_fs_persistent_volume_source kubernetes.test.test_v1_ceph_fs_volume_source kubernetes.test.test_v1_certificate_signing_request @@ -133,9 +144,12 @@ Submodules kubernetes.test.test_v1_config_map_projection kubernetes.test.test_v1_config_map_volume_source kubernetes.test.test_v1_container + kubernetes.test.test_v1_container_extended_resource_request kubernetes.test.test_v1_container_image kubernetes.test.test_v1_container_port kubernetes.test.test_v1_container_resize_policy + kubernetes.test.test_v1_container_restart_rule + kubernetes.test.test_v1_container_restart_rule_on_exit_codes kubernetes.test.test_v1_container_state kubernetes.test.test_v1_container_state_running kubernetes.test.test_v1_container_state_terminated @@ -144,6 +158,8 @@ Submodules kubernetes.test.test_v1_container_user kubernetes.test.test_v1_controller_revision kubernetes.test.test_v1_controller_revision_list + kubernetes.test.test_v1_counter + kubernetes.test.test_v1_counter_set kubernetes.test.test_v1_cron_job kubernetes.test.test_v1_cron_job_list kubernetes.test.test_v1_cron_job_spec @@ -186,6 +202,25 @@ Submodules kubernetes.test.test_v1_deployment_spec kubernetes.test.test_v1_deployment_status kubernetes.test.test_v1_deployment_strategy + kubernetes.test.test_v1_device + kubernetes.test.test_v1_device_allocation_configuration + kubernetes.test.test_v1_device_allocation_result + kubernetes.test.test_v1_device_attribute + kubernetes.test.test_v1_device_capacity + kubernetes.test.test_v1_device_claim + kubernetes.test.test_v1_device_claim_configuration + kubernetes.test.test_v1_device_class + kubernetes.test.test_v1_device_class_configuration + kubernetes.test.test_v1_device_class_list + kubernetes.test.test_v1_device_class_spec + kubernetes.test.test_v1_device_constraint + kubernetes.test.test_v1_device_counter_consumption + kubernetes.test.test_v1_device_request + kubernetes.test.test_v1_device_request_allocation_result + kubernetes.test.test_v1_device_selector + kubernetes.test.test_v1_device_sub_request + kubernetes.test.test_v1_device_taint + kubernetes.test.test_v1_device_toleration kubernetes.test.test_v1_downward_api_projection kubernetes.test.test_v1_downward_api_volume_file kubernetes.test.test_v1_downward_api_volume_source @@ -206,6 +241,7 @@ Submodules kubernetes.test.test_v1_ephemeral_volume_source kubernetes.test.test_v1_event_source kubernetes.test.test_v1_eviction + kubernetes.test.test_v1_exact_device_request kubernetes.test.test_v1_exec_action kubernetes.test.test_v1_exempt_priority_level_configuration kubernetes.test.test_v1_expression_warning @@ -213,6 +249,7 @@ Submodules kubernetes.test.test_v1_fc_volume_source kubernetes.test.test_v1_field_selector_attributes kubernetes.test.test_v1_field_selector_requirement + kubernetes.test.test_v1_file_key_selector kubernetes.test.test_v1_flex_persistent_volume_source kubernetes.test.test_v1_flex_volume_source kubernetes.test.test_v1_flocker_volume_source @@ -222,11 +259,13 @@ Submodules kubernetes.test.test_v1_flow_schema_list kubernetes.test.test_v1_flow_schema_spec kubernetes.test.test_v1_flow_schema_status + kubernetes.test.test_v1_for_node kubernetes.test.test_v1_for_zone kubernetes.test.test_v1_gce_persistent_disk_volume_source kubernetes.test.test_v1_git_repo_volume_source kubernetes.test.test_v1_glusterfs_persistent_volume_source kubernetes.test.test_v1_glusterfs_volume_source + kubernetes.test.test_v1_group_resource kubernetes.test.test_v1_group_subject kubernetes.test.test_v1_group_version_for_discovery kubernetes.test.test_v1_grpc_action @@ -257,6 +296,9 @@ Submodules kubernetes.test.test_v1_ingress_spec kubernetes.test.test_v1_ingress_status kubernetes.test.test_v1_ingress_tls + kubernetes.test.test_v1_ip_address + kubernetes.test.test_v1_ip_address_list + kubernetes.test.test_v1_ip_address_spec kubernetes.test.test_v1_ip_block kubernetes.test.test_v1_iscsi_persistent_volume_source kubernetes.test.test_v1_iscsi_volume_source @@ -302,6 +344,7 @@ Submodules kubernetes.test.test_v1_namespace_list kubernetes.test.test_v1_namespace_spec kubernetes.test.test_v1_namespace_status + kubernetes.test.test_v1_network_device_data kubernetes.test.test_v1_network_policy kubernetes.test.test_v1_network_policy_egress_rule kubernetes.test.test_v1_network_policy_ingress_rule @@ -326,6 +369,7 @@ Submodules kubernetes.test.test_v1_node_selector_term kubernetes.test.test_v1_node_spec kubernetes.test.test_v1_node_status + kubernetes.test.test_v1_node_swap_status kubernetes.test.test_v1_node_system_info kubernetes.test.test_v1_non_resource_attributes kubernetes.test.test_v1_non_resource_policy_rule @@ -333,10 +377,12 @@ Submodules kubernetes.test.test_v1_object_field_selector kubernetes.test.test_v1_object_meta kubernetes.test.test_v1_object_reference + kubernetes.test.test_v1_opaque_device_configuration kubernetes.test.test_v1_overhead kubernetes.test.test_v1_owner_reference kubernetes.test.test_v1_param_kind kubernetes.test.test_v1_param_ref + kubernetes.test.test_v1_parent_reference kubernetes.test.test_v1_persistent_volume kubernetes.test.test_v1_persistent_volume_claim kubernetes.test.test_v1_persistent_volume_claim_condition @@ -353,6 +399,7 @@ Submodules kubernetes.test.test_v1_pod_affinity kubernetes.test.test_v1_pod_affinity_term kubernetes.test.test_v1_pod_anti_affinity + kubernetes.test.test_v1_pod_certificate_projection kubernetes.test.test_v1_pod_condition kubernetes.test.test_v1_pod_disruption_budget kubernetes.test.test_v1_pod_disruption_budget_list @@ -360,6 +407,7 @@ Submodules kubernetes.test.test_v1_pod_disruption_budget_status kubernetes.test.test_v1_pod_dns_config kubernetes.test.test_v1_pod_dns_config_option + kubernetes.test.test_v1_pod_extended_resource_claim_status kubernetes.test.test_v1_pod_failure_policy kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern @@ -408,16 +456,26 @@ Submodules kubernetes.test.test_v1_replication_controller_spec kubernetes.test.test_v1_replication_controller_status kubernetes.test.test_v1_resource_attributes - kubernetes.test.test_v1_resource_claim + kubernetes.test.test_v1_resource_claim_consumer_reference + kubernetes.test.test_v1_resource_claim_list + kubernetes.test.test_v1_resource_claim_spec + kubernetes.test.test_v1_resource_claim_status + kubernetes.test.test_v1_resource_claim_template + kubernetes.test.test_v1_resource_claim_template_list + kubernetes.test.test_v1_resource_claim_template_spec kubernetes.test.test_v1_resource_field_selector kubernetes.test.test_v1_resource_health kubernetes.test.test_v1_resource_policy_rule + kubernetes.test.test_v1_resource_pool kubernetes.test.test_v1_resource_quota kubernetes.test.test_v1_resource_quota_list kubernetes.test.test_v1_resource_quota_spec kubernetes.test.test_v1_resource_quota_status kubernetes.test.test_v1_resource_requirements kubernetes.test.test_v1_resource_rule + kubernetes.test.test_v1_resource_slice + kubernetes.test.test_v1_resource_slice_list + kubernetes.test.test_v1_resource_slice_spec kubernetes.test.test_v1_resource_status kubernetes.test.test_v1_role kubernetes.test.test_v1_role_binding @@ -462,6 +520,10 @@ Submodules kubernetes.test.test_v1_service_account_subject kubernetes.test.test_v1_service_account_token_projection kubernetes.test.test_v1_service_backend_port + kubernetes.test.test_v1_service_cidr + kubernetes.test.test_v1_service_cidr_list + kubernetes.test.test_v1_service_cidr_spec + kubernetes.test.test_v1_service_cidr_status kubernetes.test.test_v1_service_list kubernetes.test.test_v1_service_port kubernetes.test.test_v1_service_spec @@ -526,6 +588,8 @@ Submodules kubernetes.test.test_v1_volume_attachment_source kubernetes.test.test_v1_volume_attachment_spec kubernetes.test.test_v1_volume_attachment_status + kubernetes.test.test_v1_volume_attributes_class + kubernetes.test.test_v1_volume_attributes_class_list kubernetes.test.test_v1_volume_device kubernetes.test.test_v1_volume_error kubernetes.test.test_v1_volume_mount @@ -539,15 +603,15 @@ Submodules kubernetes.test.test_v1_webhook_conversion kubernetes.test.test_v1_weighted_pod_affinity_term kubernetes.test.test_v1_windows_security_context_options + kubernetes.test.test_v1_workload_reference kubernetes.test.test_v1alpha1_apply_configuration kubernetes.test.test_v1alpha1_cluster_trust_bundle kubernetes.test.test_v1alpha1_cluster_trust_bundle_list kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec - kubernetes.test.test_v1alpha1_group_version_resource + kubernetes.test.test_v1alpha1_gang_scheduling_policy kubernetes.test.test_v1alpha1_json_patch kubernetes.test.test_v1alpha1_match_condition kubernetes.test.test_v1alpha1_match_resources - kubernetes.test.test_v1alpha1_migration_condition kubernetes.test.test_v1alpha1_mutating_admission_policy kubernetes.test.test_v1alpha1_mutating_admission_policy_binding kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list @@ -558,58 +622,40 @@ Submodules kubernetes.test.test_v1alpha1_named_rule_with_operations kubernetes.test.test_v1alpha1_param_kind kubernetes.test.test_v1alpha1_param_ref + kubernetes.test.test_v1alpha1_pod_group + kubernetes.test.test_v1alpha1_pod_group_policy kubernetes.test.test_v1alpha1_server_storage_version kubernetes.test.test_v1alpha1_storage_version kubernetes.test.test_v1alpha1_storage_version_condition kubernetes.test.test_v1alpha1_storage_version_list - kubernetes.test.test_v1alpha1_storage_version_migration - kubernetes.test.test_v1alpha1_storage_version_migration_list - kubernetes.test.test_v1alpha1_storage_version_migration_spec - kubernetes.test.test_v1alpha1_storage_version_migration_status kubernetes.test.test_v1alpha1_storage_version_status + kubernetes.test.test_v1alpha1_typed_local_object_reference kubernetes.test.test_v1alpha1_variable - kubernetes.test.test_v1alpha1_volume_attributes_class - kubernetes.test.test_v1alpha1_volume_attributes_class_list + kubernetes.test.test_v1alpha1_workload + kubernetes.test.test_v1alpha1_workload_list + kubernetes.test.test_v1alpha1_workload_spec kubernetes.test.test_v1alpha2_lease_candidate kubernetes.test.test_v1alpha2_lease_candidate_list kubernetes.test.test_v1alpha2_lease_candidate_spec - kubernetes.test.test_v1alpha3_allocated_device_status - kubernetes.test.test_v1alpha3_allocation_result - kubernetes.test.test_v1alpha3_basic_device - kubernetes.test.test_v1alpha3_cel_device_selector - kubernetes.test.test_v1alpha3_device - kubernetes.test.test_v1alpha3_device_allocation_configuration - kubernetes.test.test_v1alpha3_device_allocation_result - kubernetes.test.test_v1alpha3_device_attribute - kubernetes.test.test_v1alpha3_device_claim - kubernetes.test.test_v1alpha3_device_claim_configuration - kubernetes.test.test_v1alpha3_device_class - kubernetes.test.test_v1alpha3_device_class_configuration - kubernetes.test.test_v1alpha3_device_class_list - kubernetes.test.test_v1alpha3_device_class_spec - kubernetes.test.test_v1alpha3_device_constraint - kubernetes.test.test_v1alpha3_device_request - kubernetes.test.test_v1alpha3_device_request_allocation_result - kubernetes.test.test_v1alpha3_device_selector - kubernetes.test.test_v1alpha3_network_device_data - kubernetes.test.test_v1alpha3_opaque_device_configuration - kubernetes.test.test_v1alpha3_resource_claim - kubernetes.test.test_v1alpha3_resource_claim_consumer_reference - kubernetes.test.test_v1alpha3_resource_claim_list - kubernetes.test.test_v1alpha3_resource_claim_spec - kubernetes.test.test_v1alpha3_resource_claim_status - kubernetes.test.test_v1alpha3_resource_claim_template - kubernetes.test.test_v1alpha3_resource_claim_template_list - kubernetes.test.test_v1alpha3_resource_claim_template_spec - kubernetes.test.test_v1alpha3_resource_pool - kubernetes.test.test_v1alpha3_resource_slice - kubernetes.test.test_v1alpha3_resource_slice_list - kubernetes.test.test_v1alpha3_resource_slice_spec + kubernetes.test.test_v1alpha3_device_taint + kubernetes.test.test_v1alpha3_device_taint_rule + kubernetes.test.test_v1alpha3_device_taint_rule_list + kubernetes.test.test_v1alpha3_device_taint_rule_spec + kubernetes.test.test_v1alpha3_device_taint_rule_status + kubernetes.test.test_v1alpha3_device_taint_selector kubernetes.test.test_v1beta1_allocated_device_status kubernetes.test.test_v1beta1_allocation_result - kubernetes.test.test_v1beta1_audit_annotation + kubernetes.test.test_v1beta1_apply_configuration kubernetes.test.test_v1beta1_basic_device + kubernetes.test.test_v1beta1_capacity_request_policy + kubernetes.test.test_v1beta1_capacity_request_policy_range + kubernetes.test.test_v1beta1_capacity_requirements kubernetes.test.test_v1beta1_cel_device_selector + kubernetes.test.test_v1beta1_cluster_trust_bundle + kubernetes.test.test_v1beta1_cluster_trust_bundle_list + kubernetes.test.test_v1beta1_cluster_trust_bundle_spec + kubernetes.test.test_v1beta1_counter + kubernetes.test.test_v1beta1_counter_set kubernetes.test.test_v1beta1_device kubernetes.test.test_v1beta1_device_allocation_configuration kubernetes.test.test_v1beta1_device_allocation_result @@ -622,21 +668,39 @@ Submodules kubernetes.test.test_v1beta1_device_class_list kubernetes.test.test_v1beta1_device_class_spec kubernetes.test.test_v1beta1_device_constraint + kubernetes.test.test_v1beta1_device_counter_consumption kubernetes.test.test_v1beta1_device_request kubernetes.test.test_v1beta1_device_request_allocation_result kubernetes.test.test_v1beta1_device_selector - kubernetes.test.test_v1beta1_expression_warning + kubernetes.test.test_v1beta1_device_sub_request + kubernetes.test.test_v1beta1_device_taint + kubernetes.test.test_v1beta1_device_toleration kubernetes.test.test_v1beta1_ip_address kubernetes.test.test_v1beta1_ip_address_list kubernetes.test.test_v1beta1_ip_address_spec + kubernetes.test.test_v1beta1_json_patch + kubernetes.test.test_v1beta1_lease_candidate + kubernetes.test.test_v1beta1_lease_candidate_list + kubernetes.test.test_v1beta1_lease_candidate_spec kubernetes.test.test_v1beta1_match_condition kubernetes.test.test_v1beta1_match_resources + kubernetes.test.test_v1beta1_mutating_admission_policy + kubernetes.test.test_v1beta1_mutating_admission_policy_binding + kubernetes.test.test_v1beta1_mutating_admission_policy_binding_list + kubernetes.test.test_v1beta1_mutating_admission_policy_binding_spec + kubernetes.test.test_v1beta1_mutating_admission_policy_list + kubernetes.test.test_v1beta1_mutating_admission_policy_spec + kubernetes.test.test_v1beta1_mutation kubernetes.test.test_v1beta1_named_rule_with_operations kubernetes.test.test_v1beta1_network_device_data kubernetes.test.test_v1beta1_opaque_device_configuration kubernetes.test.test_v1beta1_param_kind kubernetes.test.test_v1beta1_param_ref kubernetes.test.test_v1beta1_parent_reference + kubernetes.test.test_v1beta1_pod_certificate_request + kubernetes.test.test_v1beta1_pod_certificate_request_list + kubernetes.test.test_v1beta1_pod_certificate_request_spec + kubernetes.test.test_v1beta1_pod_certificate_request_status kubernetes.test.test_v1beta1_resource_claim kubernetes.test.test_v1beta1_resource_claim_consumer_reference kubernetes.test.test_v1beta1_resource_claim_list @@ -649,24 +713,59 @@ Submodules kubernetes.test.test_v1beta1_resource_slice kubernetes.test.test_v1beta1_resource_slice_list kubernetes.test.test_v1beta1_resource_slice_spec - kubernetes.test.test_v1beta1_self_subject_review - kubernetes.test.test_v1beta1_self_subject_review_status kubernetes.test.test_v1beta1_service_cidr kubernetes.test.test_v1beta1_service_cidr_list kubernetes.test.test_v1beta1_service_cidr_spec kubernetes.test.test_v1beta1_service_cidr_status - kubernetes.test.test_v1beta1_type_checking - kubernetes.test.test_v1beta1_validating_admission_policy - kubernetes.test.test_v1beta1_validating_admission_policy_binding - kubernetes.test.test_v1beta1_validating_admission_policy_binding_list - kubernetes.test.test_v1beta1_validating_admission_policy_binding_spec - kubernetes.test.test_v1beta1_validating_admission_policy_list - kubernetes.test.test_v1beta1_validating_admission_policy_spec - kubernetes.test.test_v1beta1_validating_admission_policy_status - kubernetes.test.test_v1beta1_validation + kubernetes.test.test_v1beta1_storage_version_migration + kubernetes.test.test_v1beta1_storage_version_migration_list + kubernetes.test.test_v1beta1_storage_version_migration_spec + kubernetes.test.test_v1beta1_storage_version_migration_status kubernetes.test.test_v1beta1_variable kubernetes.test.test_v1beta1_volume_attributes_class kubernetes.test.test_v1beta1_volume_attributes_class_list + kubernetes.test.test_v1beta2_allocated_device_status + kubernetes.test.test_v1beta2_allocation_result + kubernetes.test.test_v1beta2_capacity_request_policy + kubernetes.test.test_v1beta2_capacity_request_policy_range + kubernetes.test.test_v1beta2_capacity_requirements + kubernetes.test.test_v1beta2_cel_device_selector + kubernetes.test.test_v1beta2_counter + kubernetes.test.test_v1beta2_counter_set + kubernetes.test.test_v1beta2_device + kubernetes.test.test_v1beta2_device_allocation_configuration + kubernetes.test.test_v1beta2_device_allocation_result + kubernetes.test.test_v1beta2_device_attribute + kubernetes.test.test_v1beta2_device_capacity + kubernetes.test.test_v1beta2_device_claim + kubernetes.test.test_v1beta2_device_claim_configuration + kubernetes.test.test_v1beta2_device_class + kubernetes.test.test_v1beta2_device_class_configuration + kubernetes.test.test_v1beta2_device_class_list + kubernetes.test.test_v1beta2_device_class_spec + kubernetes.test.test_v1beta2_device_constraint + kubernetes.test.test_v1beta2_device_counter_consumption + kubernetes.test.test_v1beta2_device_request + kubernetes.test.test_v1beta2_device_request_allocation_result + kubernetes.test.test_v1beta2_device_selector + kubernetes.test.test_v1beta2_device_sub_request + kubernetes.test.test_v1beta2_device_taint + kubernetes.test.test_v1beta2_device_toleration + kubernetes.test.test_v1beta2_exact_device_request + kubernetes.test.test_v1beta2_network_device_data + kubernetes.test.test_v1beta2_opaque_device_configuration + kubernetes.test.test_v1beta2_resource_claim + kubernetes.test.test_v1beta2_resource_claim_consumer_reference + kubernetes.test.test_v1beta2_resource_claim_list + kubernetes.test.test_v1beta2_resource_claim_spec + kubernetes.test.test_v1beta2_resource_claim_status + kubernetes.test.test_v1beta2_resource_claim_template + kubernetes.test.test_v1beta2_resource_claim_template_list + kubernetes.test.test_v1beta2_resource_claim_template_spec + kubernetes.test.test_v1beta2_resource_pool + kubernetes.test.test_v1beta2_resource_slice + kubernetes.test.test_v1beta2_resource_slice_list + kubernetes.test.test_v1beta2_resource_slice_spec kubernetes.test.test_v2_container_resource_metric_source kubernetes.test.test_v2_container_resource_metric_status kubernetes.test.test_v2_cross_version_object_reference @@ -700,5 +799,5 @@ Module contents .. automodule:: kubernetes.test :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_api.rst b/doc/source/kubernetes.test.test_admissionregistration_api.rst index 7efa7fe4b7..8f003c2daa 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_api.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_api module .. automodule:: kubernetes.test.test_admissionregistration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_v1_api.rst b/doc/source/kubernetes.test.test_admissionregistration_v1_api.rst index dcd7f81865..c410f8bb05 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_v1_api.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_v1\_api module .. automodule:: kubernetes.test.test_admissionregistration_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_v1_service_reference.rst b/doc/source/kubernetes.test.test_admissionregistration_v1_service_reference.rst index b7f74ac6d3..1ed77cc8f9 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_v1_service_reference.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_v1\_service\_reference module .. automodule:: kubernetes.test.test_admissionregistration_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_v1_webhook_client_config.rst b/doc/source/kubernetes.test.test_admissionregistration_v1_webhook_client_config.rst index 62af186476..718f13f44d 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_v1_webhook_client_config.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_v1_webhook_client_config.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_v1\_webhook\_client\_config module .. automodule:: kubernetes.test.test_admissionregistration_v1_webhook_client_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_v1alpha1_api.rst b/doc/source/kubernetes.test.test_admissionregistration_v1alpha1_api.rst index 3f2bdfe03b..650a36b29b 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_v1alpha1_api.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_v1alpha1\_api module .. automodule:: kubernetes.test.test_admissionregistration_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_admissionregistration_v1beta1_api.rst b/doc/source/kubernetes.test.test_admissionregistration_v1beta1_api.rst index 6ab20345c8..4c7666fdfe 100644 --- a/doc/source/kubernetes.test.test_admissionregistration_v1beta1_api.rst +++ b/doc/source/kubernetes.test.test_admissionregistration_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_admissionregistration\_v1beta1\_api module .. automodule:: kubernetes.test.test_admissionregistration_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiextensions_api.rst b/doc/source/kubernetes.test.test_apiextensions_api.rst index 34004c8583..6962c57122 100644 --- a/doc/source/kubernetes.test.test_apiextensions_api.rst +++ b/doc/source/kubernetes.test.test_apiextensions_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiextensions\_api module .. automodule:: kubernetes.test.test_apiextensions_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiextensions_v1_api.rst b/doc/source/kubernetes.test.test_apiextensions_v1_api.rst index 10f0c9cee8..e62a3dfbb4 100644 --- a/doc/source/kubernetes.test.test_apiextensions_v1_api.rst +++ b/doc/source/kubernetes.test.test_apiextensions_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiextensions\_v1\_api module .. automodule:: kubernetes.test.test_apiextensions_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiextensions_v1_service_reference.rst b/doc/source/kubernetes.test.test_apiextensions_v1_service_reference.rst index 2e1873846a..af514e5657 100644 --- a/doc/source/kubernetes.test.test_apiextensions_v1_service_reference.rst +++ b/doc/source/kubernetes.test.test_apiextensions_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiextensions\_v1\_service\_reference module .. automodule:: kubernetes.test.test_apiextensions_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiextensions_v1_webhook_client_config.rst b/doc/source/kubernetes.test.test_apiextensions_v1_webhook_client_config.rst index 5301c25e14..f37e2c5c56 100644 --- a/doc/source/kubernetes.test.test_apiextensions_v1_webhook_client_config.rst +++ b/doc/source/kubernetes.test.test_apiextensions_v1_webhook_client_config.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiextensions\_v1\_webhook\_client\_config module .. automodule:: kubernetes.test.test_apiextensions_v1_webhook_client_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiregistration_api.rst b/doc/source/kubernetes.test.test_apiregistration_api.rst index dfc8c35a05..2b59966df1 100644 --- a/doc/source/kubernetes.test.test_apiregistration_api.rst +++ b/doc/source/kubernetes.test.test_apiregistration_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiregistration\_api module .. automodule:: kubernetes.test.test_apiregistration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiregistration_v1_api.rst b/doc/source/kubernetes.test.test_apiregistration_v1_api.rst index 0e00bcd4cb..dada22b1b4 100644 --- a/doc/source/kubernetes.test.test_apiregistration_v1_api.rst +++ b/doc/source/kubernetes.test.test_apiregistration_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiregistration\_v1\_api module .. automodule:: kubernetes.test.test_apiregistration_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apiregistration_v1_service_reference.rst b/doc/source/kubernetes.test.test_apiregistration_v1_service_reference.rst index 894f51839b..3599fd49d0 100644 --- a/doc/source/kubernetes.test.test_apiregistration_v1_service_reference.rst +++ b/doc/source/kubernetes.test.test_apiregistration_v1_service_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apiregistration\_v1\_service\_reference module .. automodule:: kubernetes.test.test_apiregistration_v1_service_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apis_api.rst b/doc/source/kubernetes.test.test_apis_api.rst index f64a507335..2f8801c431 100644 --- a/doc/source/kubernetes.test.test_apis_api.rst +++ b/doc/source/kubernetes.test.test_apis_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apis\_api module .. automodule:: kubernetes.test.test_apis_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apps_api.rst b/doc/source/kubernetes.test.test_apps_api.rst index e7016ba6bc..af2d67d3ba 100644 --- a/doc/source/kubernetes.test.test_apps_api.rst +++ b/doc/source/kubernetes.test.test_apps_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apps\_api module .. automodule:: kubernetes.test.test_apps_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_apps_v1_api.rst b/doc/source/kubernetes.test.test_apps_v1_api.rst index 27ac5bb7ed..ac8901055a 100644 --- a/doc/source/kubernetes.test.test_apps_v1_api.rst +++ b/doc/source/kubernetes.test.test_apps_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_apps\_v1\_api module .. automodule:: kubernetes.test.test_apps_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_authentication_api.rst b/doc/source/kubernetes.test.test_authentication_api.rst index f5418b0cda..8a4faa897e 100644 --- a/doc/source/kubernetes.test.test_authentication_api.rst +++ b/doc/source/kubernetes.test.test_authentication_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_authentication\_api module .. automodule:: kubernetes.test.test_authentication_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_authentication_v1_api.rst b/doc/source/kubernetes.test.test_authentication_v1_api.rst index 9683ac7e7d..dca7a11438 100644 --- a/doc/source/kubernetes.test.test_authentication_v1_api.rst +++ b/doc/source/kubernetes.test.test_authentication_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_authentication\_v1\_api module .. automodule:: kubernetes.test.test_authentication_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_authentication_v1_token_request.rst b/doc/source/kubernetes.test.test_authentication_v1_token_request.rst index b4d3164844..b25f930889 100644 --- a/doc/source/kubernetes.test.test_authentication_v1_token_request.rst +++ b/doc/source/kubernetes.test.test_authentication_v1_token_request.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_authentication\_v1\_token\_request module .. automodule:: kubernetes.test.test_authentication_v1_token_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_authentication_v1beta1_api.rst b/doc/source/kubernetes.test.test_authentication_v1beta1_api.rst deleted file mode 100644 index 1e09160a41..0000000000 --- a/doc/source/kubernetes.test.test_authentication_v1beta1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_authentication\_v1beta1\_api module -========================================================= - -.. automodule:: kubernetes.test.test_authentication_v1beta1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_authorization_api.rst b/doc/source/kubernetes.test.test_authorization_api.rst index 4cab598483..973caace73 100644 --- a/doc/source/kubernetes.test.test_authorization_api.rst +++ b/doc/source/kubernetes.test.test_authorization_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_authorization\_api module .. automodule:: kubernetes.test.test_authorization_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_authorization_v1_api.rst b/doc/source/kubernetes.test.test_authorization_v1_api.rst index 091a7e0ea8..d404e5bb85 100644 --- a/doc/source/kubernetes.test.test_authorization_v1_api.rst +++ b/doc/source/kubernetes.test.test_authorization_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_authorization\_v1\_api module .. automodule:: kubernetes.test.test_authorization_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_autoscaling_api.rst b/doc/source/kubernetes.test.test_autoscaling_api.rst index e39b5305f1..ad0d8beb10 100644 --- a/doc/source/kubernetes.test.test_autoscaling_api.rst +++ b/doc/source/kubernetes.test.test_autoscaling_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_autoscaling\_api module .. automodule:: kubernetes.test.test_autoscaling_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_autoscaling_v1_api.rst b/doc/source/kubernetes.test.test_autoscaling_v1_api.rst index e1a7c1a1e1..26d7d959c5 100644 --- a/doc/source/kubernetes.test.test_autoscaling_v1_api.rst +++ b/doc/source/kubernetes.test.test_autoscaling_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_autoscaling\_v1\_api module .. automodule:: kubernetes.test.test_autoscaling_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_autoscaling_v2_api.rst b/doc/source/kubernetes.test.test_autoscaling_v2_api.rst index cb2dc7d74f..fb57727b63 100644 --- a/doc/source/kubernetes.test.test_autoscaling_v2_api.rst +++ b/doc/source/kubernetes.test.test_autoscaling_v2_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_autoscaling\_v2\_api module .. automodule:: kubernetes.test.test_autoscaling_v2_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_batch_api.rst b/doc/source/kubernetes.test.test_batch_api.rst index a7f3a2970f..1715c225ac 100644 --- a/doc/source/kubernetes.test.test_batch_api.rst +++ b/doc/source/kubernetes.test.test_batch_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_batch\_api module .. automodule:: kubernetes.test.test_batch_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_batch_v1_api.rst b/doc/source/kubernetes.test.test_batch_v1_api.rst index feb2df0f13..8ce81ffa2b 100644 --- a/doc/source/kubernetes.test.test_batch_v1_api.rst +++ b/doc/source/kubernetes.test.test_batch_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_batch\_v1\_api module .. automodule:: kubernetes.test.test_batch_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_certificates_api.rst b/doc/source/kubernetes.test.test_certificates_api.rst index bd871a0c13..86db462344 100644 --- a/doc/source/kubernetes.test.test_certificates_api.rst +++ b/doc/source/kubernetes.test.test_certificates_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_certificates\_api module .. automodule:: kubernetes.test.test_certificates_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_certificates_v1_api.rst b/doc/source/kubernetes.test.test_certificates_v1_api.rst index 89310320dd..1a7a6d2fa6 100644 --- a/doc/source/kubernetes.test.test_certificates_v1_api.rst +++ b/doc/source/kubernetes.test.test_certificates_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_certificates\_v1\_api module .. automodule:: kubernetes.test.test_certificates_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_certificates_v1alpha1_api.rst b/doc/source/kubernetes.test.test_certificates_v1alpha1_api.rst index 03dca9fbc7..c1497e1a12 100644 --- a/doc/source/kubernetes.test.test_certificates_v1alpha1_api.rst +++ b/doc/source/kubernetes.test.test_certificates_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_certificates\_v1alpha1\_api module .. automodule:: kubernetes.test.test_certificates_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_certificates_v1beta1_api.rst b/doc/source/kubernetes.test.test_certificates_v1beta1_api.rst new file mode 100644 index 0000000000..ba595ccc6f --- /dev/null +++ b/doc/source/kubernetes.test.test_certificates_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_certificates\_v1beta1\_api module +======================================================= + +.. automodule:: kubernetes.test.test_certificates_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_coordination_api.rst b/doc/source/kubernetes.test.test_coordination_api.rst index f500bf2886..359984c3b7 100644 --- a/doc/source/kubernetes.test.test_coordination_api.rst +++ b/doc/source/kubernetes.test.test_coordination_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_coordination\_api module .. automodule:: kubernetes.test.test_coordination_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_coordination_v1_api.rst b/doc/source/kubernetes.test.test_coordination_v1_api.rst index 10ac8bb305..34bc9e11e8 100644 --- a/doc/source/kubernetes.test.test_coordination_v1_api.rst +++ b/doc/source/kubernetes.test.test_coordination_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_coordination\_v1\_api module .. automodule:: kubernetes.test.test_coordination_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_coordination_v1alpha2_api.rst b/doc/source/kubernetes.test.test_coordination_v1alpha2_api.rst index 1efcee8257..1f1d7bd79d 100644 --- a/doc/source/kubernetes.test.test_coordination_v1alpha2_api.rst +++ b/doc/source/kubernetes.test.test_coordination_v1alpha2_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_coordination\_v1alpha2\_api module .. automodule:: kubernetes.test.test_coordination_v1alpha2_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_coordination_v1beta1_api.rst b/doc/source/kubernetes.test.test_coordination_v1beta1_api.rst new file mode 100644 index 0000000000..5a28babd28 --- /dev/null +++ b/doc/source/kubernetes.test.test_coordination_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_coordination\_v1beta1\_api module +======================================================= + +.. automodule:: kubernetes.test.test_coordination_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_api.rst b/doc/source/kubernetes.test.test_core_api.rst index 47b6e231bb..337a2757e9 100644 --- a/doc/source/kubernetes.test.test_core_api.rst +++ b/doc/source/kubernetes.test.test_core_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_api module .. automodule:: kubernetes.test.test_core_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_api.rst b/doc/source/kubernetes.test.test_core_v1_api.rst index 2576a01eb5..6441de9ace 100644 --- a/doc/source/kubernetes.test.test_core_v1_api.rst +++ b/doc/source/kubernetes.test.test_core_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_v1\_api module .. automodule:: kubernetes.test.test_core_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_endpoint_port.rst b/doc/source/kubernetes.test.test_core_v1_endpoint_port.rst index 3655e7b7e8..c9cc659f05 100644 --- a/doc/source/kubernetes.test.test_core_v1_endpoint_port.rst +++ b/doc/source/kubernetes.test.test_core_v1_endpoint_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_v1\_endpoint\_port module .. automodule:: kubernetes.test.test_core_v1_endpoint_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_event.rst b/doc/source/kubernetes.test.test_core_v1_event.rst index 9cb0c42d6c..1764cecb8d 100644 --- a/doc/source/kubernetes.test.test_core_v1_event.rst +++ b/doc/source/kubernetes.test.test_core_v1_event.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_v1\_event module .. automodule:: kubernetes.test.test_core_v1_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_event_list.rst b/doc/source/kubernetes.test.test_core_v1_event_list.rst index d9f5945722..4ce76073f0 100644 --- a/doc/source/kubernetes.test.test_core_v1_event_list.rst +++ b/doc/source/kubernetes.test.test_core_v1_event_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_v1\_event\_list module .. automodule:: kubernetes.test.test_core_v1_event_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_event_series.rst b/doc/source/kubernetes.test.test_core_v1_event_series.rst index 506a473967..f52a36f5bb 100644 --- a/doc/source/kubernetes.test.test_core_v1_event_series.rst +++ b/doc/source/kubernetes.test.test_core_v1_event_series.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_core\_v1\_event\_series module .. automodule:: kubernetes.test.test_core_v1_event_series :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_core_v1_resource_claim.rst b/doc/source/kubernetes.test.test_core_v1_resource_claim.rst new file mode 100644 index 0000000000..0d3233c13c --- /dev/null +++ b/doc/source/kubernetes.test.test_core_v1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_core\_v1\_resource\_claim module +====================================================== + +.. automodule:: kubernetes.test.test_core_v1_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_custom_objects_api.rst b/doc/source/kubernetes.test.test_custom_objects_api.rst index b78973416d..cb36118197 100644 --- a/doc/source/kubernetes.test.test_custom_objects_api.rst +++ b/doc/source/kubernetes.test.test_custom_objects_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_custom\_objects\_api module .. automodule:: kubernetes.test.test_custom_objects_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_discovery_api.rst b/doc/source/kubernetes.test.test_discovery_api.rst index 84e4f91cf7..5db09e4e48 100644 --- a/doc/source/kubernetes.test.test_discovery_api.rst +++ b/doc/source/kubernetes.test.test_discovery_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_discovery\_api module .. automodule:: kubernetes.test.test_discovery_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_discovery_v1_api.rst b/doc/source/kubernetes.test.test_discovery_v1_api.rst index 53a08c7542..f6499140b5 100644 --- a/doc/source/kubernetes.test.test_discovery_v1_api.rst +++ b/doc/source/kubernetes.test.test_discovery_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_discovery\_v1\_api module .. automodule:: kubernetes.test.test_discovery_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_discovery_v1_endpoint_port.rst b/doc/source/kubernetes.test.test_discovery_v1_endpoint_port.rst index bb94890581..7fd3f4ab9a 100644 --- a/doc/source/kubernetes.test.test_discovery_v1_endpoint_port.rst +++ b/doc/source/kubernetes.test.test_discovery_v1_endpoint_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_discovery\_v1\_endpoint\_port module .. automodule:: kubernetes.test.test_discovery_v1_endpoint_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_events_api.rst b/doc/source/kubernetes.test.test_events_api.rst index ffbe76ccaf..9e13ff81a8 100644 --- a/doc/source/kubernetes.test.test_events_api.rst +++ b/doc/source/kubernetes.test.test_events_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_events\_api module .. automodule:: kubernetes.test.test_events_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_events_v1_api.rst b/doc/source/kubernetes.test.test_events_v1_api.rst index 2126adb79f..be605e3f21 100644 --- a/doc/source/kubernetes.test.test_events_v1_api.rst +++ b/doc/source/kubernetes.test.test_events_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_events\_v1\_api module .. automodule:: kubernetes.test.test_events_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_events_v1_event.rst b/doc/source/kubernetes.test.test_events_v1_event.rst index 874901dd9f..54229fc879 100644 --- a/doc/source/kubernetes.test.test_events_v1_event.rst +++ b/doc/source/kubernetes.test.test_events_v1_event.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_events\_v1\_event module .. automodule:: kubernetes.test.test_events_v1_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_events_v1_event_list.rst b/doc/source/kubernetes.test.test_events_v1_event_list.rst index 63756bf015..6e06659bc7 100644 --- a/doc/source/kubernetes.test.test_events_v1_event_list.rst +++ b/doc/source/kubernetes.test.test_events_v1_event_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_events\_v1\_event\_list module .. automodule:: kubernetes.test.test_events_v1_event_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_events_v1_event_series.rst b/doc/source/kubernetes.test.test_events_v1_event_series.rst index 079bae244e..032394a2b2 100644 --- a/doc/source/kubernetes.test.test_events_v1_event_series.rst +++ b/doc/source/kubernetes.test.test_events_v1_event_series.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_events\_v1\_event\_series module .. automodule:: kubernetes.test.test_events_v1_event_series :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_flowcontrol_apiserver_api.rst b/doc/source/kubernetes.test.test_flowcontrol_apiserver_api.rst index 6d77f9ff18..8a31138041 100644 --- a/doc/source/kubernetes.test.test_flowcontrol_apiserver_api.rst +++ b/doc/source/kubernetes.test.test_flowcontrol_apiserver_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_flowcontrol\_apiserver\_api module .. automodule:: kubernetes.test.test_flowcontrol_apiserver_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_flowcontrol_apiserver_v1_api.rst b/doc/source/kubernetes.test.test_flowcontrol_apiserver_v1_api.rst index 0cd4fd9c68..a0e0960bd4 100644 --- a/doc/source/kubernetes.test.test_flowcontrol_apiserver_v1_api.rst +++ b/doc/source/kubernetes.test.test_flowcontrol_apiserver_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_flowcontrol\_apiserver\_v1\_api module .. automodule:: kubernetes.test.test_flowcontrol_apiserver_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_flowcontrol_v1_subject.rst b/doc/source/kubernetes.test.test_flowcontrol_v1_subject.rst index 0689e15974..13928be83e 100644 --- a/doc/source/kubernetes.test.test_flowcontrol_v1_subject.rst +++ b/doc/source/kubernetes.test.test_flowcontrol_v1_subject.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_flowcontrol\_v1\_subject module .. automodule:: kubernetes.test.test_flowcontrol_v1_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_internal_apiserver_api.rst b/doc/source/kubernetes.test.test_internal_apiserver_api.rst index 583f37b812..d415312aff 100644 --- a/doc/source/kubernetes.test.test_internal_apiserver_api.rst +++ b/doc/source/kubernetes.test.test_internal_apiserver_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_internal\_apiserver\_api module .. automodule:: kubernetes.test.test_internal_apiserver_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_internal_apiserver_v1alpha1_api.rst b/doc/source/kubernetes.test.test_internal_apiserver_v1alpha1_api.rst index 8dedb9356d..c773a5f1e7 100644 --- a/doc/source/kubernetes.test.test_internal_apiserver_v1alpha1_api.rst +++ b/doc/source/kubernetes.test.test_internal_apiserver_v1alpha1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_internal\_apiserver\_v1alpha1\_api module .. automodule:: kubernetes.test.test_internal_apiserver_v1alpha1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_logs_api.rst b/doc/source/kubernetes.test.test_logs_api.rst index d65a1259ba..5a1b5bccb5 100644 --- a/doc/source/kubernetes.test.test_logs_api.rst +++ b/doc/source/kubernetes.test.test_logs_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_logs\_api module .. automodule:: kubernetes.test.test_logs_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_networking_api.rst b/doc/source/kubernetes.test.test_networking_api.rst index 4a561bc00c..e88bb5817b 100644 --- a/doc/source/kubernetes.test.test_networking_api.rst +++ b/doc/source/kubernetes.test.test_networking_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_networking\_api module .. automodule:: kubernetes.test.test_networking_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_networking_v1_api.rst b/doc/source/kubernetes.test.test_networking_v1_api.rst index 5ccefd6587..7ca3b736aa 100644 --- a/doc/source/kubernetes.test.test_networking_v1_api.rst +++ b/doc/source/kubernetes.test.test_networking_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_networking\_v1\_api module .. automodule:: kubernetes.test.test_networking_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_networking_v1beta1_api.rst b/doc/source/kubernetes.test.test_networking_v1beta1_api.rst index 0288164a74..eddf9c2ccb 100644 --- a/doc/source/kubernetes.test.test_networking_v1beta1_api.rst +++ b/doc/source/kubernetes.test.test_networking_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_networking\_v1beta1\_api module .. automodule:: kubernetes.test.test_networking_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_node_api.rst b/doc/source/kubernetes.test.test_node_api.rst index 1b6b87392d..605e81a958 100644 --- a/doc/source/kubernetes.test.test_node_api.rst +++ b/doc/source/kubernetes.test.test_node_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_node\_api module .. automodule:: kubernetes.test.test_node_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_node_v1_api.rst b/doc/source/kubernetes.test.test_node_v1_api.rst index 5a6cc8778f..72a4a5c1dd 100644 --- a/doc/source/kubernetes.test.test_node_v1_api.rst +++ b/doc/source/kubernetes.test.test_node_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_node\_v1\_api module .. automodule:: kubernetes.test.test_node_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_openid_api.rst b/doc/source/kubernetes.test.test_openid_api.rst index fb83a66618..2218da299d 100644 --- a/doc/source/kubernetes.test.test_openid_api.rst +++ b/doc/source/kubernetes.test.test_openid_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_openid\_api module .. automodule:: kubernetes.test.test_openid_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_policy_api.rst b/doc/source/kubernetes.test.test_policy_api.rst index 59512f49ed..cdc3144335 100644 --- a/doc/source/kubernetes.test.test_policy_api.rst +++ b/doc/source/kubernetes.test.test_policy_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_policy\_api module .. automodule:: kubernetes.test.test_policy_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_policy_v1_api.rst b/doc/source/kubernetes.test.test_policy_v1_api.rst index fe0bc8d866..25c039c8c0 100644 --- a/doc/source/kubernetes.test.test_policy_v1_api.rst +++ b/doc/source/kubernetes.test.test_policy_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_policy\_v1\_api module .. automodule:: kubernetes.test.test_policy_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_rbac_authorization_api.rst b/doc/source/kubernetes.test.test_rbac_authorization_api.rst index 5117ff6a83..d3d2cda0ae 100644 --- a/doc/source/kubernetes.test.test_rbac_authorization_api.rst +++ b/doc/source/kubernetes.test.test_rbac_authorization_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_rbac\_authorization\_api module .. automodule:: kubernetes.test.test_rbac_authorization_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_rbac_authorization_v1_api.rst b/doc/source/kubernetes.test.test_rbac_authorization_v1_api.rst index 1aabfdbc25..9b1a2726fa 100644 --- a/doc/source/kubernetes.test.test_rbac_authorization_v1_api.rst +++ b/doc/source/kubernetes.test.test_rbac_authorization_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_rbac\_authorization\_v1\_api module .. automodule:: kubernetes.test.test_rbac_authorization_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_rbac_v1_subject.rst b/doc/source/kubernetes.test.test_rbac_v1_subject.rst index 582c52e18b..eae325751a 100644 --- a/doc/source/kubernetes.test.test_rbac_v1_subject.rst +++ b/doc/source/kubernetes.test.test_rbac_v1_subject.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_rbac\_v1\_subject module .. automodule:: kubernetes.test.test_rbac_v1_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_api.rst b/doc/source/kubernetes.test.test_resource_api.rst index fb88f576c2..1c72799ce5 100644 --- a/doc/source/kubernetes.test.test_resource_api.rst +++ b/doc/source/kubernetes.test.test_resource_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_resource\_api module .. automodule:: kubernetes.test.test_resource_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_v1_api.rst b/doc/source/kubernetes.test.test_resource_v1_api.rst new file mode 100644 index 0000000000..a11fb6e891 --- /dev/null +++ b/doc/source/kubernetes.test.test_resource_v1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_resource\_v1\_api module +============================================== + +.. automodule:: kubernetes.test.test_resource_v1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_v1_resource_claim.rst b/doc/source/kubernetes.test.test_resource_v1_resource_claim.rst new file mode 100644 index 0000000000..66c8cf7394 --- /dev/null +++ b/doc/source/kubernetes.test.test_resource_v1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_resource\_v1\_resource\_claim module +========================================================== + +.. automodule:: kubernetes.test.test_resource_v1_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst b/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst index 056024c4a7..2b344db6a4 100644 --- a/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst +++ b/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_resource\_v1alpha3\_api module .. automodule:: kubernetes.test.test_resource_v1alpha3_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_v1beta1_api.rst b/doc/source/kubernetes.test.test_resource_v1beta1_api.rst index 059d34fc83..1b20349a9f 100644 --- a/doc/source/kubernetes.test.test_resource_v1beta1_api.rst +++ b/doc/source/kubernetes.test.test_resource_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_resource\_v1beta1\_api module .. automodule:: kubernetes.test.test_resource_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_resource_v1beta2_api.rst b/doc/source/kubernetes.test.test_resource_v1beta2_api.rst new file mode 100644 index 0000000000..5cc00e32ab --- /dev/null +++ b/doc/source/kubernetes.test.test_resource_v1beta2_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_resource\_v1beta2\_api module +=================================================== + +.. automodule:: kubernetes.test.test_resource_v1beta2_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_scheduling_api.rst b/doc/source/kubernetes.test.test_scheduling_api.rst index e4e119664c..2b84441005 100644 --- a/doc/source/kubernetes.test.test_scheduling_api.rst +++ b/doc/source/kubernetes.test.test_scheduling_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_scheduling\_api module .. automodule:: kubernetes.test.test_scheduling_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_scheduling_v1_api.rst b/doc/source/kubernetes.test.test_scheduling_v1_api.rst index 9c76569b85..5fa607afa3 100644 --- a/doc/source/kubernetes.test.test_scheduling_v1_api.rst +++ b/doc/source/kubernetes.test.test_scheduling_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_scheduling\_v1\_api module .. automodule:: kubernetes.test.test_scheduling_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_scheduling_v1alpha1_api.rst b/doc/source/kubernetes.test.test_scheduling_v1alpha1_api.rst new file mode 100644 index 0000000000..b88d5ec5fb --- /dev/null +++ b/doc/source/kubernetes.test.test_scheduling_v1alpha1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_scheduling\_v1alpha1\_api module +====================================================== + +.. automodule:: kubernetes.test.test_scheduling_v1alpha1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storage_api.rst b/doc/source/kubernetes.test.test_storage_api.rst index 64367c6360..ce85fe9579 100644 --- a/doc/source/kubernetes.test.test_storage_api.rst +++ b/doc/source/kubernetes.test.test_storage_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_storage\_api module .. automodule:: kubernetes.test.test_storage_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storage_v1_api.rst b/doc/source/kubernetes.test.test_storage_v1_api.rst index 55ce72bd5b..a3896278a9 100644 --- a/doc/source/kubernetes.test.test_storage_v1_api.rst +++ b/doc/source/kubernetes.test.test_storage_v1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_storage\_v1\_api module .. automodule:: kubernetes.test.test_storage_v1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storage_v1_token_request.rst b/doc/source/kubernetes.test.test_storage_v1_token_request.rst index b0b442ca9b..739639afcf 100644 --- a/doc/source/kubernetes.test.test_storage_v1_token_request.rst +++ b/doc/source/kubernetes.test.test_storage_v1_token_request.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_storage\_v1\_token\_request module .. automodule:: kubernetes.test.test_storage_v1_token_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storage_v1alpha1_api.rst b/doc/source/kubernetes.test.test_storage_v1alpha1_api.rst deleted file mode 100644 index a2fe7a50ce..0000000000 --- a/doc/source/kubernetes.test.test_storage_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_storage\_v1alpha1\_api module -=================================================== - -.. automodule:: kubernetes.test.test_storage_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_storage_v1beta1_api.rst b/doc/source/kubernetes.test.test_storage_v1beta1_api.rst index 9f7394374a..7f40f9a7d3 100644 --- a/doc/source/kubernetes.test.test_storage_v1beta1_api.rst +++ b/doc/source/kubernetes.test.test_storage_v1beta1_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_storage\_v1beta1\_api module .. automodule:: kubernetes.test.test_storage_v1beta1_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storagemigration_api.rst b/doc/source/kubernetes.test.test_storagemigration_api.rst index 48cee25882..453734f088 100644 --- a/doc/source/kubernetes.test.test_storagemigration_api.rst +++ b/doc/source/kubernetes.test.test_storagemigration_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_storagemigration\_api module .. automodule:: kubernetes.test.test_storagemigration_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_storagemigration_v1alpha1_api.rst b/doc/source/kubernetes.test.test_storagemigration_v1alpha1_api.rst deleted file mode 100644 index 20650193e6..0000000000 --- a/doc/source/kubernetes.test.test_storagemigration_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_storagemigration\_v1alpha1\_api module -============================================================ - -.. automodule:: kubernetes.test.test_storagemigration_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_storagemigration_v1beta1_api.rst b/doc/source/kubernetes.test.test_storagemigration_v1beta1_api.rst new file mode 100644 index 0000000000..4b61b0f41a --- /dev/null +++ b/doc/source/kubernetes.test.test_storagemigration_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_storagemigration\_v1beta1\_api module +=========================================================== + +.. automodule:: kubernetes.test.test_storagemigration_v1beta1_api + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_affinity.rst b/doc/source/kubernetes.test.test_v1_affinity.rst index 139f1ef1f8..ac8064ba22 100644 --- a/doc/source/kubernetes.test.test_v1_affinity.rst +++ b/doc/source/kubernetes.test.test_v1_affinity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_affinity module .. automodule:: kubernetes.test.test_v1_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_aggregation_rule.rst b/doc/source/kubernetes.test.test_v1_aggregation_rule.rst index 4bb0683415..58abe76ac4 100644 --- a/doc/source/kubernetes.test.test_v1_aggregation_rule.rst +++ b/doc/source/kubernetes.test.test_v1_aggregation_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_aggregation\_rule module .. automodule:: kubernetes.test.test_v1_aggregation_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_allocated_device_status.rst b/doc/source/kubernetes.test.test_v1_allocated_device_status.rst new file mode 100644 index 0000000000..587076fbec --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_allocated\_device\_status module +========================================================== + +.. automodule:: kubernetes.test.test_v1_allocated_device_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_allocation_result.rst b/doc/source/kubernetes.test.test_v1_allocation_result.rst new file mode 100644 index 0000000000..1290effe52 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_allocation\_result module +=================================================== + +.. automodule:: kubernetes.test.test_v1_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_group.rst b/doc/source/kubernetes.test.test_v1_api_group.rst index 17b476dea1..1c4cba7083 100644 --- a/doc/source/kubernetes.test.test_v1_api_group.rst +++ b/doc/source/kubernetes.test.test_v1_api_group.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_group module .. automodule:: kubernetes.test.test_v1_api_group :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_group_list.rst b/doc/source/kubernetes.test.test_v1_api_group_list.rst index bea949b68d..230aac657f 100644 --- a/doc/source/kubernetes.test.test_v1_api_group_list.rst +++ b/doc/source/kubernetes.test.test_v1_api_group_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_group\_list module .. automodule:: kubernetes.test.test_v1_api_group_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_resource.rst b/doc/source/kubernetes.test.test_v1_api_resource.rst index 5ea2419751..af0d38fb1e 100644 --- a/doc/source/kubernetes.test.test_v1_api_resource.rst +++ b/doc/source/kubernetes.test.test_v1_api_resource.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_resource module .. automodule:: kubernetes.test.test_v1_api_resource :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_resource_list.rst b/doc/source/kubernetes.test.test_v1_api_resource_list.rst index 4e74913c35..a0c1ae625a 100644 --- a/doc/source/kubernetes.test.test_v1_api_resource_list.rst +++ b/doc/source/kubernetes.test.test_v1_api_resource_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_resource\_list module .. automodule:: kubernetes.test.test_v1_api_resource_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_service.rst b/doc/source/kubernetes.test.test_v1_api_service.rst index 86ed6d094c..a76b2bc02a 100644 --- a/doc/source/kubernetes.test.test_v1_api_service.rst +++ b/doc/source/kubernetes.test.test_v1_api_service.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_service module .. automodule:: kubernetes.test.test_v1_api_service :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_service_condition.rst b/doc/source/kubernetes.test.test_v1_api_service_condition.rst index 4297b2a38a..7e635a3910 100644 --- a/doc/source/kubernetes.test.test_v1_api_service_condition.rst +++ b/doc/source/kubernetes.test.test_v1_api_service_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_service\_condition module .. automodule:: kubernetes.test.test_v1_api_service_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_service_list.rst b/doc/source/kubernetes.test.test_v1_api_service_list.rst index 321b7cddfb..dc28c59294 100644 --- a/doc/source/kubernetes.test.test_v1_api_service_list.rst +++ b/doc/source/kubernetes.test.test_v1_api_service_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_service\_list module .. automodule:: kubernetes.test.test_v1_api_service_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_service_spec.rst b/doc/source/kubernetes.test.test_v1_api_service_spec.rst index 4782a4c387..ddb6b6802f 100644 --- a/doc/source/kubernetes.test.test_v1_api_service_spec.rst +++ b/doc/source/kubernetes.test.test_v1_api_service_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_service\_spec module .. automodule:: kubernetes.test.test_v1_api_service_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_service_status.rst b/doc/source/kubernetes.test.test_v1_api_service_status.rst index 556e54686d..98025db32c 100644 --- a/doc/source/kubernetes.test.test_v1_api_service_status.rst +++ b/doc/source/kubernetes.test.test_v1_api_service_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_service\_status module .. automodule:: kubernetes.test.test_v1_api_service_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_api_versions.rst b/doc/source/kubernetes.test.test_v1_api_versions.rst index cbd588cf75..3b25f0df83 100644 --- a/doc/source/kubernetes.test.test_v1_api_versions.rst +++ b/doc/source/kubernetes.test.test_v1_api_versions.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_api\_versions module .. automodule:: kubernetes.test.test_v1_api_versions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_app_armor_profile.rst b/doc/source/kubernetes.test.test_v1_app_armor_profile.rst index 171901aa0a..6922bf5974 100644 --- a/doc/source/kubernetes.test.test_v1_app_armor_profile.rst +++ b/doc/source/kubernetes.test.test_v1_app_armor_profile.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_app\_armor\_profile module .. automodule:: kubernetes.test.test_v1_app_armor_profile :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_attached_volume.rst b/doc/source/kubernetes.test.test_v1_attached_volume.rst index f174feb2ec..37cd5e7118 100644 --- a/doc/source/kubernetes.test.test_v1_attached_volume.rst +++ b/doc/source/kubernetes.test.test_v1_attached_volume.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_attached\_volume module .. automodule:: kubernetes.test.test_v1_attached_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_audit_annotation.rst b/doc/source/kubernetes.test.test_v1_audit_annotation.rst index 5ea2d4f189..9e654876ca 100644 --- a/doc/source/kubernetes.test.test_v1_audit_annotation.rst +++ b/doc/source/kubernetes.test.test_v1_audit_annotation.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_audit\_annotation module .. automodule:: kubernetes.test.test_v1_audit_annotation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_aws_elastic_block_store_volume_source.rst b/doc/source/kubernetes.test.test_v1_aws_elastic_block_store_volume_source.rst index 1a6aabe36f..5f504a7ac3 100644 --- a/doc/source/kubernetes.test.test_v1_aws_elastic_block_store_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_aws_elastic_block_store_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_aws\_elastic\_block\_store\_volume\_source module .. automodule:: kubernetes.test.test_v1_aws_elastic_block_store_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_azure_disk_volume_source.rst b/doc/source/kubernetes.test.test_v1_azure_disk_volume_source.rst index a1e0b344d1..21ef4c1ab2 100644 --- a/doc/source/kubernetes.test.test_v1_azure_disk_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_azure_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_azure\_disk\_volume\_source module .. automodule:: kubernetes.test.test_v1_azure_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_azure_file_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_azure_file_persistent_volume_source.rst index b00a23e85b..d5d49959da 100644 --- a/doc/source/kubernetes.test.test_v1_azure_file_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_azure_file_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_azure\_file\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_azure_file_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_azure_file_volume_source.rst b/doc/source/kubernetes.test.test_v1_azure_file_volume_source.rst index 8b27064499..aa764c7e92 100644 --- a/doc/source/kubernetes.test.test_v1_azure_file_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_azure_file_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_azure\_file\_volume\_source module .. automodule:: kubernetes.test.test_v1_azure_file_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_binding.rst b/doc/source/kubernetes.test.test_v1_binding.rst index d76563efff..edf1619dcb 100644 --- a/doc/source/kubernetes.test.test_v1_binding.rst +++ b/doc/source/kubernetes.test.test_v1_binding.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_binding module .. automodule:: kubernetes.test.test_v1_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_bound_object_reference.rst b/doc/source/kubernetes.test.test_v1_bound_object_reference.rst index f1a47c78b5..bdb385e364 100644 --- a/doc/source/kubernetes.test.test_v1_bound_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_bound_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_bound\_object\_reference module .. automodule:: kubernetes.test.test_v1_bound_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_capabilities.rst b/doc/source/kubernetes.test.test_v1_capabilities.rst index f9898505e1..c838bc28e7 100644 --- a/doc/source/kubernetes.test.test_v1_capabilities.rst +++ b/doc/source/kubernetes.test.test_v1_capabilities.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_capabilities module .. automodule:: kubernetes.test.test_v1_capabilities :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_capacity_request_policy.rst b/doc/source/kubernetes.test.test_v1_capacity_request_policy.rst new file mode 100644 index 0000000000..0141b18617 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_capacity\_request\_policy module +========================================================== + +.. automodule:: kubernetes.test.test_v1_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_capacity_request_policy_range.rst b/doc/source/kubernetes.test.test_v1_capacity_request_policy_range.rst new file mode 100644 index 0000000000..08fa7c9475 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_capacity\_request\_policy\_range module +================================================================= + +.. automodule:: kubernetes.test.test_v1_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_capacity_requirements.rst b/doc/source/kubernetes.test.test_v1_capacity_requirements.rst new file mode 100644 index 0000000000..a63689fb23 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_capacity\_requirements module +======================================================= + +.. automodule:: kubernetes.test.test_v1_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cel_device_selector.rst b/doc/source/kubernetes.test.test_v1_cel_device_selector.rst new file mode 100644 index 0000000000..f18e2217d7 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_cel\_device\_selector module +====================================================== + +.. automodule:: kubernetes.test.test_v1_cel_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ceph_fs_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_ceph_fs_persistent_volume_source.rst index e691e468e8..52ea572ef1 100644 --- a/doc/source/kubernetes.test.test_v1_ceph_fs_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_ceph_fs_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ceph\_fs\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_ceph_fs_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ceph_fs_volume_source.rst b/doc/source/kubernetes.test.test_v1_ceph_fs_volume_source.rst index 5b548136f7..a9db6aa1a1 100644 --- a/doc/source/kubernetes.test.test_v1_ceph_fs_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_ceph_fs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ceph\_fs\_volume\_source module .. automodule:: kubernetes.test.test_v1_ceph_fs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_certificate_signing_request.rst b/doc/source/kubernetes.test.test_v1_certificate_signing_request.rst index 4f9c8326a0..c8d768c14a 100644 --- a/doc/source/kubernetes.test.test_v1_certificate_signing_request.rst +++ b/doc/source/kubernetes.test.test_v1_certificate_signing_request.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_certificate\_signing\_request module .. automodule:: kubernetes.test.test_v1_certificate_signing_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_certificate_signing_request_condition.rst b/doc/source/kubernetes.test.test_v1_certificate_signing_request_condition.rst index a28808cff5..52bd72796c 100644 --- a/doc/source/kubernetes.test.test_v1_certificate_signing_request_condition.rst +++ b/doc/source/kubernetes.test.test_v1_certificate_signing_request_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_certificate\_signing\_request\_condition module .. automodule:: kubernetes.test.test_v1_certificate_signing_request_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_certificate_signing_request_list.rst b/doc/source/kubernetes.test.test_v1_certificate_signing_request_list.rst index 13cc2f8ae9..47c3208823 100644 --- a/doc/source/kubernetes.test.test_v1_certificate_signing_request_list.rst +++ b/doc/source/kubernetes.test.test_v1_certificate_signing_request_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_certificate\_signing\_request\_list module .. automodule:: kubernetes.test.test_v1_certificate_signing_request_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_certificate_signing_request_spec.rst b/doc/source/kubernetes.test.test_v1_certificate_signing_request_spec.rst index 0b5979c5b9..d9d5ebf942 100644 --- a/doc/source/kubernetes.test.test_v1_certificate_signing_request_spec.rst +++ b/doc/source/kubernetes.test.test_v1_certificate_signing_request_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_certificate\_signing\_request\_spec module .. automodule:: kubernetes.test.test_v1_certificate_signing_request_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_certificate_signing_request_status.rst b/doc/source/kubernetes.test.test_v1_certificate_signing_request_status.rst index e2326d3393..bc441978e2 100644 --- a/doc/source/kubernetes.test.test_v1_certificate_signing_request_status.rst +++ b/doc/source/kubernetes.test.test_v1_certificate_signing_request_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_certificate\_signing\_request\_status module .. automodule:: kubernetes.test.test_v1_certificate_signing_request_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cinder_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_cinder_persistent_volume_source.rst index 92e7d6cbbe..d01581403c 100644 --- a/doc/source/kubernetes.test.test_v1_cinder_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_cinder_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cinder\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_cinder_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cinder_volume_source.rst b/doc/source/kubernetes.test.test_v1_cinder_volume_source.rst index edb8989a02..e43017fb59 100644 --- a/doc/source/kubernetes.test.test_v1_cinder_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_cinder_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cinder\_volume\_source module .. automodule:: kubernetes.test.test_v1_cinder_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_client_ip_config.rst b/doc/source/kubernetes.test.test_v1_client_ip_config.rst index 3bbbe4f3c7..6c7cdfccf1 100644 --- a/doc/source/kubernetes.test.test_v1_client_ip_config.rst +++ b/doc/source/kubernetes.test.test_v1_client_ip_config.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_client\_ip\_config module .. automodule:: kubernetes.test.test_v1_client_ip_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cluster_role.rst b/doc/source/kubernetes.test.test_v1_cluster_role.rst index 05d9f7c11e..8e120a6723 100644 --- a/doc/source/kubernetes.test.test_v1_cluster_role.rst +++ b/doc/source/kubernetes.test.test_v1_cluster_role.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cluster\_role module .. automodule:: kubernetes.test.test_v1_cluster_role :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cluster_role_binding.rst b/doc/source/kubernetes.test.test_v1_cluster_role_binding.rst index 2787bb42be..f9c24d4b8d 100644 --- a/doc/source/kubernetes.test.test_v1_cluster_role_binding.rst +++ b/doc/source/kubernetes.test.test_v1_cluster_role_binding.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cluster\_role\_binding module .. automodule:: kubernetes.test.test_v1_cluster_role_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cluster_role_binding_list.rst b/doc/source/kubernetes.test.test_v1_cluster_role_binding_list.rst index 311f51194a..fe37862a06 100644 --- a/doc/source/kubernetes.test.test_v1_cluster_role_binding_list.rst +++ b/doc/source/kubernetes.test.test_v1_cluster_role_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cluster\_role\_binding\_list module .. automodule:: kubernetes.test.test_v1_cluster_role_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cluster_role_list.rst b/doc/source/kubernetes.test.test_v1_cluster_role_list.rst index 5a012dd1b6..be2d6bda5a 100644 --- a/doc/source/kubernetes.test.test_v1_cluster_role_list.rst +++ b/doc/source/kubernetes.test.test_v1_cluster_role_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cluster\_role\_list module .. automodule:: kubernetes.test.test_v1_cluster_role_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cluster_trust_bundle_projection.rst b/doc/source/kubernetes.test.test_v1_cluster_trust_bundle_projection.rst index 7ea7daacbc..5499cc6784 100644 --- a/doc/source/kubernetes.test.test_v1_cluster_trust_bundle_projection.rst +++ b/doc/source/kubernetes.test.test_v1_cluster_trust_bundle_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cluster\_trust\_bundle\_projection module .. automodule:: kubernetes.test.test_v1_cluster_trust_bundle_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_component_condition.rst b/doc/source/kubernetes.test.test_v1_component_condition.rst index d0dab40de9..19f8f0c912 100644 --- a/doc/source/kubernetes.test.test_v1_component_condition.rst +++ b/doc/source/kubernetes.test.test_v1_component_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_component\_condition module .. automodule:: kubernetes.test.test_v1_component_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_component_status.rst b/doc/source/kubernetes.test.test_v1_component_status.rst index 7eaf4ac23a..6a3924907a 100644 --- a/doc/source/kubernetes.test.test_v1_component_status.rst +++ b/doc/source/kubernetes.test.test_v1_component_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_component\_status module .. automodule:: kubernetes.test.test_v1_component_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_component_status_list.rst b/doc/source/kubernetes.test.test_v1_component_status_list.rst index d081c42237..45e8159680 100644 --- a/doc/source/kubernetes.test.test_v1_component_status_list.rst +++ b/doc/source/kubernetes.test.test_v1_component_status_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_component\_status\_list module .. automodule:: kubernetes.test.test_v1_component_status_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_condition.rst b/doc/source/kubernetes.test.test_v1_condition.rst index be3d9956fc..c0110ae44c 100644 --- a/doc/source/kubernetes.test.test_v1_condition.rst +++ b/doc/source/kubernetes.test.test_v1_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_condition module .. automodule:: kubernetes.test.test_v1_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map.rst b/doc/source/kubernetes.test.test_v1_config_map.rst index 5daa0d88d1..d98b0068cf 100644 --- a/doc/source/kubernetes.test.test_v1_config_map.rst +++ b/doc/source/kubernetes.test.test_v1_config_map.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map module .. automodule:: kubernetes.test.test_v1_config_map :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_env_source.rst b/doc/source/kubernetes.test.test_v1_config_map_env_source.rst index f9cd6d3766..5549609ff8 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_env_source.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_env_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_env\_source module .. automodule:: kubernetes.test.test_v1_config_map_env_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_key_selector.rst b/doc/source/kubernetes.test.test_v1_config_map_key_selector.rst index 4e2c28efe3..09223379d6 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_key_selector.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_key_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_key\_selector module .. automodule:: kubernetes.test.test_v1_config_map_key_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_list.rst b/doc/source/kubernetes.test.test_v1_config_map_list.rst index ed84181335..664733cc1f 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_list.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_list module .. automodule:: kubernetes.test.test_v1_config_map_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_node_config_source.rst b/doc/source/kubernetes.test.test_v1_config_map_node_config_source.rst index ba7f19a879..000b0c6f81 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_node_config_source.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_node_config_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_node\_config\_source module .. automodule:: kubernetes.test.test_v1_config_map_node_config_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_projection.rst b/doc/source/kubernetes.test.test_v1_config_map_projection.rst index 4046f98074..983b623fc9 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_projection.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_projection module .. automodule:: kubernetes.test.test_v1_config_map_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_config_map_volume_source.rst b/doc/source/kubernetes.test.test_v1_config_map_volume_source.rst index 7aa3cbc207..3afe06d311 100644 --- a/doc/source/kubernetes.test.test_v1_config_map_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_config_map_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_config\_map\_volume\_source module .. automodule:: kubernetes.test.test_v1_config_map_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container.rst b/doc/source/kubernetes.test.test_v1_container.rst index 33ad23e35f..980e94380b 100644 --- a/doc/source/kubernetes.test.test_v1_container.rst +++ b/doc/source/kubernetes.test.test_v1_container.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container module .. automodule:: kubernetes.test.test_v1_container :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_extended_resource_request.rst b/doc/source/kubernetes.test.test_v1_container_extended_resource_request.rst new file mode 100644 index 0000000000..953ce835ab --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_container_extended_resource_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_container\_extended\_resource\_request module +======================================================================= + +.. automodule:: kubernetes.test.test_v1_container_extended_resource_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_image.rst b/doc/source/kubernetes.test.test_v1_container_image.rst index b4fabb228a..51fd145082 100644 --- a/doc/source/kubernetes.test.test_v1_container_image.rst +++ b/doc/source/kubernetes.test.test_v1_container_image.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_image module .. automodule:: kubernetes.test.test_v1_container_image :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_port.rst b/doc/source/kubernetes.test.test_v1_container_port.rst index c538a3d74e..7a227d8677 100644 --- a/doc/source/kubernetes.test.test_v1_container_port.rst +++ b/doc/source/kubernetes.test.test_v1_container_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_port module .. automodule:: kubernetes.test.test_v1_container_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_resize_policy.rst b/doc/source/kubernetes.test.test_v1_container_resize_policy.rst index fcca62a565..e896743b4e 100644 --- a/doc/source/kubernetes.test.test_v1_container_resize_policy.rst +++ b/doc/source/kubernetes.test.test_v1_container_resize_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_resize\_policy module .. automodule:: kubernetes.test.test_v1_container_resize_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.client.api.authentication_v1beta1_api.rst b/doc/source/kubernetes.test.test_v1_container_restart_rule.rst similarity index 72% rename from doc/source/kubernetes.client.api.authentication_v1beta1_api.rst rename to doc/source/kubernetes.test.test_v1_container_restart_rule.rst index 120457cb0f..8ad56bda3e 100644 --- a/doc/source/kubernetes.client.api.authentication_v1beta1_api.rst +++ b/doc/source/kubernetes.test.test_v1_container_restart_rule.rst @@ -1,7 +1,7 @@ -kubernetes.client.api.authentication\_v1beta1\_api module +kubernetes.test.test\_v1\_container\_restart\_rule module ========================================================= -.. automodule:: kubernetes.client.api.authentication_v1beta1_api +.. automodule:: kubernetes.test.test_v1_container_restart_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_restart_rule_on_exit_codes.rst b/doc/source/kubernetes.test.test_v1_container_restart_rule_on_exit_codes.rst new file mode 100644 index 0000000000..2510a8c391 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_container_restart_rule_on_exit_codes.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_container\_restart\_rule\_on\_exit\_codes module +========================================================================== + +.. automodule:: kubernetes.test.test_v1_container_restart_rule_on_exit_codes + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_state.rst b/doc/source/kubernetes.test.test_v1_container_state.rst index 9be7d2ddd1..fabd324c6f 100644 --- a/doc/source/kubernetes.test.test_v1_container_state.rst +++ b/doc/source/kubernetes.test.test_v1_container_state.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_state module .. automodule:: kubernetes.test.test_v1_container_state :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_state_running.rst b/doc/source/kubernetes.test.test_v1_container_state_running.rst index 0b8b8dc09a..8496cd02b6 100644 --- a/doc/source/kubernetes.test.test_v1_container_state_running.rst +++ b/doc/source/kubernetes.test.test_v1_container_state_running.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_state\_running module .. automodule:: kubernetes.test.test_v1_container_state_running :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_state_terminated.rst b/doc/source/kubernetes.test.test_v1_container_state_terminated.rst index ab642924e9..7a01d1cedf 100644 --- a/doc/source/kubernetes.test.test_v1_container_state_terminated.rst +++ b/doc/source/kubernetes.test.test_v1_container_state_terminated.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_state\_terminated module .. automodule:: kubernetes.test.test_v1_container_state_terminated :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_state_waiting.rst b/doc/source/kubernetes.test.test_v1_container_state_waiting.rst index fa2ae13055..c9d1fc9f9b 100644 --- a/doc/source/kubernetes.test.test_v1_container_state_waiting.rst +++ b/doc/source/kubernetes.test.test_v1_container_state_waiting.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_state\_waiting module .. automodule:: kubernetes.test.test_v1_container_state_waiting :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_status.rst b/doc/source/kubernetes.test.test_v1_container_status.rst index c3e9576aa0..3c00308d6a 100644 --- a/doc/source/kubernetes.test.test_v1_container_status.rst +++ b/doc/source/kubernetes.test.test_v1_container_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_status module .. automodule:: kubernetes.test.test_v1_container_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_container_user.rst b/doc/source/kubernetes.test.test_v1_container_user.rst index 3659d3746b..1dcedb71ce 100644 --- a/doc/source/kubernetes.test.test_v1_container_user.rst +++ b/doc/source/kubernetes.test.test_v1_container_user.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_container\_user module .. automodule:: kubernetes.test.test_v1_container_user :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_controller_revision.rst b/doc/source/kubernetes.test.test_v1_controller_revision.rst index 76b8f9958c..6c61c4d2c6 100644 --- a/doc/source/kubernetes.test.test_v1_controller_revision.rst +++ b/doc/source/kubernetes.test.test_v1_controller_revision.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_controller\_revision module .. automodule:: kubernetes.test.test_v1_controller_revision :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_controller_revision_list.rst b/doc/source/kubernetes.test.test_v1_controller_revision_list.rst index 2d4c8b34e0..fd9675b86e 100644 --- a/doc/source/kubernetes.test.test_v1_controller_revision_list.rst +++ b/doc/source/kubernetes.test.test_v1_controller_revision_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_controller\_revision\_list module .. automodule:: kubernetes.test.test_v1_controller_revision_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_counter.rst b/doc/source/kubernetes.test.test_v1_counter.rst new file mode 100644 index 0000000000..613665dc8e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_counter.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_counter module +======================================== + +.. automodule:: kubernetes.test.test_v1_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_counter_set.rst b/doc/source/kubernetes.test.test_v1_counter_set.rst new file mode 100644 index 0000000000..5a57f232b2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_counter\_set module +============================================= + +.. automodule:: kubernetes.test.test_v1_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cron_job.rst b/doc/source/kubernetes.test.test_v1_cron_job.rst index aac0f1d694..584a447df8 100644 --- a/doc/source/kubernetes.test.test_v1_cron_job.rst +++ b/doc/source/kubernetes.test.test_v1_cron_job.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cron\_job module .. automodule:: kubernetes.test.test_v1_cron_job :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cron_job_list.rst b/doc/source/kubernetes.test.test_v1_cron_job_list.rst index de528868bb..ca99c41256 100644 --- a/doc/source/kubernetes.test.test_v1_cron_job_list.rst +++ b/doc/source/kubernetes.test.test_v1_cron_job_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cron\_job\_list module .. automodule:: kubernetes.test.test_v1_cron_job_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cron_job_spec.rst b/doc/source/kubernetes.test.test_v1_cron_job_spec.rst index da78a30f67..e95dc7242b 100644 --- a/doc/source/kubernetes.test.test_v1_cron_job_spec.rst +++ b/doc/source/kubernetes.test.test_v1_cron_job_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cron\_job\_spec module .. automodule:: kubernetes.test.test_v1_cron_job_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cron_job_status.rst b/doc/source/kubernetes.test.test_v1_cron_job_status.rst index 8b88c5f0aa..dabd9b38a0 100644 --- a/doc/source/kubernetes.test.test_v1_cron_job_status.rst +++ b/doc/source/kubernetes.test.test_v1_cron_job_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cron\_job\_status module .. automodule:: kubernetes.test.test_v1_cron_job_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_cross_version_object_reference.rst b/doc/source/kubernetes.test.test_v1_cross_version_object_reference.rst index 014d1571d9..222a5fc254 100644 --- a/doc/source/kubernetes.test.test_v1_cross_version_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_cross_version_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_cross\_version\_object\_reference module .. automodule:: kubernetes.test.test_v1_cross_version_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_driver.rst b/doc/source/kubernetes.test.test_v1_csi_driver.rst index 01089ed1f2..01aaf0551b 100644 --- a/doc/source/kubernetes.test.test_v1_csi_driver.rst +++ b/doc/source/kubernetes.test.test_v1_csi_driver.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_driver module .. automodule:: kubernetes.test.test_v1_csi_driver :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_driver_list.rst b/doc/source/kubernetes.test.test_v1_csi_driver_list.rst index a4549d3d43..db30d67969 100644 --- a/doc/source/kubernetes.test.test_v1_csi_driver_list.rst +++ b/doc/source/kubernetes.test.test_v1_csi_driver_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_driver\_list module .. automodule:: kubernetes.test.test_v1_csi_driver_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_driver_spec.rst b/doc/source/kubernetes.test.test_v1_csi_driver_spec.rst index 4babd16cb5..aa11760de1 100644 --- a/doc/source/kubernetes.test.test_v1_csi_driver_spec.rst +++ b/doc/source/kubernetes.test.test_v1_csi_driver_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_driver\_spec module .. automodule:: kubernetes.test.test_v1_csi_driver_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_node.rst b/doc/source/kubernetes.test.test_v1_csi_node.rst index 6e83ad2a06..ba93d1d70b 100644 --- a/doc/source/kubernetes.test.test_v1_csi_node.rst +++ b/doc/source/kubernetes.test.test_v1_csi_node.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_node module .. automodule:: kubernetes.test.test_v1_csi_node :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_node_driver.rst b/doc/source/kubernetes.test.test_v1_csi_node_driver.rst index 3438241902..14043815d3 100644 --- a/doc/source/kubernetes.test.test_v1_csi_node_driver.rst +++ b/doc/source/kubernetes.test.test_v1_csi_node_driver.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_node\_driver module .. automodule:: kubernetes.test.test_v1_csi_node_driver :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_node_list.rst b/doc/source/kubernetes.test.test_v1_csi_node_list.rst index 8eaf71ccca..f3b17fa567 100644 --- a/doc/source/kubernetes.test.test_v1_csi_node_list.rst +++ b/doc/source/kubernetes.test.test_v1_csi_node_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_node\_list module .. automodule:: kubernetes.test.test_v1_csi_node_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_node_spec.rst b/doc/source/kubernetes.test.test_v1_csi_node_spec.rst index ea2ff920c2..98d1bcb07f 100644 --- a/doc/source/kubernetes.test.test_v1_csi_node_spec.rst +++ b/doc/source/kubernetes.test.test_v1_csi_node_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_node\_spec module .. automodule:: kubernetes.test.test_v1_csi_node_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_csi_persistent_volume_source.rst index a5dc54d1cf..4c51432bab 100644 --- a/doc/source/kubernetes.test.test_v1_csi_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_csi_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_csi_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_storage_capacity.rst b/doc/source/kubernetes.test.test_v1_csi_storage_capacity.rst index 9df603e9fd..29afe372a1 100644 --- a/doc/source/kubernetes.test.test_v1_csi_storage_capacity.rst +++ b/doc/source/kubernetes.test.test_v1_csi_storage_capacity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_storage\_capacity module .. automodule:: kubernetes.test.test_v1_csi_storage_capacity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_storage_capacity_list.rst b/doc/source/kubernetes.test.test_v1_csi_storage_capacity_list.rst index 41f6b100de..86cbce2233 100644 --- a/doc/source/kubernetes.test.test_v1_csi_storage_capacity_list.rst +++ b/doc/source/kubernetes.test.test_v1_csi_storage_capacity_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_storage\_capacity\_list module .. automodule:: kubernetes.test.test_v1_csi_storage_capacity_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_csi_volume_source.rst b/doc/source/kubernetes.test.test_v1_csi_volume_source.rst index 62c51a000a..65497308af 100644 --- a/doc/source/kubernetes.test.test_v1_csi_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_csi_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_csi\_volume\_source module .. automodule:: kubernetes.test.test_v1_csi_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_column_definition.rst b/doc/source/kubernetes.test.test_v1_custom_resource_column_definition.rst index 5c05d822c9..a9cf8324d2 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_column_definition.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_column_definition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_column\_definition module .. automodule:: kubernetes.test.test_v1_custom_resource_column_definition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_conversion.rst b/doc/source/kubernetes.test.test_v1_custom_resource_conversion.rst index d7ee6a89ee..4770a4e715 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_conversion.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_conversion.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_conversion module .. automodule:: kubernetes.test.test_v1_custom_resource_conversion :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition.rst index 8ee8e9ddbd..79767196ee 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition module .. automodule:: kubernetes.test.test_v1_custom_resource_definition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_condition.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_condition.rst index 1f8a377f67..d1d799df00 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_condition.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_condition module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_list.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_list.rst index 02807bed05..75ef7c0cda 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_list.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_list module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_names.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_names.rst index 268f4fb7a9..ec6bf827ff 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_names.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_names.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_names module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_names :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_spec.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_spec.rst index a081105473..a89d3537a4 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_spec.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_spec module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_status.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_status.rst index 9b3cbfec47..0c4f657e45 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_status.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_status module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_definition_version.rst b/doc/source/kubernetes.test.test_v1_custom_resource_definition_version.rst index d7a7910d08..38f81fce63 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_definition_version.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_definition_version.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_definition\_version module .. automodule:: kubernetes.test.test_v1_custom_resource_definition_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_subresource_scale.rst b/doc/source/kubernetes.test.test_v1_custom_resource_subresource_scale.rst index c8d57c3cc3..12ccae7cb2 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_subresource_scale.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_subresource_scale.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_subresource\_scale module .. automodule:: kubernetes.test.test_v1_custom_resource_subresource_scale :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_subresources.rst b/doc/source/kubernetes.test.test_v1_custom_resource_subresources.rst index f807a1ebe9..fc73eee858 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_subresources.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_subresources.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_subresources module .. automodule:: kubernetes.test.test_v1_custom_resource_subresources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_custom_resource_validation.rst b/doc/source/kubernetes.test.test_v1_custom_resource_validation.rst index 8d4b229afa..5105167e1c 100644 --- a/doc/source/kubernetes.test.test_v1_custom_resource_validation.rst +++ b/doc/source/kubernetes.test.test_v1_custom_resource_validation.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_custom\_resource\_validation module .. automodule:: kubernetes.test.test_v1_custom_resource_validation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_endpoint.rst b/doc/source/kubernetes.test.test_v1_daemon_endpoint.rst index fa621e2d81..bd7c28df10 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_endpoint.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_endpoint.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_endpoint module .. automodule:: kubernetes.test.test_v1_daemon_endpoint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set.rst b/doc/source/kubernetes.test.test_v1_daemon_set.rst index c0e087f1e2..e13c364ddc 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set module .. automodule:: kubernetes.test.test_v1_daemon_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set_condition.rst b/doc/source/kubernetes.test.test_v1_daemon_set_condition.rst index 3537ba86a6..37fbe93b76 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set_condition.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set\_condition module .. automodule:: kubernetes.test.test_v1_daemon_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set_list.rst b/doc/source/kubernetes.test.test_v1_daemon_set_list.rst index be2415fc93..0354d2f229 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set_list.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set\_list module .. automodule:: kubernetes.test.test_v1_daemon_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set_spec.rst b/doc/source/kubernetes.test.test_v1_daemon_set_spec.rst index acddd8ad28..4d32256031 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set_spec.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set\_spec module .. automodule:: kubernetes.test.test_v1_daemon_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set_status.rst b/doc/source/kubernetes.test.test_v1_daemon_set_status.rst index 3cc9959d5d..227a50265e 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set_status.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set\_status module .. automodule:: kubernetes.test.test_v1_daemon_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_daemon_set_update_strategy.rst b/doc/source/kubernetes.test.test_v1_daemon_set_update_strategy.rst index f18ee72133..053bb5ff68 100644 --- a/doc/source/kubernetes.test.test_v1_daemon_set_update_strategy.rst +++ b/doc/source/kubernetes.test.test_v1_daemon_set_update_strategy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_daemon\_set\_update\_strategy module .. automodule:: kubernetes.test.test_v1_daemon_set_update_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_delete_options.rst b/doc/source/kubernetes.test.test_v1_delete_options.rst index a3e28ffd18..fe1c1f0b01 100644 --- a/doc/source/kubernetes.test.test_v1_delete_options.rst +++ b/doc/source/kubernetes.test.test_v1_delete_options.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_delete\_options module .. automodule:: kubernetes.test.test_v1_delete_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment.rst b/doc/source/kubernetes.test.test_v1_deployment.rst index 05bbb2ea82..8bb38ce0d8 100644 --- a/doc/source/kubernetes.test.test_v1_deployment.rst +++ b/doc/source/kubernetes.test.test_v1_deployment.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment module .. automodule:: kubernetes.test.test_v1_deployment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment_condition.rst b/doc/source/kubernetes.test.test_v1_deployment_condition.rst index 0f1d5e8ce6..9ad9905776 100644 --- a/doc/source/kubernetes.test.test_v1_deployment_condition.rst +++ b/doc/source/kubernetes.test.test_v1_deployment_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment\_condition module .. automodule:: kubernetes.test.test_v1_deployment_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment_list.rst b/doc/source/kubernetes.test.test_v1_deployment_list.rst index de104b649c..1ce2d8156f 100644 --- a/doc/source/kubernetes.test.test_v1_deployment_list.rst +++ b/doc/source/kubernetes.test.test_v1_deployment_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment\_list module .. automodule:: kubernetes.test.test_v1_deployment_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment_spec.rst b/doc/source/kubernetes.test.test_v1_deployment_spec.rst index f487dae2d1..3a811c3323 100644 --- a/doc/source/kubernetes.test.test_v1_deployment_spec.rst +++ b/doc/source/kubernetes.test.test_v1_deployment_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment\_spec module .. automodule:: kubernetes.test.test_v1_deployment_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment_status.rst b/doc/source/kubernetes.test.test_v1_deployment_status.rst index 1bc60a7be7..90d4609d05 100644 --- a/doc/source/kubernetes.test.test_v1_deployment_status.rst +++ b/doc/source/kubernetes.test.test_v1_deployment_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment\_status module .. automodule:: kubernetes.test.test_v1_deployment_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_deployment_strategy.rst b/doc/source/kubernetes.test.test_v1_deployment_strategy.rst index 1d5fa270fe..e4cd8fd614 100644 --- a/doc/source/kubernetes.test.test_v1_deployment_strategy.rst +++ b/doc/source/kubernetes.test.test_v1_deployment_strategy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_deployment\_strategy module .. automodule:: kubernetes.test.test_v1_deployment_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device.rst b/doc/source/kubernetes.test.test_v1_device.rst new file mode 100644 index 0000000000..47bb6dbc0f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device module +======================================= + +.. automodule:: kubernetes.test.test_v1_device + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_allocation_configuration.rst b/doc/source/kubernetes.test.test_v1_device_allocation_configuration.rst new file mode 100644 index 0000000000..b58069e036 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_allocation\_configuration module +================================================================== + +.. automodule:: kubernetes.test.test_v1_device_allocation_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_allocation_result.rst b/doc/source/kubernetes.test.test_v1_device_allocation_result.rst new file mode 100644 index 0000000000..088706043b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_allocation\_result module +=========================================================== + +.. automodule:: kubernetes.test.test_v1_device_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_attribute.rst b/doc/source/kubernetes.test.test_v1_device_attribute.rst new file mode 100644 index 0000000000..919d07a00c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_attribute module +================================================== + +.. automodule:: kubernetes.test.test_v1_device_attribute + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_capacity.rst b/doc/source/kubernetes.test.test_v1_device_capacity.rst new file mode 100644 index 0000000000..5df8bfd942 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_capacity module +================================================= + +.. automodule:: kubernetes.test.test_v1_device_capacity + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_claim.rst b/doc/source/kubernetes.test.test_v1_device_claim.rst new file mode 100644 index 0000000000..4a9aa56b60 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_claim module +============================================== + +.. automodule:: kubernetes.test.test_v1_device_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_claim_configuration.rst b/doc/source/kubernetes.test.test_v1_device_claim_configuration.rst new file mode 100644 index 0000000000..0fafecd12f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_claim\_configuration module +============================================================= + +.. automodule:: kubernetes.test.test_v1_device_claim_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_class.rst b/doc/source/kubernetes.test.test_v1_device_class.rst new file mode 100644 index 0000000000..8d6cc2fd32 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_class module +============================================== + +.. automodule:: kubernetes.test.test_v1_device_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_class_configuration.rst b/doc/source/kubernetes.test.test_v1_device_class_configuration.rst new file mode 100644 index 0000000000..daf1071793 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_class\_configuration module +============================================================= + +.. automodule:: kubernetes.test.test_v1_device_class_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_class_list.rst b/doc/source/kubernetes.test.test_v1_device_class_list.rst new file mode 100644 index 0000000000..84b330e816 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_class\_list module +==================================================== + +.. automodule:: kubernetes.test.test_v1_device_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_class_spec.rst b/doc/source/kubernetes.test.test_v1_device_class_spec.rst new file mode 100644 index 0000000000..567ea1064a --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_class\_spec module +==================================================== + +.. automodule:: kubernetes.test.test_v1_device_class_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_constraint.rst b/doc/source/kubernetes.test.test_v1_device_constraint.rst new file mode 100644 index 0000000000..cdca02303f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_constraint module +=================================================== + +.. automodule:: kubernetes.test.test_v1_device_constraint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_counter_consumption.rst b/doc/source/kubernetes.test.test_v1_device_counter_consumption.rst new file mode 100644 index 0000000000..6135503cc3 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_counter\_consumption module +============================================================= + +.. automodule:: kubernetes.test.test_v1_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim.rst b/doc/source/kubernetes.test.test_v1_device_request.rst similarity index 50% rename from doc/source/kubernetes.test.test_v1_resource_claim.rst rename to doc/source/kubernetes.test.test_v1_device_request.rst index 3dab0e3ea5..e560487937 100644 --- a/doc/source/kubernetes.test.test_v1_resource_claim.rst +++ b/doc/source/kubernetes.test.test_v1_device_request.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1\_resource\_claim module +kubernetes.test.test\_v1\_device\_request module ================================================ -.. automodule:: kubernetes.test.test_v1_resource_claim +.. automodule:: kubernetes.test.test_v1_device_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_request_allocation_result.rst b/doc/source/kubernetes.test.test_v1_device_request_allocation_result.rst new file mode 100644 index 0000000000..f60b1cbb38 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_request\_allocation\_result module +==================================================================== + +.. automodule:: kubernetes.test.test_v1_device_request_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_selector.rst b/doc/source/kubernetes.test.test_v1_device_selector.rst new file mode 100644 index 0000000000..b9b9e147c5 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_selector module +================================================= + +.. automodule:: kubernetes.test.test_v1_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_sub_request.rst b/doc/source/kubernetes.test.test_v1_device_sub_request.rst new file mode 100644 index 0000000000..ae8b90bbd4 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_sub\_request module +===================================================== + +.. automodule:: kubernetes.test.test_v1_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_taint.rst b/doc/source/kubernetes.test.test_v1_device_taint.rst new file mode 100644 index 0000000000..39d4a403de --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_taint module +============================================== + +.. automodule:: kubernetes.test.test_v1_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_device_toleration.rst b/doc/source/kubernetes.test.test_v1_device_toleration.rst new file mode 100644 index 0000000000..d84d3b0b57 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_device\_toleration module +=================================================== + +.. automodule:: kubernetes.test.test_v1_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_downward_api_projection.rst b/doc/source/kubernetes.test.test_v1_downward_api_projection.rst index acbab43726..7241a5759d 100644 --- a/doc/source/kubernetes.test.test_v1_downward_api_projection.rst +++ b/doc/source/kubernetes.test.test_v1_downward_api_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_downward\_api\_projection module .. automodule:: kubernetes.test.test_v1_downward_api_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_downward_api_volume_file.rst b/doc/source/kubernetes.test.test_v1_downward_api_volume_file.rst index d05da52aef..a1482f45ce 100644 --- a/doc/source/kubernetes.test.test_v1_downward_api_volume_file.rst +++ b/doc/source/kubernetes.test.test_v1_downward_api_volume_file.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_downward\_api\_volume\_file module .. automodule:: kubernetes.test.test_v1_downward_api_volume_file :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_downward_api_volume_source.rst b/doc/source/kubernetes.test.test_v1_downward_api_volume_source.rst index c65ca701f4..6f5f64a649 100644 --- a/doc/source/kubernetes.test.test_v1_downward_api_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_downward_api_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_downward\_api\_volume\_source module .. automodule:: kubernetes.test.test_v1_downward_api_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_empty_dir_volume_source.rst b/doc/source/kubernetes.test.test_v1_empty_dir_volume_source.rst index afa7e64166..a953c6e506 100644 --- a/doc/source/kubernetes.test.test_v1_empty_dir_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_empty_dir_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_empty\_dir\_volume\_source module .. automodule:: kubernetes.test.test_v1_empty_dir_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint.rst b/doc/source/kubernetes.test.test_v1_endpoint.rst index 31a243f3cb..87f6dc0d3a 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint module .. automodule:: kubernetes.test.test_v1_endpoint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_address.rst b/doc/source/kubernetes.test.test_v1_endpoint_address.rst index ec1abaa751..e7125409f1 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_address.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_address.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_address module .. automodule:: kubernetes.test.test_v1_endpoint_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_conditions.rst b/doc/source/kubernetes.test.test_v1_endpoint_conditions.rst index 9f450f1e73..710bda0ad3 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_conditions.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_conditions.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_conditions module .. automodule:: kubernetes.test.test_v1_endpoint_conditions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_hints.rst b/doc/source/kubernetes.test.test_v1_endpoint_hints.rst index 664a15a47b..11ca754fc0 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_hints.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_hints.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_hints module .. automodule:: kubernetes.test.test_v1_endpoint_hints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_slice.rst b/doc/source/kubernetes.test.test_v1_endpoint_slice.rst index 8acbc2db66..513c6a432c 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_slice.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_slice.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_slice module .. automodule:: kubernetes.test.test_v1_endpoint_slice :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_slice_list.rst b/doc/source/kubernetes.test.test_v1_endpoint_slice_list.rst index 1f9e8e5543..5fc24dfec0 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_slice_list.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_slice_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_slice\_list module .. automodule:: kubernetes.test.test_v1_endpoint_slice_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoint_subset.rst b/doc/source/kubernetes.test.test_v1_endpoint_subset.rst index 70df054d3a..00cf49c90a 100644 --- a/doc/source/kubernetes.test.test_v1_endpoint_subset.rst +++ b/doc/source/kubernetes.test.test_v1_endpoint_subset.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoint\_subset module .. automodule:: kubernetes.test.test_v1_endpoint_subset :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoints.rst b/doc/source/kubernetes.test.test_v1_endpoints.rst index be2ae755e4..799666c291 100644 --- a/doc/source/kubernetes.test.test_v1_endpoints.rst +++ b/doc/source/kubernetes.test.test_v1_endpoints.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoints module .. automodule:: kubernetes.test.test_v1_endpoints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_endpoints_list.rst b/doc/source/kubernetes.test.test_v1_endpoints_list.rst index 7239990ecc..616d31bae6 100644 --- a/doc/source/kubernetes.test.test_v1_endpoints_list.rst +++ b/doc/source/kubernetes.test.test_v1_endpoints_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_endpoints\_list module .. automodule:: kubernetes.test.test_v1_endpoints_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_env_from_source.rst b/doc/source/kubernetes.test.test_v1_env_from_source.rst index 3e284d37e0..90f0dbf202 100644 --- a/doc/source/kubernetes.test.test_v1_env_from_source.rst +++ b/doc/source/kubernetes.test.test_v1_env_from_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_env\_from\_source module .. automodule:: kubernetes.test.test_v1_env_from_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_env_var.rst b/doc/source/kubernetes.test.test_v1_env_var.rst index d2ca78d7f7..8d3899dfff 100644 --- a/doc/source/kubernetes.test.test_v1_env_var.rst +++ b/doc/source/kubernetes.test.test_v1_env_var.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_env\_var module .. automodule:: kubernetes.test.test_v1_env_var :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_env_var_source.rst b/doc/source/kubernetes.test.test_v1_env_var_source.rst index eb446d9db5..d5eb90c985 100644 --- a/doc/source/kubernetes.test.test_v1_env_var_source.rst +++ b/doc/source/kubernetes.test.test_v1_env_var_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_env\_var\_source module .. automodule:: kubernetes.test.test_v1_env_var_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ephemeral_container.rst b/doc/source/kubernetes.test.test_v1_ephemeral_container.rst index 2011982fcc..2c33e55d1c 100644 --- a/doc/source/kubernetes.test.test_v1_ephemeral_container.rst +++ b/doc/source/kubernetes.test.test_v1_ephemeral_container.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ephemeral\_container module .. automodule:: kubernetes.test.test_v1_ephemeral_container :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ephemeral_volume_source.rst b/doc/source/kubernetes.test.test_v1_ephemeral_volume_source.rst index 923dc9a5a1..d4736bad3d 100644 --- a/doc/source/kubernetes.test.test_v1_ephemeral_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_ephemeral_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ephemeral\_volume\_source module .. automodule:: kubernetes.test.test_v1_ephemeral_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_event_source.rst b/doc/source/kubernetes.test.test_v1_event_source.rst index 3288fd4a87..804ed2aa16 100644 --- a/doc/source/kubernetes.test.test_v1_event_source.rst +++ b/doc/source/kubernetes.test.test_v1_event_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_event\_source module .. automodule:: kubernetes.test.test_v1_event_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_eviction.rst b/doc/source/kubernetes.test.test_v1_eviction.rst index 71ca27e7b0..e9d2446de8 100644 --- a/doc/source/kubernetes.test.test_v1_eviction.rst +++ b/doc/source/kubernetes.test.test_v1_eviction.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_eviction module .. automodule:: kubernetes.test.test_v1_eviction :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_exact_device_request.rst b/doc/source/kubernetes.test.test_v1_exact_device_request.rst new file mode 100644 index 0000000000..cc4d52fdb2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_exact\_device\_request module +======================================================= + +.. automodule:: kubernetes.test.test_v1_exact_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_exec_action.rst b/doc/source/kubernetes.test.test_v1_exec_action.rst index 330c106e7e..a2aa1864a0 100644 --- a/doc/source/kubernetes.test.test_v1_exec_action.rst +++ b/doc/source/kubernetes.test.test_v1_exec_action.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_exec\_action module .. automodule:: kubernetes.test.test_v1_exec_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_exempt_priority_level_configuration.rst b/doc/source/kubernetes.test.test_v1_exempt_priority_level_configuration.rst index f6bae010a0..6fb92f7e4e 100644 --- a/doc/source/kubernetes.test.test_v1_exempt_priority_level_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_exempt_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_exempt\_priority\_level\_configuration module .. automodule:: kubernetes.test.test_v1_exempt_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_expression_warning.rst b/doc/source/kubernetes.test.test_v1_expression_warning.rst index a2fec7cc3d..2c1e87af60 100644 --- a/doc/source/kubernetes.test.test_v1_expression_warning.rst +++ b/doc/source/kubernetes.test.test_v1_expression_warning.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_expression\_warning module .. automodule:: kubernetes.test.test_v1_expression_warning :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_external_documentation.rst b/doc/source/kubernetes.test.test_v1_external_documentation.rst index afbb1dcaa7..698729b263 100644 --- a/doc/source/kubernetes.test.test_v1_external_documentation.rst +++ b/doc/source/kubernetes.test.test_v1_external_documentation.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_external\_documentation module .. automodule:: kubernetes.test.test_v1_external_documentation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_fc_volume_source.rst b/doc/source/kubernetes.test.test_v1_fc_volume_source.rst index c8570c101d..296d747dd7 100644 --- a/doc/source/kubernetes.test.test_v1_fc_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_fc_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_fc\_volume\_source module .. automodule:: kubernetes.test.test_v1_fc_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst b/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst index 333d5f1139..3fcd7fb627 100644 --- a/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst +++ b/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_field\_selector\_attributes module .. automodule:: kubernetes.test.test_v1_field_selector_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst b/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst index 89ec613506..509ce5e906 100644 --- a/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_field\_selector\_requirement module .. automodule:: kubernetes.test.test_v1_field_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_file_key_selector.rst b/doc/source/kubernetes.test.test_v1_file_key_selector.rst new file mode 100644 index 0000000000..b80773105b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_file_key_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_file\_key\_selector module +==================================================== + +.. automodule:: kubernetes.test.test_v1_file_key_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flex_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_flex_persistent_volume_source.rst index 43fd8ab74d..c5c96bcfd0 100644 --- a/doc/source/kubernetes.test.test_v1_flex_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_flex_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flex\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_flex_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flex_volume_source.rst b/doc/source/kubernetes.test.test_v1_flex_volume_source.rst index f7449ae72d..e8dbb438f0 100644 --- a/doc/source/kubernetes.test.test_v1_flex_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_flex_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flex\_volume\_source module .. automodule:: kubernetes.test.test_v1_flex_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flocker_volume_source.rst b/doc/source/kubernetes.test.test_v1_flocker_volume_source.rst index 6f88363b58..5895872a8a 100644 --- a/doc/source/kubernetes.test.test_v1_flocker_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_flocker_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flocker\_volume\_source module .. automodule:: kubernetes.test.test_v1_flocker_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_distinguisher_method.rst b/doc/source/kubernetes.test.test_v1_flow_distinguisher_method.rst index 18c5b691df..b8145160aa 100644 --- a/doc/source/kubernetes.test.test_v1_flow_distinguisher_method.rst +++ b/doc/source/kubernetes.test.test_v1_flow_distinguisher_method.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_distinguisher\_method module .. automodule:: kubernetes.test.test_v1_flow_distinguisher_method :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_schema.rst b/doc/source/kubernetes.test.test_v1_flow_schema.rst index cdd8765861..3a2d825c8b 100644 --- a/doc/source/kubernetes.test.test_v1_flow_schema.rst +++ b/doc/source/kubernetes.test.test_v1_flow_schema.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_schema module .. automodule:: kubernetes.test.test_v1_flow_schema :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_schema_condition.rst b/doc/source/kubernetes.test.test_v1_flow_schema_condition.rst index 70bfc205d0..276686f5f6 100644 --- a/doc/source/kubernetes.test.test_v1_flow_schema_condition.rst +++ b/doc/source/kubernetes.test.test_v1_flow_schema_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_schema\_condition module .. automodule:: kubernetes.test.test_v1_flow_schema_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_schema_list.rst b/doc/source/kubernetes.test.test_v1_flow_schema_list.rst index 1c96e92baa..81de5d7238 100644 --- a/doc/source/kubernetes.test.test_v1_flow_schema_list.rst +++ b/doc/source/kubernetes.test.test_v1_flow_schema_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_schema\_list module .. automodule:: kubernetes.test.test_v1_flow_schema_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_schema_spec.rst b/doc/source/kubernetes.test.test_v1_flow_schema_spec.rst index c4be0beb49..a5619b2403 100644 --- a/doc/source/kubernetes.test.test_v1_flow_schema_spec.rst +++ b/doc/source/kubernetes.test.test_v1_flow_schema_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_schema\_spec module .. automodule:: kubernetes.test.test_v1_flow_schema_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_flow_schema_status.rst b/doc/source/kubernetes.test.test_v1_flow_schema_status.rst index f1c2f40c7c..7f99f1d01b 100644 --- a/doc/source/kubernetes.test.test_v1_flow_schema_status.rst +++ b/doc/source/kubernetes.test.test_v1_flow_schema_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_flow\_schema\_status module .. automodule:: kubernetes.test.test_v1_flow_schema_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_for_node.rst b/doc/source/kubernetes.test.test_v1_for_node.rst new file mode 100644 index 0000000000..f290312072 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_for_node.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_for\_node module +========================================== + +.. automodule:: kubernetes.test.test_v1_for_node + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_for_zone.rst b/doc/source/kubernetes.test.test_v1_for_zone.rst index 5ab767527e..f5fb99fe27 100644 --- a/doc/source/kubernetes.test.test_v1_for_zone.rst +++ b/doc/source/kubernetes.test.test_v1_for_zone.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_for\_zone module .. automodule:: kubernetes.test.test_v1_for_zone :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_gce_persistent_disk_volume_source.rst b/doc/source/kubernetes.test.test_v1_gce_persistent_disk_volume_source.rst index ac692c6164..d42534eeda 100644 --- a/doc/source/kubernetes.test.test_v1_gce_persistent_disk_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_gce_persistent_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_gce\_persistent\_disk\_volume\_source module .. automodule:: kubernetes.test.test_v1_gce_persistent_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_git_repo_volume_source.rst b/doc/source/kubernetes.test.test_v1_git_repo_volume_source.rst index 4c0805ab0e..e09e62671e 100644 --- a/doc/source/kubernetes.test.test_v1_git_repo_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_git_repo_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_git\_repo\_volume\_source module .. automodule:: kubernetes.test.test_v1_git_repo_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_glusterfs_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_glusterfs_persistent_volume_source.rst index 4517924f66..da3c446a48 100644 --- a/doc/source/kubernetes.test.test_v1_glusterfs_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_glusterfs_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_glusterfs\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_glusterfs_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_glusterfs_volume_source.rst b/doc/source/kubernetes.test.test_v1_glusterfs_volume_source.rst index 9e69551890..39c545e42d 100644 --- a/doc/source/kubernetes.test.test_v1_glusterfs_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_glusterfs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_glusterfs\_volume\_source module .. automodule:: kubernetes.test.test_v1_glusterfs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_group_resource.rst b/doc/source/kubernetes.test.test_v1_group_resource.rst new file mode 100644 index 0000000000..698cf266ac --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_group_resource.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_group\_resource module +================================================ + +.. automodule:: kubernetes.test.test_v1_group_resource + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_group_subject.rst b/doc/source/kubernetes.test.test_v1_group_subject.rst index db8124a6aa..eb26e9b26f 100644 --- a/doc/source/kubernetes.test.test_v1_group_subject.rst +++ b/doc/source/kubernetes.test.test_v1_group_subject.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_group\_subject module .. automodule:: kubernetes.test.test_v1_group_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_group_version_for_discovery.rst b/doc/source/kubernetes.test.test_v1_group_version_for_discovery.rst index 6517d1ec92..b2c6f05439 100644 --- a/doc/source/kubernetes.test.test_v1_group_version_for_discovery.rst +++ b/doc/source/kubernetes.test.test_v1_group_version_for_discovery.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_group\_version\_for\_discovery module .. automodule:: kubernetes.test.test_v1_group_version_for_discovery :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_grpc_action.rst b/doc/source/kubernetes.test.test_v1_grpc_action.rst index d480c2a5e2..7004de5903 100644 --- a/doc/source/kubernetes.test.test_v1_grpc_action.rst +++ b/doc/source/kubernetes.test.test_v1_grpc_action.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_grpc\_action module .. automodule:: kubernetes.test.test_v1_grpc_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler.rst b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler.rst index 0bf92bc2e6..4911b491b0 100644 --- a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler.rst +++ b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_horizontal\_pod\_autoscaler module .. automodule:: kubernetes.test.test_v1_horizontal_pod_autoscaler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_list.rst index ae7263d02a..c5984f54a3 100644 --- a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_list.rst +++ b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_horizontal\_pod\_autoscaler\_list module .. automodule:: kubernetes.test.test_v1_horizontal_pod_autoscaler_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_spec.rst index c30ce98a7a..a99b9c58a5 100644 --- a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_spec.rst +++ b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_horizontal\_pod\_autoscaler\_spec module .. automodule:: kubernetes.test.test_v1_horizontal_pod_autoscaler_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_status.rst index aec99d73aa..854ccbadaf 100644 --- a/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_status.rst +++ b/doc/source/kubernetes.test.test_v1_horizontal_pod_autoscaler_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_horizontal\_pod\_autoscaler\_status module .. automodule:: kubernetes.test.test_v1_horizontal_pod_autoscaler_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_host_alias.rst b/doc/source/kubernetes.test.test_v1_host_alias.rst index 5527e0f534..78b3658f9b 100644 --- a/doc/source/kubernetes.test.test_v1_host_alias.rst +++ b/doc/source/kubernetes.test.test_v1_host_alias.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_host\_alias module .. automodule:: kubernetes.test.test_v1_host_alias :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_host_ip.rst b/doc/source/kubernetes.test.test_v1_host_ip.rst index b1cfc5b3c9..3c0dea4f40 100644 --- a/doc/source/kubernetes.test.test_v1_host_ip.rst +++ b/doc/source/kubernetes.test.test_v1_host_ip.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_host\_ip module .. automodule:: kubernetes.test.test_v1_host_ip :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_host_path_volume_source.rst b/doc/source/kubernetes.test.test_v1_host_path_volume_source.rst index 220fbb7a92..cc0596f87d 100644 --- a/doc/source/kubernetes.test.test_v1_host_path_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_host_path_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_host\_path\_volume\_source module .. automodule:: kubernetes.test.test_v1_host_path_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_http_get_action.rst b/doc/source/kubernetes.test.test_v1_http_get_action.rst index 98371e0412..71ff48fa38 100644 --- a/doc/source/kubernetes.test.test_v1_http_get_action.rst +++ b/doc/source/kubernetes.test.test_v1_http_get_action.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_http\_get\_action module .. automodule:: kubernetes.test.test_v1_http_get_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_http_header.rst b/doc/source/kubernetes.test.test_v1_http_header.rst index 5cebc1a79a..12bbf27080 100644 --- a/doc/source/kubernetes.test.test_v1_http_header.rst +++ b/doc/source/kubernetes.test.test_v1_http_header.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_http\_header module .. automodule:: kubernetes.test.test_v1_http_header :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_http_ingress_path.rst b/doc/source/kubernetes.test.test_v1_http_ingress_path.rst index d92d05bf36..5eb38145bb 100644 --- a/doc/source/kubernetes.test.test_v1_http_ingress_path.rst +++ b/doc/source/kubernetes.test.test_v1_http_ingress_path.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_http\_ingress\_path module .. automodule:: kubernetes.test.test_v1_http_ingress_path :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_http_ingress_rule_value.rst b/doc/source/kubernetes.test.test_v1_http_ingress_rule_value.rst index 1c856d7b88..2e2a3db60b 100644 --- a/doc/source/kubernetes.test.test_v1_http_ingress_rule_value.rst +++ b/doc/source/kubernetes.test.test_v1_http_ingress_rule_value.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_http\_ingress\_rule\_value module .. automodule:: kubernetes.test.test_v1_http_ingress_rule_value :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_image_volume_source.rst b/doc/source/kubernetes.test.test_v1_image_volume_source.rst index 928f464352..6a496f72cc 100644 --- a/doc/source/kubernetes.test.test_v1_image_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_image_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_image\_volume\_source module .. automodule:: kubernetes.test.test_v1_image_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress.rst b/doc/source/kubernetes.test.test_v1_ingress.rst index 6310884cb3..0d6c622aa7 100644 --- a/doc/source/kubernetes.test.test_v1_ingress.rst +++ b/doc/source/kubernetes.test.test_v1_ingress.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress module .. automodule:: kubernetes.test.test_v1_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_backend.rst b/doc/source/kubernetes.test.test_v1_ingress_backend.rst index ca6f0cbe92..664e60794f 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_backend.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_backend.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_backend module .. automodule:: kubernetes.test.test_v1_ingress_backend :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_class.rst b/doc/source/kubernetes.test.test_v1_ingress_class.rst index b77bb8a849..fc1931caae 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_class.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_class module .. automodule:: kubernetes.test.test_v1_ingress_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_class_list.rst b/doc/source/kubernetes.test.test_v1_ingress_class_list.rst index df4f33b8d3..acdbbd838d 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_class_list.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_class\_list module .. automodule:: kubernetes.test.test_v1_ingress_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_class_parameters_reference.rst b/doc/source/kubernetes.test.test_v1_ingress_class_parameters_reference.rst index c63890d918..7b8e8b4a6e 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_class_parameters_reference.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_class_parameters_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_class\_parameters\_reference module .. automodule:: kubernetes.test.test_v1_ingress_class_parameters_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_class_spec.rst b/doc/source/kubernetes.test.test_v1_ingress_class_spec.rst index 5caefb7d86..837ff48f9c 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_class_spec.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_class_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_class\_spec module .. automodule:: kubernetes.test.test_v1_ingress_class_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_list.rst b/doc/source/kubernetes.test.test_v1_ingress_list.rst index 936e9b87c5..1bf131f369 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_list.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_list module .. automodule:: kubernetes.test.test_v1_ingress_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_load_balancer_ingress.rst b/doc/source/kubernetes.test.test_v1_ingress_load_balancer_ingress.rst index c683e4e975..6d1693af10 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_load_balancer_ingress.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_load_balancer_ingress.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_load\_balancer\_ingress module .. automodule:: kubernetes.test.test_v1_ingress_load_balancer_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_load_balancer_status.rst b/doc/source/kubernetes.test.test_v1_ingress_load_balancer_status.rst index 89cf060578..6e39342b06 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_load_balancer_status.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_load_balancer_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_load\_balancer\_status module .. automodule:: kubernetes.test.test_v1_ingress_load_balancer_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_port_status.rst b/doc/source/kubernetes.test.test_v1_ingress_port_status.rst index 8417b2104e..d980ec6268 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_port_status.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_port_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_port\_status module .. automodule:: kubernetes.test.test_v1_ingress_port_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_rule.rst b/doc/source/kubernetes.test.test_v1_ingress_rule.rst index 18ef0042e9..78bbb72029 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_rule.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_rule module .. automodule:: kubernetes.test.test_v1_ingress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_service_backend.rst b/doc/source/kubernetes.test.test_v1_ingress_service_backend.rst index 4ec4904e99..69aad6e0ab 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_service_backend.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_service_backend.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_service\_backend module .. automodule:: kubernetes.test.test_v1_ingress_service_backend :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_spec.rst b/doc/source/kubernetes.test.test_v1_ingress_spec.rst index 00b2a59064..79d6e23f6a 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_spec.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_spec module .. automodule:: kubernetes.test.test_v1_ingress_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_status.rst b/doc/source/kubernetes.test.test_v1_ingress_status.rst index a391cd23db..b1545891de 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_status.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_status module .. automodule:: kubernetes.test.test_v1_ingress_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ingress_tls.rst b/doc/source/kubernetes.test.test_v1_ingress_tls.rst index 260ec63afc..dc21f8be8b 100644 --- a/doc/source/kubernetes.test.test_v1_ingress_tls.rst +++ b/doc/source/kubernetes.test.test_v1_ingress_tls.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ingress\_tls module .. automodule:: kubernetes.test.test_v1_ingress_tls :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ip_address.rst b/doc/source/kubernetes.test.test_v1_ip_address.rst new file mode 100644 index 0000000000..3e148824ba --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_ip\_address module +============================================ + +.. automodule:: kubernetes.test.test_v1_ip_address + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ip_address_list.rst b/doc/source/kubernetes.test.test_v1_ip_address_list.rst new file mode 100644 index 0000000000..f52c2b4e6a --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_ip\_address\_list module +================================================== + +.. automodule:: kubernetes.test.test_v1_ip_address_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ip_address_spec.rst b/doc/source/kubernetes.test.test_v1_ip_address_spec.rst new file mode 100644 index 0000000000..17e8f185d3 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_ip\_address\_spec module +================================================== + +.. automodule:: kubernetes.test.test_v1_ip_address_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_ip_block.rst b/doc/source/kubernetes.test.test_v1_ip_block.rst index a228b7fa30..3a7c815065 100644 --- a/doc/source/kubernetes.test.test_v1_ip_block.rst +++ b/doc/source/kubernetes.test.test_v1_ip_block.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_ip\_block module .. automodule:: kubernetes.test.test_v1_ip_block :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_iscsi_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_iscsi_persistent_volume_source.rst index 74a367f953..efc36b388f 100644 --- a/doc/source/kubernetes.test.test_v1_iscsi_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_iscsi_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_iscsi\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_iscsi_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_iscsi_volume_source.rst b/doc/source/kubernetes.test.test_v1_iscsi_volume_source.rst index 73a5f5ab44..25ebf98c30 100644 --- a/doc/source/kubernetes.test.test_v1_iscsi_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_iscsi_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_iscsi\_volume\_source module .. automodule:: kubernetes.test.test_v1_iscsi_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job.rst b/doc/source/kubernetes.test.test_v1_job.rst index 1ae6fa5ad8..c6f0f70dbb 100644 --- a/doc/source/kubernetes.test.test_v1_job.rst +++ b/doc/source/kubernetes.test.test_v1_job.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job module .. automodule:: kubernetes.test.test_v1_job :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job_condition.rst b/doc/source/kubernetes.test.test_v1_job_condition.rst index 06dd06a3bd..7854e85230 100644 --- a/doc/source/kubernetes.test.test_v1_job_condition.rst +++ b/doc/source/kubernetes.test.test_v1_job_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job\_condition module .. automodule:: kubernetes.test.test_v1_job_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job_list.rst b/doc/source/kubernetes.test.test_v1_job_list.rst index 59301a948c..66d1f6ae98 100644 --- a/doc/source/kubernetes.test.test_v1_job_list.rst +++ b/doc/source/kubernetes.test.test_v1_job_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job\_list module .. automodule:: kubernetes.test.test_v1_job_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job_spec.rst b/doc/source/kubernetes.test.test_v1_job_spec.rst index 249b3ec1a5..7c73909478 100644 --- a/doc/source/kubernetes.test.test_v1_job_spec.rst +++ b/doc/source/kubernetes.test.test_v1_job_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job\_spec module .. automodule:: kubernetes.test.test_v1_job_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job_status.rst b/doc/source/kubernetes.test.test_v1_job_status.rst index f35fc460be..e03b35be9e 100644 --- a/doc/source/kubernetes.test.test_v1_job_status.rst +++ b/doc/source/kubernetes.test.test_v1_job_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job\_status module .. automodule:: kubernetes.test.test_v1_job_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_job_template_spec.rst b/doc/source/kubernetes.test.test_v1_job_template_spec.rst index 2024eb06a4..a38ae753cd 100644 --- a/doc/source/kubernetes.test.test_v1_job_template_spec.rst +++ b/doc/source/kubernetes.test.test_v1_job_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_job\_template\_spec module .. automodule:: kubernetes.test.test_v1_job_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_json_schema_props.rst b/doc/source/kubernetes.test.test_v1_json_schema_props.rst index aeee1cbe6e..79e09d7762 100644 --- a/doc/source/kubernetes.test.test_v1_json_schema_props.rst +++ b/doc/source/kubernetes.test.test_v1_json_schema_props.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_json\_schema\_props module .. automodule:: kubernetes.test.test_v1_json_schema_props :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_key_to_path.rst b/doc/source/kubernetes.test.test_v1_key_to_path.rst index c05d9fe4f0..e313c8d205 100644 --- a/doc/source/kubernetes.test.test_v1_key_to_path.rst +++ b/doc/source/kubernetes.test.test_v1_key_to_path.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_key\_to\_path module .. automodule:: kubernetes.test.test_v1_key_to_path :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_label_selector.rst b/doc/source/kubernetes.test.test_v1_label_selector.rst index 94613d34d6..572229ce7f 100644 --- a/doc/source/kubernetes.test.test_v1_label_selector.rst +++ b/doc/source/kubernetes.test.test_v1_label_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_label\_selector module .. automodule:: kubernetes.test.test_v1_label_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst b/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst index 9ef5884e5a..4203192d4b 100644 --- a/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst +++ b/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_label\_selector\_attributes module .. automodule:: kubernetes.test.test_v1_label_selector_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_label_selector_requirement.rst b/doc/source/kubernetes.test.test_v1_label_selector_requirement.rst index 880bae9704..64b4f83503 100644 --- a/doc/source/kubernetes.test.test_v1_label_selector_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_label_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_label\_selector\_requirement module .. automodule:: kubernetes.test.test_v1_label_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_lease.rst b/doc/source/kubernetes.test.test_v1_lease.rst index c30e65bc1d..c83c539a21 100644 --- a/doc/source/kubernetes.test.test_v1_lease.rst +++ b/doc/source/kubernetes.test.test_v1_lease.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_lease module .. automodule:: kubernetes.test.test_v1_lease :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_lease_list.rst b/doc/source/kubernetes.test.test_v1_lease_list.rst index 4a5d39dee0..a2e2b463df 100644 --- a/doc/source/kubernetes.test.test_v1_lease_list.rst +++ b/doc/source/kubernetes.test.test_v1_lease_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_lease\_list module .. automodule:: kubernetes.test.test_v1_lease_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_lease_spec.rst b/doc/source/kubernetes.test.test_v1_lease_spec.rst index f78c40199f..d2f9350d6e 100644 --- a/doc/source/kubernetes.test.test_v1_lease_spec.rst +++ b/doc/source/kubernetes.test.test_v1_lease_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_lease\_spec module .. automodule:: kubernetes.test.test_v1_lease_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_lifecycle.rst b/doc/source/kubernetes.test.test_v1_lifecycle.rst index 742c49bf6c..5844329996 100644 --- a/doc/source/kubernetes.test.test_v1_lifecycle.rst +++ b/doc/source/kubernetes.test.test_v1_lifecycle.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_lifecycle module .. automodule:: kubernetes.test.test_v1_lifecycle :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_lifecycle_handler.rst b/doc/source/kubernetes.test.test_v1_lifecycle_handler.rst index 123a26e463..9281f1f1cc 100644 --- a/doc/source/kubernetes.test.test_v1_lifecycle_handler.rst +++ b/doc/source/kubernetes.test.test_v1_lifecycle_handler.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_lifecycle\_handler module .. automodule:: kubernetes.test.test_v1_lifecycle_handler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limit_range.rst b/doc/source/kubernetes.test.test_v1_limit_range.rst index bd277ed94d..3c6fdafbee 100644 --- a/doc/source/kubernetes.test.test_v1_limit_range.rst +++ b/doc/source/kubernetes.test.test_v1_limit_range.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limit\_range module .. automodule:: kubernetes.test.test_v1_limit_range :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limit_range_item.rst b/doc/source/kubernetes.test.test_v1_limit_range_item.rst index 65e52783b7..d074d4c5d7 100644 --- a/doc/source/kubernetes.test.test_v1_limit_range_item.rst +++ b/doc/source/kubernetes.test.test_v1_limit_range_item.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limit\_range\_item module .. automodule:: kubernetes.test.test_v1_limit_range_item :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limit_range_list.rst b/doc/source/kubernetes.test.test_v1_limit_range_list.rst index c5f19e3333..3a3a7a90df 100644 --- a/doc/source/kubernetes.test.test_v1_limit_range_list.rst +++ b/doc/source/kubernetes.test.test_v1_limit_range_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limit\_range\_list module .. automodule:: kubernetes.test.test_v1_limit_range_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limit_range_spec.rst b/doc/source/kubernetes.test.test_v1_limit_range_spec.rst index 321b3d3cae..9daf52b743 100644 --- a/doc/source/kubernetes.test.test_v1_limit_range_spec.rst +++ b/doc/source/kubernetes.test.test_v1_limit_range_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limit\_range\_spec module .. automodule:: kubernetes.test.test_v1_limit_range_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limit_response.rst b/doc/source/kubernetes.test.test_v1_limit_response.rst index bb235bc6d7..175a965d75 100644 --- a/doc/source/kubernetes.test.test_v1_limit_response.rst +++ b/doc/source/kubernetes.test.test_v1_limit_response.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limit\_response module .. automodule:: kubernetes.test.test_v1_limit_response :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_limited_priority_level_configuration.rst b/doc/source/kubernetes.test.test_v1_limited_priority_level_configuration.rst index 63adea59db..d9b7df5139 100644 --- a/doc/source/kubernetes.test.test_v1_limited_priority_level_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_limited_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_limited\_priority\_level\_configuration module .. automodule:: kubernetes.test.test_v1_limited_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_linux_container_user.rst b/doc/source/kubernetes.test.test_v1_linux_container_user.rst index e457e70ff3..0b4dfe8844 100644 --- a/doc/source/kubernetes.test.test_v1_linux_container_user.rst +++ b/doc/source/kubernetes.test.test_v1_linux_container_user.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_linux\_container\_user module .. automodule:: kubernetes.test.test_v1_linux_container_user :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_list_meta.rst b/doc/source/kubernetes.test.test_v1_list_meta.rst index aa67bb6227..da956407f8 100644 --- a/doc/source/kubernetes.test.test_v1_list_meta.rst +++ b/doc/source/kubernetes.test.test_v1_list_meta.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_list\_meta module .. automodule:: kubernetes.test.test_v1_list_meta :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_load_balancer_ingress.rst b/doc/source/kubernetes.test.test_v1_load_balancer_ingress.rst index af82a75981..32dd516017 100644 --- a/doc/source/kubernetes.test.test_v1_load_balancer_ingress.rst +++ b/doc/source/kubernetes.test.test_v1_load_balancer_ingress.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_load\_balancer\_ingress module .. automodule:: kubernetes.test.test_v1_load_balancer_ingress :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_load_balancer_status.rst b/doc/source/kubernetes.test.test_v1_load_balancer_status.rst index 14e75a8c05..c8ae090bea 100644 --- a/doc/source/kubernetes.test.test_v1_load_balancer_status.rst +++ b/doc/source/kubernetes.test.test_v1_load_balancer_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_load\_balancer\_status module .. automodule:: kubernetes.test.test_v1_load_balancer_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_local_object_reference.rst b/doc/source/kubernetes.test.test_v1_local_object_reference.rst index 496f659afc..1fd946808d 100644 --- a/doc/source/kubernetes.test.test_v1_local_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_local_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_local\_object\_reference module .. automodule:: kubernetes.test.test_v1_local_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_local_subject_access_review.rst b/doc/source/kubernetes.test.test_v1_local_subject_access_review.rst index 174f63089c..7341b2a55b 100644 --- a/doc/source/kubernetes.test.test_v1_local_subject_access_review.rst +++ b/doc/source/kubernetes.test.test_v1_local_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_local\_subject\_access\_review module .. automodule:: kubernetes.test.test_v1_local_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_local_volume_source.rst b/doc/source/kubernetes.test.test_v1_local_volume_source.rst index a32cbb4b89..10c3ddbda8 100644 --- a/doc/source/kubernetes.test.test_v1_local_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_local_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_local\_volume\_source module .. automodule:: kubernetes.test.test_v1_local_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_managed_fields_entry.rst b/doc/source/kubernetes.test.test_v1_managed_fields_entry.rst index f5d9831e17..4863327ecd 100644 --- a/doc/source/kubernetes.test.test_v1_managed_fields_entry.rst +++ b/doc/source/kubernetes.test.test_v1_managed_fields_entry.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_managed\_fields\_entry module .. automodule:: kubernetes.test.test_v1_managed_fields_entry :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_match_condition.rst b/doc/source/kubernetes.test.test_v1_match_condition.rst index 09197b5714..98880c2d38 100644 --- a/doc/source/kubernetes.test.test_v1_match_condition.rst +++ b/doc/source/kubernetes.test.test_v1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_match\_condition module .. automodule:: kubernetes.test.test_v1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_match_resources.rst b/doc/source/kubernetes.test.test_v1_match_resources.rst index 31b6843f6e..db4a099798 100644 --- a/doc/source/kubernetes.test.test_v1_match_resources.rst +++ b/doc/source/kubernetes.test.test_v1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_match\_resources module .. automodule:: kubernetes.test.test_v1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_modify_volume_status.rst b/doc/source/kubernetes.test.test_v1_modify_volume_status.rst index 56d5ff30af..06b14ecaa1 100644 --- a/doc/source/kubernetes.test.test_v1_modify_volume_status.rst +++ b/doc/source/kubernetes.test.test_v1_modify_volume_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_modify\_volume\_status module .. automodule:: kubernetes.test.test_v1_modify_volume_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_mutating_webhook.rst b/doc/source/kubernetes.test.test_v1_mutating_webhook.rst index 87a591f6b4..0d54c206af 100644 --- a/doc/source/kubernetes.test.test_v1_mutating_webhook.rst +++ b/doc/source/kubernetes.test.test_v1_mutating_webhook.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_mutating\_webhook module .. automodule:: kubernetes.test.test_v1_mutating_webhook :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration.rst b/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration.rst index 5e946a9cb0..def700c71b 100644 --- a/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_mutating\_webhook\_configuration module .. automodule:: kubernetes.test.test_v1_mutating_webhook_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration_list.rst b/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration_list.rst index 0793069c82..08770a8771 100644 --- a/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration_list.rst +++ b/doc/source/kubernetes.test.test_v1_mutating_webhook_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_mutating\_webhook\_configuration\_list module .. automodule:: kubernetes.test.test_v1_mutating_webhook_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_named_rule_with_operations.rst b/doc/source/kubernetes.test.test_v1_named_rule_with_operations.rst index 85c99caf2b..8d4f58f5f8 100644 --- a/doc/source/kubernetes.test.test_v1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.test.test_v1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_named\_rule\_with\_operations module .. automodule:: kubernetes.test.test_v1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_namespace.rst b/doc/source/kubernetes.test.test_v1_namespace.rst index fa61a9dca7..d37f67d93d 100644 --- a/doc/source/kubernetes.test.test_v1_namespace.rst +++ b/doc/source/kubernetes.test.test_v1_namespace.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_namespace module .. automodule:: kubernetes.test.test_v1_namespace :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_namespace_condition.rst b/doc/source/kubernetes.test.test_v1_namespace_condition.rst index dd09aab00b..fc1a70a802 100644 --- a/doc/source/kubernetes.test.test_v1_namespace_condition.rst +++ b/doc/source/kubernetes.test.test_v1_namespace_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_namespace\_condition module .. automodule:: kubernetes.test.test_v1_namespace_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_namespace_list.rst b/doc/source/kubernetes.test.test_v1_namespace_list.rst index bfc8e74faa..160cf031f4 100644 --- a/doc/source/kubernetes.test.test_v1_namespace_list.rst +++ b/doc/source/kubernetes.test.test_v1_namespace_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_namespace\_list module .. automodule:: kubernetes.test.test_v1_namespace_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_namespace_spec.rst b/doc/source/kubernetes.test.test_v1_namespace_spec.rst index d7fd6d66e2..bbdbae602a 100644 --- a/doc/source/kubernetes.test.test_v1_namespace_spec.rst +++ b/doc/source/kubernetes.test.test_v1_namespace_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_namespace\_spec module .. automodule:: kubernetes.test.test_v1_namespace_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_namespace_status.rst b/doc/source/kubernetes.test.test_v1_namespace_status.rst index b7dc506170..d6f5c68dd2 100644 --- a/doc/source/kubernetes.test.test_v1_namespace_status.rst +++ b/doc/source/kubernetes.test.test_v1_namespace_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_namespace\_status module .. automodule:: kubernetes.test.test_v1_namespace_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_device_data.rst b/doc/source/kubernetes.test.test_v1_network_device_data.rst new file mode 100644 index 0000000000..a2d6ef0a0b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_network\_device\_data module +====================================================== + +.. automodule:: kubernetes.test.test_v1_network_device_data + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy.rst b/doc/source/kubernetes.test.test_v1_network_policy.rst index e778280c37..d2e3c62f22 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy module .. automodule:: kubernetes.test.test_v1_network_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_egress_rule.rst b/doc/source/kubernetes.test.test_v1_network_policy_egress_rule.rst index 21eff42e34..992788deb1 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_egress_rule.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_egress_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_egress\_rule module .. automodule:: kubernetes.test.test_v1_network_policy_egress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_ingress_rule.rst b/doc/source/kubernetes.test.test_v1_network_policy_ingress_rule.rst index 479e14724a..9ba1c01911 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_ingress_rule.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_ingress_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_ingress\_rule module .. automodule:: kubernetes.test.test_v1_network_policy_ingress_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_list.rst b/doc/source/kubernetes.test.test_v1_network_policy_list.rst index 4c579038e4..01c2d5715a 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_list.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_list module .. automodule:: kubernetes.test.test_v1_network_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_peer.rst b/doc/source/kubernetes.test.test_v1_network_policy_peer.rst index afdc1515e0..edae92b072 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_peer.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_peer.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_peer module .. automodule:: kubernetes.test.test_v1_network_policy_peer :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_port.rst b/doc/source/kubernetes.test.test_v1_network_policy_port.rst index 9d8bc92e19..d320b66c2a 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_port.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_port module .. automodule:: kubernetes.test.test_v1_network_policy_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_network_policy_spec.rst b/doc/source/kubernetes.test.test_v1_network_policy_spec.rst index 22a0390475..54054f373a 100644 --- a/doc/source/kubernetes.test.test_v1_network_policy_spec.rst +++ b/doc/source/kubernetes.test.test_v1_network_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_network\_policy\_spec module .. automodule:: kubernetes.test.test_v1_network_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_nfs_volume_source.rst b/doc/source/kubernetes.test.test_v1_nfs_volume_source.rst index 9da2de9974..734a3d5359 100644 --- a/doc/source/kubernetes.test.test_v1_nfs_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_nfs_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_nfs\_volume\_source module .. automodule:: kubernetes.test.test_v1_nfs_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node.rst b/doc/source/kubernetes.test.test_v1_node.rst index af7329f3b6..d8574593ee 100644 --- a/doc/source/kubernetes.test.test_v1_node.rst +++ b/doc/source/kubernetes.test.test_v1_node.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node module .. automodule:: kubernetes.test.test_v1_node :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_address.rst b/doc/source/kubernetes.test.test_v1_node_address.rst index a1ad2b516a..014e093f58 100644 --- a/doc/source/kubernetes.test.test_v1_node_address.rst +++ b/doc/source/kubernetes.test.test_v1_node_address.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_address module .. automodule:: kubernetes.test.test_v1_node_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_affinity.rst b/doc/source/kubernetes.test.test_v1_node_affinity.rst index 8d8b5e309e..5ad70db6ff 100644 --- a/doc/source/kubernetes.test.test_v1_node_affinity.rst +++ b/doc/source/kubernetes.test.test_v1_node_affinity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_affinity module .. automodule:: kubernetes.test.test_v1_node_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_condition.rst b/doc/source/kubernetes.test.test_v1_node_condition.rst index d7bacdcff7..5763ab3328 100644 --- a/doc/source/kubernetes.test.test_v1_node_condition.rst +++ b/doc/source/kubernetes.test.test_v1_node_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_condition module .. automodule:: kubernetes.test.test_v1_node_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_config_source.rst b/doc/source/kubernetes.test.test_v1_node_config_source.rst index 5f34cd6ea2..f35fe81823 100644 --- a/doc/source/kubernetes.test.test_v1_node_config_source.rst +++ b/doc/source/kubernetes.test.test_v1_node_config_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_config\_source module .. automodule:: kubernetes.test.test_v1_node_config_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_config_status.rst b/doc/source/kubernetes.test.test_v1_node_config_status.rst index 02436b9939..17ab0f7835 100644 --- a/doc/source/kubernetes.test.test_v1_node_config_status.rst +++ b/doc/source/kubernetes.test.test_v1_node_config_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_config\_status module .. automodule:: kubernetes.test.test_v1_node_config_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_daemon_endpoints.rst b/doc/source/kubernetes.test.test_v1_node_daemon_endpoints.rst index 4b52db35e0..ab93816c5a 100644 --- a/doc/source/kubernetes.test.test_v1_node_daemon_endpoints.rst +++ b/doc/source/kubernetes.test.test_v1_node_daemon_endpoints.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_daemon\_endpoints module .. automodule:: kubernetes.test.test_v1_node_daemon_endpoints :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_features.rst b/doc/source/kubernetes.test.test_v1_node_features.rst index 3043dd5f2f..7547b0ad00 100644 --- a/doc/source/kubernetes.test.test_v1_node_features.rst +++ b/doc/source/kubernetes.test.test_v1_node_features.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_features module .. automodule:: kubernetes.test.test_v1_node_features :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_list.rst b/doc/source/kubernetes.test.test_v1_node_list.rst index 316a151e9f..9e413ea7d6 100644 --- a/doc/source/kubernetes.test.test_v1_node_list.rst +++ b/doc/source/kubernetes.test.test_v1_node_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_list module .. automodule:: kubernetes.test.test_v1_node_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_runtime_handler.rst b/doc/source/kubernetes.test.test_v1_node_runtime_handler.rst index 73346b50d5..8680af87a0 100644 --- a/doc/source/kubernetes.test.test_v1_node_runtime_handler.rst +++ b/doc/source/kubernetes.test.test_v1_node_runtime_handler.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_runtime\_handler module .. automodule:: kubernetes.test.test_v1_node_runtime_handler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_runtime_handler_features.rst b/doc/source/kubernetes.test.test_v1_node_runtime_handler_features.rst index 1b42b6cb44..a081b94931 100644 --- a/doc/source/kubernetes.test.test_v1_node_runtime_handler_features.rst +++ b/doc/source/kubernetes.test.test_v1_node_runtime_handler_features.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_runtime\_handler\_features module .. automodule:: kubernetes.test.test_v1_node_runtime_handler_features :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_selector.rst b/doc/source/kubernetes.test.test_v1_node_selector.rst index 22234629d2..1c4b72ca68 100644 --- a/doc/source/kubernetes.test.test_v1_node_selector.rst +++ b/doc/source/kubernetes.test.test_v1_node_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_selector module .. automodule:: kubernetes.test.test_v1_node_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_selector_requirement.rst b/doc/source/kubernetes.test.test_v1_node_selector_requirement.rst index a9e5060813..c900a6640f 100644 --- a/doc/source/kubernetes.test.test_v1_node_selector_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_node_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_selector\_requirement module .. automodule:: kubernetes.test.test_v1_node_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_selector_term.rst b/doc/source/kubernetes.test.test_v1_node_selector_term.rst index 766c2660ca..a850319c06 100644 --- a/doc/source/kubernetes.test.test_v1_node_selector_term.rst +++ b/doc/source/kubernetes.test.test_v1_node_selector_term.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_selector\_term module .. automodule:: kubernetes.test.test_v1_node_selector_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_spec.rst b/doc/source/kubernetes.test.test_v1_node_spec.rst index 1e23b9588b..d55a301fca 100644 --- a/doc/source/kubernetes.test.test_v1_node_spec.rst +++ b/doc/source/kubernetes.test.test_v1_node_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_spec module .. automodule:: kubernetes.test.test_v1_node_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_status.rst b/doc/source/kubernetes.test.test_v1_node_status.rst index 1c84c3905f..7231cc9ed3 100644 --- a/doc/source/kubernetes.test.test_v1_node_status.rst +++ b/doc/source/kubernetes.test.test_v1_node_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_status module .. automodule:: kubernetes.test.test_v1_node_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_swap_status.rst b/doc/source/kubernetes.test.test_v1_node_swap_status.rst new file mode 100644 index 0000000000..34b002a316 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_node_swap_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_node\_swap\_status module +=================================================== + +.. automodule:: kubernetes.test.test_v1_node_swap_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_node_system_info.rst b/doc/source/kubernetes.test.test_v1_node_system_info.rst index 59d743454e..ec35d9380d 100644 --- a/doc/source/kubernetes.test.test_v1_node_system_info.rst +++ b/doc/source/kubernetes.test.test_v1_node_system_info.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_node\_system\_info module .. automodule:: kubernetes.test.test_v1_node_system_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_non_resource_attributes.rst b/doc/source/kubernetes.test.test_v1_non_resource_attributes.rst index 86ad710e3d..d83ee2bf98 100644 --- a/doc/source/kubernetes.test.test_v1_non_resource_attributes.rst +++ b/doc/source/kubernetes.test.test_v1_non_resource_attributes.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_non\_resource\_attributes module .. automodule:: kubernetes.test.test_v1_non_resource_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_non_resource_policy_rule.rst b/doc/source/kubernetes.test.test_v1_non_resource_policy_rule.rst index 22dc2524e1..85bbe43aa5 100644 --- a/doc/source/kubernetes.test.test_v1_non_resource_policy_rule.rst +++ b/doc/source/kubernetes.test.test_v1_non_resource_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_non\_resource\_policy\_rule module .. automodule:: kubernetes.test.test_v1_non_resource_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_non_resource_rule.rst b/doc/source/kubernetes.test.test_v1_non_resource_rule.rst index 0597dcadc8..bc7fe2241a 100644 --- a/doc/source/kubernetes.test.test_v1_non_resource_rule.rst +++ b/doc/source/kubernetes.test.test_v1_non_resource_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_non\_resource\_rule module .. automodule:: kubernetes.test.test_v1_non_resource_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_object_field_selector.rst b/doc/source/kubernetes.test.test_v1_object_field_selector.rst index 113fb20366..88ad76f6c5 100644 --- a/doc/source/kubernetes.test.test_v1_object_field_selector.rst +++ b/doc/source/kubernetes.test.test_v1_object_field_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_object\_field\_selector module .. automodule:: kubernetes.test.test_v1_object_field_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_object_meta.rst b/doc/source/kubernetes.test.test_v1_object_meta.rst index 366ad72ddc..314fd3c968 100644 --- a/doc/source/kubernetes.test.test_v1_object_meta.rst +++ b/doc/source/kubernetes.test.test_v1_object_meta.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_object\_meta module .. automodule:: kubernetes.test.test_v1_object_meta :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_object_reference.rst b/doc/source/kubernetes.test.test_v1_object_reference.rst index 147cb432b5..dc4d5c8002 100644 --- a/doc/source/kubernetes.test.test_v1_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_object\_reference module .. automodule:: kubernetes.test.test_v1_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_opaque_device_configuration.rst b/doc/source/kubernetes.test.test_v1_opaque_device_configuration.rst new file mode 100644 index 0000000000..be4008ad07 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_opaque\_device\_configuration module +============================================================== + +.. automodule:: kubernetes.test.test_v1_opaque_device_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_overhead.rst b/doc/source/kubernetes.test.test_v1_overhead.rst index d9df4e40ec..6920f3cfdf 100644 --- a/doc/source/kubernetes.test.test_v1_overhead.rst +++ b/doc/source/kubernetes.test.test_v1_overhead.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_overhead module .. automodule:: kubernetes.test.test_v1_overhead :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_owner_reference.rst b/doc/source/kubernetes.test.test_v1_owner_reference.rst index 2e0ff6f8ee..a7d4e42e9b 100644 --- a/doc/source/kubernetes.test.test_v1_owner_reference.rst +++ b/doc/source/kubernetes.test.test_v1_owner_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_owner\_reference module .. automodule:: kubernetes.test.test_v1_owner_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_param_kind.rst b/doc/source/kubernetes.test.test_v1_param_kind.rst index ea5bb5668f..8fd670de7f 100644 --- a/doc/source/kubernetes.test.test_v1_param_kind.rst +++ b/doc/source/kubernetes.test.test_v1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_param\_kind module .. automodule:: kubernetes.test.test_v1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_param_ref.rst b/doc/source/kubernetes.test.test_v1_param_ref.rst index c6d9a37c0e..efcec928a3 100644 --- a/doc/source/kubernetes.test.test_v1_param_ref.rst +++ b/doc/source/kubernetes.test.test_v1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_param\_ref module .. automodule:: kubernetes.test.test_v1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_parent_reference.rst b/doc/source/kubernetes.test.test_v1_parent_reference.rst new file mode 100644 index 0000000000..fda7f9b890 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_parent\_reference module +================================================== + +.. automodule:: kubernetes.test.test_v1_parent_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume.rst b/doc/source/kubernetes.test.test_v1_persistent_volume.rst index 1253dc11b1..1de265c4e8 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume module .. automodule:: kubernetes.test.test_v1_persistent_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim.rst index 95bbbf803f..bbb5510537 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_condition.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_condition.rst index 4f68909877..cd5542cd12 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_condition.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_condition module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_list.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_list.rst index 8feb427639..92222a5639 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_list.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_list module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_spec.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_spec.rst index 967d6eeaa1..e7a86237ee 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_spec.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_spec module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_status.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_status.rst index b6f786eaba..daf4dd9fe1 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_status.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_status module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_template.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_template.rst index d338ec08a7..3ae5417bf7 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_template.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_template.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_template module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_volume_source.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_volume_source.rst index 090fb63fe9..ae88d1cf73 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_claim_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_claim_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_claim\_volume\_source module .. automodule:: kubernetes.test.test_v1_persistent_volume_claim_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_list.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_list.rst index d65a1d3c8f..54318180a4 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_list.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_list module .. automodule:: kubernetes.test.test_v1_persistent_volume_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_spec.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_spec.rst index 7e67489a96..9a405d72e7 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_spec.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_spec module .. automodule:: kubernetes.test.test_v1_persistent_volume_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_persistent_volume_status.rst b/doc/source/kubernetes.test.test_v1_persistent_volume_status.rst index cd5848945a..22c8a386ec 100644 --- a/doc/source/kubernetes.test.test_v1_persistent_volume_status.rst +++ b/doc/source/kubernetes.test.test_v1_persistent_volume_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_persistent\_volume\_status module .. automodule:: kubernetes.test.test_v1_persistent_volume_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_photon_persistent_disk_volume_source.rst b/doc/source/kubernetes.test.test_v1_photon_persistent_disk_volume_source.rst index fd57e3a7d4..093ffc5b8b 100644 --- a/doc/source/kubernetes.test.test_v1_photon_persistent_disk_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_photon_persistent_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_photon\_persistent\_disk\_volume\_source module .. automodule:: kubernetes.test.test_v1_photon_persistent_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod.rst b/doc/source/kubernetes.test.test_v1_pod.rst index b5bcfe3bb0..e714f29585 100644 --- a/doc/source/kubernetes.test.test_v1_pod.rst +++ b/doc/source/kubernetes.test.test_v1_pod.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod module .. automodule:: kubernetes.test.test_v1_pod :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_affinity.rst b/doc/source/kubernetes.test.test_v1_pod_affinity.rst index 87d52582e0..e423281ffa 100644 --- a/doc/source/kubernetes.test.test_v1_pod_affinity.rst +++ b/doc/source/kubernetes.test.test_v1_pod_affinity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_affinity module .. automodule:: kubernetes.test.test_v1_pod_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_affinity_term.rst b/doc/source/kubernetes.test.test_v1_pod_affinity_term.rst index 384c2d7700..3250153edb 100644 --- a/doc/source/kubernetes.test.test_v1_pod_affinity_term.rst +++ b/doc/source/kubernetes.test.test_v1_pod_affinity_term.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_affinity\_term module .. automodule:: kubernetes.test.test_v1_pod_affinity_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_anti_affinity.rst b/doc/source/kubernetes.test.test_v1_pod_anti_affinity.rst index 31844aecba..ad7ee6082d 100644 --- a/doc/source/kubernetes.test.test_v1_pod_anti_affinity.rst +++ b/doc/source/kubernetes.test.test_v1_pod_anti_affinity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_anti\_affinity module .. automodule:: kubernetes.test.test_v1_pod_anti_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_certificate_projection.rst b/doc/source/kubernetes.test.test_v1_pod_certificate_projection.rst new file mode 100644 index 0000000000..9f517c0af9 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_pod_certificate_projection.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_pod\_certificate\_projection module +============================================================= + +.. automodule:: kubernetes.test.test_v1_pod_certificate_projection + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_condition.rst b/doc/source/kubernetes.test.test_v1_pod_condition.rst index 05f449e0e4..7d8d060974 100644 --- a/doc/source/kubernetes.test.test_v1_pod_condition.rst +++ b/doc/source/kubernetes.test.test_v1_pod_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_condition module .. automodule:: kubernetes.test.test_v1_pod_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_disruption_budget.rst b/doc/source/kubernetes.test.test_v1_pod_disruption_budget.rst index e4e6fd18e3..0a59e97bab 100644 --- a/doc/source/kubernetes.test.test_v1_pod_disruption_budget.rst +++ b/doc/source/kubernetes.test.test_v1_pod_disruption_budget.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_disruption\_budget module .. automodule:: kubernetes.test.test_v1_pod_disruption_budget :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_list.rst b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_list.rst index de4f96d14e..d71dcce065 100644 --- a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_list.rst +++ b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_disruption\_budget\_list module .. automodule:: kubernetes.test.test_v1_pod_disruption_budget_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_spec.rst b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_spec.rst index f736934eea..aa48374003 100644 --- a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_spec.rst +++ b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_disruption\_budget\_spec module .. automodule:: kubernetes.test.test_v1_pod_disruption_budget_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_status.rst b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_status.rst index ab8d77b272..058cc6150e 100644 --- a/doc/source/kubernetes.test.test_v1_pod_disruption_budget_status.rst +++ b/doc/source/kubernetes.test.test_v1_pod_disruption_budget_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_disruption\_budget\_status module .. automodule:: kubernetes.test.test_v1_pod_disruption_budget_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_dns_config.rst b/doc/source/kubernetes.test.test_v1_pod_dns_config.rst index 260ef0a8f8..6668a15c3d 100644 --- a/doc/source/kubernetes.test.test_v1_pod_dns_config.rst +++ b/doc/source/kubernetes.test.test_v1_pod_dns_config.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_dns\_config module .. automodule:: kubernetes.test.test_v1_pod_dns_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_dns_config_option.rst b/doc/source/kubernetes.test.test_v1_pod_dns_config_option.rst index 67d2ae755a..687c56052d 100644 --- a/doc/source/kubernetes.test.test_v1_pod_dns_config_option.rst +++ b/doc/source/kubernetes.test.test_v1_pod_dns_config_option.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_dns\_config\_option module .. automodule:: kubernetes.test.test_v1_pod_dns_config_option :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_extended_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1_pod_extended_resource_claim_status.rst new file mode 100644 index 0000000000..1539de53d2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_pod_extended_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_pod\_extended\_resource\_claim\_status module +======================================================================= + +.. automodule:: kubernetes.test.test_v1_pod_extended_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_failure_policy.rst b/doc/source/kubernetes.test.test_v1_pod_failure_policy.rst index 4fa0e0bb0c..a734150556 100644 --- a/doc/source/kubernetes.test.test_v1_pod_failure_policy.rst +++ b/doc/source/kubernetes.test.test_v1_pod_failure_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_failure\_policy module .. automodule:: kubernetes.test.test_v1_pod_failure_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst b/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst index 5c0d969167..09dbf059c6 100644 --- a/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_failure\_policy\_on\_exit\_codes\_requirement mod .. automodule:: kubernetes.test.test_v1_pod_failure_policy_on_exit_codes_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst b/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst index 5813888866..d013de7d30 100644 --- a/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst +++ b/doc/source/kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_failure\_policy\_on\_pod\_conditions\_pattern mod .. automodule:: kubernetes.test.test_v1_pod_failure_policy_on_pod_conditions_pattern :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_failure_policy_rule.rst b/doc/source/kubernetes.test.test_v1_pod_failure_policy_rule.rst index 444010149c..48b07e3d47 100644 --- a/doc/source/kubernetes.test.test_v1_pod_failure_policy_rule.rst +++ b/doc/source/kubernetes.test.test_v1_pod_failure_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_failure\_policy\_rule module .. automodule:: kubernetes.test.test_v1_pod_failure_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_ip.rst b/doc/source/kubernetes.test.test_v1_pod_ip.rst index 8a1950ae48..7bd34bb718 100644 --- a/doc/source/kubernetes.test.test_v1_pod_ip.rst +++ b/doc/source/kubernetes.test.test_v1_pod_ip.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_ip module .. automodule:: kubernetes.test.test_v1_pod_ip :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_list.rst b/doc/source/kubernetes.test.test_v1_pod_list.rst index 183291ceb1..01dab70afe 100644 --- a/doc/source/kubernetes.test.test_v1_pod_list.rst +++ b/doc/source/kubernetes.test.test_v1_pod_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_list module .. automodule:: kubernetes.test.test_v1_pod_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_os.rst b/doc/source/kubernetes.test.test_v1_pod_os.rst index 43ec6d8adf..03f75e7eaf 100644 --- a/doc/source/kubernetes.test.test_v1_pod_os.rst +++ b/doc/source/kubernetes.test.test_v1_pod_os.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_os module .. automodule:: kubernetes.test.test_v1_pod_os :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_readiness_gate.rst b/doc/source/kubernetes.test.test_v1_pod_readiness_gate.rst index 706aa211a7..18681c1afd 100644 --- a/doc/source/kubernetes.test.test_v1_pod_readiness_gate.rst +++ b/doc/source/kubernetes.test.test_v1_pod_readiness_gate.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_readiness\_gate module .. automodule:: kubernetes.test.test_v1_pod_readiness_gate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_resource_claim.rst b/doc/source/kubernetes.test.test_v1_pod_resource_claim.rst index 4055e14a35..afe687d273 100644 --- a/doc/source/kubernetes.test.test_v1_pod_resource_claim.rst +++ b/doc/source/kubernetes.test.test_v1_pod_resource_claim.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_resource\_claim module .. automodule:: kubernetes.test.test_v1_pod_resource_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1_pod_resource_claim_status.rst index 45f845ee24..07623ad0f4 100644 --- a/doc/source/kubernetes.test.test_v1_pod_resource_claim_status.rst +++ b/doc/source/kubernetes.test.test_v1_pod_resource_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_resource\_claim\_status module .. automodule:: kubernetes.test.test_v1_pod_resource_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_scheduling_gate.rst b/doc/source/kubernetes.test.test_v1_pod_scheduling_gate.rst index 03d6e53624..d5e6aa4915 100644 --- a/doc/source/kubernetes.test.test_v1_pod_scheduling_gate.rst +++ b/doc/source/kubernetes.test.test_v1_pod_scheduling_gate.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_scheduling\_gate module .. automodule:: kubernetes.test.test_v1_pod_scheduling_gate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_security_context.rst b/doc/source/kubernetes.test.test_v1_pod_security_context.rst index 853a7c994f..eee260983d 100644 --- a/doc/source/kubernetes.test.test_v1_pod_security_context.rst +++ b/doc/source/kubernetes.test.test_v1_pod_security_context.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_security\_context module .. automodule:: kubernetes.test.test_v1_pod_security_context :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_spec.rst b/doc/source/kubernetes.test.test_v1_pod_spec.rst index 0fb6fe8e36..a3050529a4 100644 --- a/doc/source/kubernetes.test.test_v1_pod_spec.rst +++ b/doc/source/kubernetes.test.test_v1_pod_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_spec module .. automodule:: kubernetes.test.test_v1_pod_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_status.rst b/doc/source/kubernetes.test.test_v1_pod_status.rst index a526615cb5..8583291839 100644 --- a/doc/source/kubernetes.test.test_v1_pod_status.rst +++ b/doc/source/kubernetes.test.test_v1_pod_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_status module .. automodule:: kubernetes.test.test_v1_pod_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_template.rst b/doc/source/kubernetes.test.test_v1_pod_template.rst index c668b12ebb..965f2880b2 100644 --- a/doc/source/kubernetes.test.test_v1_pod_template.rst +++ b/doc/source/kubernetes.test.test_v1_pod_template.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_template module .. automodule:: kubernetes.test.test_v1_pod_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_template_list.rst b/doc/source/kubernetes.test.test_v1_pod_template_list.rst index bfdbe0554b..ac87fd35a3 100644 --- a/doc/source/kubernetes.test.test_v1_pod_template_list.rst +++ b/doc/source/kubernetes.test.test_v1_pod_template_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_template\_list module .. automodule:: kubernetes.test.test_v1_pod_template_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_pod_template_spec.rst b/doc/source/kubernetes.test.test_v1_pod_template_spec.rst index 0d10be177c..1dcf4e923b 100644 --- a/doc/source/kubernetes.test.test_v1_pod_template_spec.rst +++ b/doc/source/kubernetes.test.test_v1_pod_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_pod\_template\_spec module .. automodule:: kubernetes.test.test_v1_pod_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_policy_rule.rst b/doc/source/kubernetes.test.test_v1_policy_rule.rst index b3b54688d7..3b6d0e7f37 100644 --- a/doc/source/kubernetes.test.test_v1_policy_rule.rst +++ b/doc/source/kubernetes.test.test_v1_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_policy\_rule module .. automodule:: kubernetes.test.test_v1_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_policy_rules_with_subjects.rst b/doc/source/kubernetes.test.test_v1_policy_rules_with_subjects.rst index c3f4b58b83..3829917cb2 100644 --- a/doc/source/kubernetes.test.test_v1_policy_rules_with_subjects.rst +++ b/doc/source/kubernetes.test.test_v1_policy_rules_with_subjects.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_policy\_rules\_with\_subjects module .. automodule:: kubernetes.test.test_v1_policy_rules_with_subjects :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_port_status.rst b/doc/source/kubernetes.test.test_v1_port_status.rst index 8cc274d79d..fd987dfde8 100644 --- a/doc/source/kubernetes.test.test_v1_port_status.rst +++ b/doc/source/kubernetes.test.test_v1_port_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_port\_status module .. automodule:: kubernetes.test.test_v1_port_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_portworx_volume_source.rst b/doc/source/kubernetes.test.test_v1_portworx_volume_source.rst index 152cf96af2..8fa3c6e37d 100644 --- a/doc/source/kubernetes.test.test_v1_portworx_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_portworx_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_portworx\_volume\_source module .. automodule:: kubernetes.test.test_v1_portworx_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_preconditions.rst b/doc/source/kubernetes.test.test_v1_preconditions.rst index 248e1365d7..5387772102 100644 --- a/doc/source/kubernetes.test.test_v1_preconditions.rst +++ b/doc/source/kubernetes.test.test_v1_preconditions.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_preconditions module .. automodule:: kubernetes.test.test_v1_preconditions :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_preferred_scheduling_term.rst b/doc/source/kubernetes.test.test_v1_preferred_scheduling_term.rst index 252324f62c..9130da308c 100644 --- a/doc/source/kubernetes.test.test_v1_preferred_scheduling_term.rst +++ b/doc/source/kubernetes.test.test_v1_preferred_scheduling_term.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_preferred\_scheduling\_term module .. automodule:: kubernetes.test.test_v1_preferred_scheduling_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_class.rst b/doc/source/kubernetes.test.test_v1_priority_class.rst index b9488638fe..ad8c6e7ccb 100644 --- a/doc/source/kubernetes.test.test_v1_priority_class.rst +++ b/doc/source/kubernetes.test.test_v1_priority_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_class module .. automodule:: kubernetes.test.test_v1_priority_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_class_list.rst b/doc/source/kubernetes.test.test_v1_priority_class_list.rst index 9858a30467..2ea5c53268 100644 --- a/doc/source/kubernetes.test.test_v1_priority_class_list.rst +++ b/doc/source/kubernetes.test.test_v1_priority_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_class\_list module .. automodule:: kubernetes.test.test_v1_priority_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration.rst index ba980f8a8f..b1c1ce6ad4 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration module .. automodule:: kubernetes.test.test_v1_priority_level_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration_condition.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration_condition.rst index 2f998a2fa3..22869108a9 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration_condition.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration\_condition module .. automodule:: kubernetes.test.test_v1_priority_level_configuration_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration_list.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration_list.rst index c498760ac6..bab00ead42 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration_list.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration\_list module .. automodule:: kubernetes.test.test_v1_priority_level_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration_reference.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration_reference.rst index f68980b5a8..7d15c2da3f 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration_reference.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration\_reference module .. automodule:: kubernetes.test.test_v1_priority_level_configuration_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration_spec.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration_spec.rst index ab5af29483..cdb8876c13 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration_spec.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration\_spec module .. automodule:: kubernetes.test.test_v1_priority_level_configuration_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_priority_level_configuration_status.rst b/doc/source/kubernetes.test.test_v1_priority_level_configuration_status.rst index f9d52244d1..060944e426 100644 --- a/doc/source/kubernetes.test.test_v1_priority_level_configuration_status.rst +++ b/doc/source/kubernetes.test.test_v1_priority_level_configuration_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_priority\_level\_configuration\_status module .. automodule:: kubernetes.test.test_v1_priority_level_configuration_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_probe.rst b/doc/source/kubernetes.test.test_v1_probe.rst index ec85d3e169..2ece3276db 100644 --- a/doc/source/kubernetes.test.test_v1_probe.rst +++ b/doc/source/kubernetes.test.test_v1_probe.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_probe module .. automodule:: kubernetes.test.test_v1_probe :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_projected_volume_source.rst b/doc/source/kubernetes.test.test_v1_projected_volume_source.rst index 2e5619eb7a..3e3bf41aa9 100644 --- a/doc/source/kubernetes.test.test_v1_projected_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_projected_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_projected\_volume\_source module .. automodule:: kubernetes.test.test_v1_projected_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_queuing_configuration.rst b/doc/source/kubernetes.test.test_v1_queuing_configuration.rst index 083a9c3058..6d5fdf6eff 100644 --- a/doc/source/kubernetes.test.test_v1_queuing_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_queuing_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_queuing\_configuration module .. automodule:: kubernetes.test.test_v1_queuing_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_quobyte_volume_source.rst b/doc/source/kubernetes.test.test_v1_quobyte_volume_source.rst index ca0e59ebd2..f2027406f2 100644 --- a/doc/source/kubernetes.test.test_v1_quobyte_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_quobyte_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_quobyte\_volume\_source module .. automodule:: kubernetes.test.test_v1_quobyte_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rbd_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_rbd_persistent_volume_source.rst index 6820646842..cfe3a025af 100644 --- a/doc/source/kubernetes.test.test_v1_rbd_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_rbd_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rbd\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_rbd_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rbd_volume_source.rst b/doc/source/kubernetes.test.test_v1_rbd_volume_source.rst index 2aafb79662..25e6663de6 100644 --- a/doc/source/kubernetes.test.test_v1_rbd_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_rbd_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rbd\_volume\_source module .. automodule:: kubernetes.test.test_v1_rbd_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replica_set.rst b/doc/source/kubernetes.test.test_v1_replica_set.rst index 0062a94b8e..3fdc1ccc1e 100644 --- a/doc/source/kubernetes.test.test_v1_replica_set.rst +++ b/doc/source/kubernetes.test.test_v1_replica_set.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replica\_set module .. automodule:: kubernetes.test.test_v1_replica_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replica_set_condition.rst b/doc/source/kubernetes.test.test_v1_replica_set_condition.rst index cd006ba89d..aa8206eeaf 100644 --- a/doc/source/kubernetes.test.test_v1_replica_set_condition.rst +++ b/doc/source/kubernetes.test.test_v1_replica_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replica\_set\_condition module .. automodule:: kubernetes.test.test_v1_replica_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replica_set_list.rst b/doc/source/kubernetes.test.test_v1_replica_set_list.rst index 2b6ee2e792..575050666c 100644 --- a/doc/source/kubernetes.test.test_v1_replica_set_list.rst +++ b/doc/source/kubernetes.test.test_v1_replica_set_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replica\_set\_list module .. automodule:: kubernetes.test.test_v1_replica_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replica_set_spec.rst b/doc/source/kubernetes.test.test_v1_replica_set_spec.rst index 7d8fb5e2da..af5cad2f7e 100644 --- a/doc/source/kubernetes.test.test_v1_replica_set_spec.rst +++ b/doc/source/kubernetes.test.test_v1_replica_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replica\_set\_spec module .. automodule:: kubernetes.test.test_v1_replica_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replica_set_status.rst b/doc/source/kubernetes.test.test_v1_replica_set_status.rst index 795510739b..30ae204ccd 100644 --- a/doc/source/kubernetes.test.test_v1_replica_set_status.rst +++ b/doc/source/kubernetes.test.test_v1_replica_set_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replica\_set\_status module .. automodule:: kubernetes.test.test_v1_replica_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replication_controller.rst b/doc/source/kubernetes.test.test_v1_replication_controller.rst index 31b9ffa6ea..bb3ba7cf58 100644 --- a/doc/source/kubernetes.test.test_v1_replication_controller.rst +++ b/doc/source/kubernetes.test.test_v1_replication_controller.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replication\_controller module .. automodule:: kubernetes.test.test_v1_replication_controller :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replication_controller_condition.rst b/doc/source/kubernetes.test.test_v1_replication_controller_condition.rst index 344c6bb609..7e0e4ca019 100644 --- a/doc/source/kubernetes.test.test_v1_replication_controller_condition.rst +++ b/doc/source/kubernetes.test.test_v1_replication_controller_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replication\_controller\_condition module .. automodule:: kubernetes.test.test_v1_replication_controller_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replication_controller_list.rst b/doc/source/kubernetes.test.test_v1_replication_controller_list.rst index da20c5ffc5..69b609a785 100644 --- a/doc/source/kubernetes.test.test_v1_replication_controller_list.rst +++ b/doc/source/kubernetes.test.test_v1_replication_controller_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replication\_controller\_list module .. automodule:: kubernetes.test.test_v1_replication_controller_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replication_controller_spec.rst b/doc/source/kubernetes.test.test_v1_replication_controller_spec.rst index 2aba16be33..3a27878b3a 100644 --- a/doc/source/kubernetes.test.test_v1_replication_controller_spec.rst +++ b/doc/source/kubernetes.test.test_v1_replication_controller_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replication\_controller\_spec module .. automodule:: kubernetes.test.test_v1_replication_controller_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_replication_controller_status.rst b/doc/source/kubernetes.test.test_v1_replication_controller_status.rst index 1cca6d126f..2f39a4c751 100644 --- a/doc/source/kubernetes.test.test_v1_replication_controller_status.rst +++ b/doc/source/kubernetes.test.test_v1_replication_controller_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_replication\_controller\_status module .. automodule:: kubernetes.test.test_v1_replication_controller_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_attributes.rst b/doc/source/kubernetes.test.test_v1_resource_attributes.rst index 24f1a77cf1..303037afc9 100644 --- a/doc/source/kubernetes.test.test_v1_resource_attributes.rst +++ b/doc/source/kubernetes.test.test_v1_resource_attributes.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_attributes module .. automodule:: kubernetes.test.test_v1_resource_attributes :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_consumer_reference.rst b/doc/source/kubernetes.test.test_v1_resource_claim_consumer_reference.rst new file mode 100644 index 0000000000..0a910c3b26 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_consumer\_reference module +===================================================================== + +.. automodule:: kubernetes.test.test_v1_resource_claim_consumer_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1_resource_claim_list.rst new file mode 100644 index 0000000000..8daa17b3dc --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_list module +====================================================== + +.. automodule:: kubernetes.test.test_v1_resource_claim_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1_resource_claim_spec.rst new file mode 100644 index 0000000000..1974339572 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_spec module +====================================================== + +.. automodule:: kubernetes.test.test_v1_resource_claim_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1_resource_claim_status.rst new file mode 100644 index 0000000000..53a781ac71 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_status module +======================================================== + +.. automodule:: kubernetes.test.test_v1_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1_resource_claim_template.rst new file mode 100644 index 0000000000..24184c1954 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_template module +========================================================== + +.. automodule:: kubernetes.test.test_v1_resource_claim_template + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_template_list.rst b/doc/source/kubernetes.test.test_v1_resource_claim_template_list.rst new file mode 100644 index 0000000000..f38e133f3e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_template\_list module +================================================================ + +.. automodule:: kubernetes.test.test_v1_resource_claim_template_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_claim_template_spec.rst b/doc/source/kubernetes.test.test_v1_resource_claim_template_spec.rst new file mode 100644 index 0000000000..b95142cfae --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_claim\_template\_spec module +================================================================ + +.. automodule:: kubernetes.test.test_v1_resource_claim_template_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_field_selector.rst b/doc/source/kubernetes.test.test_v1_resource_field_selector.rst index 9a37757b62..78e0136ba8 100644 --- a/doc/source/kubernetes.test.test_v1_resource_field_selector.rst +++ b/doc/source/kubernetes.test.test_v1_resource_field_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_field\_selector module .. automodule:: kubernetes.test.test_v1_resource_field_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_health.rst b/doc/source/kubernetes.test.test_v1_resource_health.rst index 093cf979bf..d2d3a0b435 100644 --- a/doc/source/kubernetes.test.test_v1_resource_health.rst +++ b/doc/source/kubernetes.test.test_v1_resource_health.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_health module .. automodule:: kubernetes.test.test_v1_resource_health :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_policy_rule.rst b/doc/source/kubernetes.test.test_v1_resource_policy_rule.rst index 78c882b10b..7d1f1cce78 100644 --- a/doc/source/kubernetes.test.test_v1_resource_policy_rule.rst +++ b/doc/source/kubernetes.test.test_v1_resource_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_policy\_rule module .. automodule:: kubernetes.test.test_v1_resource_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_pool.rst b/doc/source/kubernetes.test.test_v1_resource_pool.rst new file mode 100644 index 0000000000..cf7ff27209 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_pool module +=============================================== + +.. automodule:: kubernetes.test.test_v1_resource_pool + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_quota.rst b/doc/source/kubernetes.test.test_v1_resource_quota.rst index 3acba15119..38b760c5c2 100644 --- a/doc/source/kubernetes.test.test_v1_resource_quota.rst +++ b/doc/source/kubernetes.test.test_v1_resource_quota.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_quota module .. automodule:: kubernetes.test.test_v1_resource_quota :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_quota_list.rst b/doc/source/kubernetes.test.test_v1_resource_quota_list.rst index 082eead382..ad69458b8e 100644 --- a/doc/source/kubernetes.test.test_v1_resource_quota_list.rst +++ b/doc/source/kubernetes.test.test_v1_resource_quota_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_quota\_list module .. automodule:: kubernetes.test.test_v1_resource_quota_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_quota_spec.rst b/doc/source/kubernetes.test.test_v1_resource_quota_spec.rst index 84a0635fcc..4fe3d56aad 100644 --- a/doc/source/kubernetes.test.test_v1_resource_quota_spec.rst +++ b/doc/source/kubernetes.test.test_v1_resource_quota_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_quota\_spec module .. automodule:: kubernetes.test.test_v1_resource_quota_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_quota_status.rst b/doc/source/kubernetes.test.test_v1_resource_quota_status.rst index 72efbf5bec..8d5f0b3d4a 100644 --- a/doc/source/kubernetes.test.test_v1_resource_quota_status.rst +++ b/doc/source/kubernetes.test.test_v1_resource_quota_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_quota\_status module .. automodule:: kubernetes.test.test_v1_resource_quota_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_requirements.rst b/doc/source/kubernetes.test.test_v1_resource_requirements.rst index 89ed75ff40..9a017dc75b 100644 --- a/doc/source/kubernetes.test.test_v1_resource_requirements.rst +++ b/doc/source/kubernetes.test.test_v1_resource_requirements.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_requirements module .. automodule:: kubernetes.test.test_v1_resource_requirements :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_rule.rst b/doc/source/kubernetes.test.test_v1_resource_rule.rst index f28df6017a..a83f9997c0 100644 --- a/doc/source/kubernetes.test.test_v1_resource_rule.rst +++ b/doc/source/kubernetes.test.test_v1_resource_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_rule module .. automodule:: kubernetes.test.test_v1_resource_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_slice.rst b/doc/source/kubernetes.test.test_v1_resource_slice.rst new file mode 100644 index 0000000000..ef8a83a4b3 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_slice module +================================================ + +.. automodule:: kubernetes.test.test_v1_resource_slice + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1_resource_slice_list.rst new file mode 100644 index 0000000000..1d5a8d9d5d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_slice\_list module +====================================================== + +.. automodule:: kubernetes.test.test_v1_resource_slice_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_slice_spec.rst b/doc/source/kubernetes.test.test_v1_resource_slice_spec.rst new file mode 100644 index 0000000000..0453fc2792 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_slice\_spec module +====================================================== + +.. automodule:: kubernetes.test.test_v1_resource_slice_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_resource_status.rst b/doc/source/kubernetes.test.test_v1_resource_status.rst index 4cd0b3d9cb..b045548232 100644 --- a/doc/source/kubernetes.test.test_v1_resource_status.rst +++ b/doc/source/kubernetes.test.test_v1_resource_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_resource\_status module .. automodule:: kubernetes.test.test_v1_resource_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_role.rst b/doc/source/kubernetes.test.test_v1_role.rst index ce68d21176..d4578bcae9 100644 --- a/doc/source/kubernetes.test.test_v1_role.rst +++ b/doc/source/kubernetes.test.test_v1_role.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_role module .. automodule:: kubernetes.test.test_v1_role :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_role_binding.rst b/doc/source/kubernetes.test.test_v1_role_binding.rst index 20b875768b..c2606841f4 100644 --- a/doc/source/kubernetes.test.test_v1_role_binding.rst +++ b/doc/source/kubernetes.test.test_v1_role_binding.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_role\_binding module .. automodule:: kubernetes.test.test_v1_role_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_role_binding_list.rst b/doc/source/kubernetes.test.test_v1_role_binding_list.rst index 14c8886be6..1356c74a17 100644 --- a/doc/source/kubernetes.test.test_v1_role_binding_list.rst +++ b/doc/source/kubernetes.test.test_v1_role_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_role\_binding\_list module .. automodule:: kubernetes.test.test_v1_role_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_role_list.rst b/doc/source/kubernetes.test.test_v1_role_list.rst index 18d9929cfe..d5d12d2fc9 100644 --- a/doc/source/kubernetes.test.test_v1_role_list.rst +++ b/doc/source/kubernetes.test.test_v1_role_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_role\_list module .. automodule:: kubernetes.test.test_v1_role_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_role_ref.rst b/doc/source/kubernetes.test.test_v1_role_ref.rst index 137f932104..cd9cf98b81 100644 --- a/doc/source/kubernetes.test.test_v1_role_ref.rst +++ b/doc/source/kubernetes.test.test_v1_role_ref.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_role\_ref module .. automodule:: kubernetes.test.test_v1_role_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rolling_update_daemon_set.rst b/doc/source/kubernetes.test.test_v1_rolling_update_daemon_set.rst index 0731840a36..7452bc6fc1 100644 --- a/doc/source/kubernetes.test.test_v1_rolling_update_daemon_set.rst +++ b/doc/source/kubernetes.test.test_v1_rolling_update_daemon_set.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rolling\_update\_daemon\_set module .. automodule:: kubernetes.test.test_v1_rolling_update_daemon_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rolling_update_deployment.rst b/doc/source/kubernetes.test.test_v1_rolling_update_deployment.rst index b9b10c24db..4ada0deff8 100644 --- a/doc/source/kubernetes.test.test_v1_rolling_update_deployment.rst +++ b/doc/source/kubernetes.test.test_v1_rolling_update_deployment.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rolling\_update\_deployment module .. automodule:: kubernetes.test.test_v1_rolling_update_deployment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rolling_update_stateful_set_strategy.rst b/doc/source/kubernetes.test.test_v1_rolling_update_stateful_set_strategy.rst index 7d662fe7f1..091adda115 100644 --- a/doc/source/kubernetes.test.test_v1_rolling_update_stateful_set_strategy.rst +++ b/doc/source/kubernetes.test.test_v1_rolling_update_stateful_set_strategy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rolling\_update\_stateful\_set\_strategy module .. automodule:: kubernetes.test.test_v1_rolling_update_stateful_set_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_rule_with_operations.rst b/doc/source/kubernetes.test.test_v1_rule_with_operations.rst index aa7b997a51..d97bed7e94 100644 --- a/doc/source/kubernetes.test.test_v1_rule_with_operations.rst +++ b/doc/source/kubernetes.test.test_v1_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_rule\_with\_operations module .. automodule:: kubernetes.test.test_v1_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_runtime_class.rst b/doc/source/kubernetes.test.test_v1_runtime_class.rst index 9cbaebe938..f69322a578 100644 --- a/doc/source/kubernetes.test.test_v1_runtime_class.rst +++ b/doc/source/kubernetes.test.test_v1_runtime_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_runtime\_class module .. automodule:: kubernetes.test.test_v1_runtime_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_runtime_class_list.rst b/doc/source/kubernetes.test.test_v1_runtime_class_list.rst index e08a7e4314..882da53cd7 100644 --- a/doc/source/kubernetes.test.test_v1_runtime_class_list.rst +++ b/doc/source/kubernetes.test.test_v1_runtime_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_runtime\_class\_list module .. automodule:: kubernetes.test.test_v1_runtime_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scale.rst b/doc/source/kubernetes.test.test_v1_scale.rst index 765d1b4fdf..c5c175f0c4 100644 --- a/doc/source/kubernetes.test.test_v1_scale.rst +++ b/doc/source/kubernetes.test.test_v1_scale.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scale module .. automodule:: kubernetes.test.test_v1_scale :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scale_io_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_scale_io_persistent_volume_source.rst index e311084137..16e1da36e2 100644 --- a/doc/source/kubernetes.test.test_v1_scale_io_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_scale_io_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scale\_io\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_scale_io_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scale_io_volume_source.rst b/doc/source/kubernetes.test.test_v1_scale_io_volume_source.rst index 1c98299b09..d8047e236d 100644 --- a/doc/source/kubernetes.test.test_v1_scale_io_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_scale_io_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scale\_io\_volume\_source module .. automodule:: kubernetes.test.test_v1_scale_io_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scale_spec.rst b/doc/source/kubernetes.test.test_v1_scale_spec.rst index e239bcd1ec..158f05ad12 100644 --- a/doc/source/kubernetes.test.test_v1_scale_spec.rst +++ b/doc/source/kubernetes.test.test_v1_scale_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scale\_spec module .. automodule:: kubernetes.test.test_v1_scale_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scale_status.rst b/doc/source/kubernetes.test.test_v1_scale_status.rst index 54b48cf5de..2b573f2cae 100644 --- a/doc/source/kubernetes.test.test_v1_scale_status.rst +++ b/doc/source/kubernetes.test.test_v1_scale_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scale\_status module .. automodule:: kubernetes.test.test_v1_scale_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scheduling.rst b/doc/source/kubernetes.test.test_v1_scheduling.rst index 02d65fc199..7262c1e23c 100644 --- a/doc/source/kubernetes.test.test_v1_scheduling.rst +++ b/doc/source/kubernetes.test.test_v1_scheduling.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scheduling module .. automodule:: kubernetes.test.test_v1_scheduling :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scope_selector.rst b/doc/source/kubernetes.test.test_v1_scope_selector.rst index ebf9d1c614..96a3c8a7b5 100644 --- a/doc/source/kubernetes.test.test_v1_scope_selector.rst +++ b/doc/source/kubernetes.test.test_v1_scope_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scope\_selector module .. automodule:: kubernetes.test.test_v1_scope_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_scoped_resource_selector_requirement.rst b/doc/source/kubernetes.test.test_v1_scoped_resource_selector_requirement.rst index 904c37e385..cc8645009f 100644 --- a/doc/source/kubernetes.test.test_v1_scoped_resource_selector_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_scoped_resource_selector_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_scoped\_resource\_selector\_requirement module .. automodule:: kubernetes.test.test_v1_scoped_resource_selector_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_se_linux_options.rst b/doc/source/kubernetes.test.test_v1_se_linux_options.rst index 76d48f8e7d..c80dec2976 100644 --- a/doc/source/kubernetes.test.test_v1_se_linux_options.rst +++ b/doc/source/kubernetes.test.test_v1_se_linux_options.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_se\_linux\_options module .. automodule:: kubernetes.test.test_v1_se_linux_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_seccomp_profile.rst b/doc/source/kubernetes.test.test_v1_seccomp_profile.rst index dd15d1cd2a..d1ba03dd17 100644 --- a/doc/source/kubernetes.test.test_v1_seccomp_profile.rst +++ b/doc/source/kubernetes.test.test_v1_seccomp_profile.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_seccomp\_profile module .. automodule:: kubernetes.test.test_v1_seccomp_profile :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret.rst b/doc/source/kubernetes.test.test_v1_secret.rst index 18db219a10..f491d3b960 100644 --- a/doc/source/kubernetes.test.test_v1_secret.rst +++ b/doc/source/kubernetes.test.test_v1_secret.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret module .. automodule:: kubernetes.test.test_v1_secret :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_env_source.rst b/doc/source/kubernetes.test.test_v1_secret_env_source.rst index 86d0f9430e..d0c44bc357 100644 --- a/doc/source/kubernetes.test.test_v1_secret_env_source.rst +++ b/doc/source/kubernetes.test.test_v1_secret_env_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_env\_source module .. automodule:: kubernetes.test.test_v1_secret_env_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_key_selector.rst b/doc/source/kubernetes.test.test_v1_secret_key_selector.rst index 8da115339a..059bbf8b34 100644 --- a/doc/source/kubernetes.test.test_v1_secret_key_selector.rst +++ b/doc/source/kubernetes.test.test_v1_secret_key_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_key\_selector module .. automodule:: kubernetes.test.test_v1_secret_key_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_list.rst b/doc/source/kubernetes.test.test_v1_secret_list.rst index 7c84e3da3a..db33760199 100644 --- a/doc/source/kubernetes.test.test_v1_secret_list.rst +++ b/doc/source/kubernetes.test.test_v1_secret_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_list module .. automodule:: kubernetes.test.test_v1_secret_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_projection.rst b/doc/source/kubernetes.test.test_v1_secret_projection.rst index fb94ca2415..bcdce09b3e 100644 --- a/doc/source/kubernetes.test.test_v1_secret_projection.rst +++ b/doc/source/kubernetes.test.test_v1_secret_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_projection module .. automodule:: kubernetes.test.test_v1_secret_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_reference.rst b/doc/source/kubernetes.test.test_v1_secret_reference.rst index 73dcd8f857..097b51e0e4 100644 --- a/doc/source/kubernetes.test.test_v1_secret_reference.rst +++ b/doc/source/kubernetes.test.test_v1_secret_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_reference module .. automodule:: kubernetes.test.test_v1_secret_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_secret_volume_source.rst b/doc/source/kubernetes.test.test_v1_secret_volume_source.rst index 41c7ea2c4f..08c5c6237c 100644 --- a/doc/source/kubernetes.test.test_v1_secret_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_secret_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_secret\_volume\_source module .. automodule:: kubernetes.test.test_v1_secret_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_security_context.rst b/doc/source/kubernetes.test.test_v1_security_context.rst index 9882e91e8a..97b00eb251 100644 --- a/doc/source/kubernetes.test.test_v1_security_context.rst +++ b/doc/source/kubernetes.test.test_v1_security_context.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_security\_context module .. automodule:: kubernetes.test.test_v1_security_context :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_selectable_field.rst b/doc/source/kubernetes.test.test_v1_selectable_field.rst index 309217368e..416036e771 100644 --- a/doc/source/kubernetes.test.test_v1_selectable_field.rst +++ b/doc/source/kubernetes.test.test_v1_selectable_field.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_selectable\_field module .. automodule:: kubernetes.test.test_v1_selectable_field :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_access_review.rst b/doc/source/kubernetes.test.test_v1_self_subject_access_review.rst index ecfcb2fecb..ae8d020d9b 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_access_review.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_access\_review module .. automodule:: kubernetes.test.test_v1_self_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_access_review_spec.rst b/doc/source/kubernetes.test.test_v1_self_subject_access_review_spec.rst index 7ce8222838..2465b60985 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_access_review_spec.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_access_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_access\_review\_spec module .. automodule:: kubernetes.test.test_v1_self_subject_access_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_review.rst b/doc/source/kubernetes.test.test_v1_self_subject_review.rst index 6d00b9d9de..b1f4401c01 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_review.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_review module .. automodule:: kubernetes.test.test_v1_self_subject_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_review_status.rst b/doc/source/kubernetes.test.test_v1_self_subject_review_status.rst index 10a43385c0..c5130e95ef 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_review_status.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_review_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_review\_status module .. automodule:: kubernetes.test.test_v1_self_subject_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_rules_review.rst b/doc/source/kubernetes.test.test_v1_self_subject_rules_review.rst index b88f6237d8..37409d8765 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_rules_review.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_rules_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_rules\_review module .. automodule:: kubernetes.test.test_v1_self_subject_rules_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_self_subject_rules_review_spec.rst b/doc/source/kubernetes.test.test_v1_self_subject_rules_review_spec.rst index c076f5a591..97035de1cd 100644 --- a/doc/source/kubernetes.test.test_v1_self_subject_rules_review_spec.rst +++ b/doc/source/kubernetes.test.test_v1_self_subject_rules_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_self\_subject\_rules\_review\_spec module .. automodule:: kubernetes.test.test_v1_self_subject_rules_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_server_address_by_client_cidr.rst b/doc/source/kubernetes.test.test_v1_server_address_by_client_cidr.rst index dd7254350a..76c6870fa1 100644 --- a/doc/source/kubernetes.test.test_v1_server_address_by_client_cidr.rst +++ b/doc/source/kubernetes.test.test_v1_server_address_by_client_cidr.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_server\_address\_by\_client\_cidr module .. automodule:: kubernetes.test.test_v1_server_address_by_client_cidr :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service.rst b/doc/source/kubernetes.test.test_v1_service.rst index a0dbbdbd59..fc618bdf4c 100644 --- a/doc/source/kubernetes.test.test_v1_service.rst +++ b/doc/source/kubernetes.test.test_v1_service.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service module .. automodule:: kubernetes.test.test_v1_service :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_account.rst b/doc/source/kubernetes.test.test_v1_service_account.rst index 9ac70cc27a..1ef121e89f 100644 --- a/doc/source/kubernetes.test.test_v1_service_account.rst +++ b/doc/source/kubernetes.test.test_v1_service_account.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_account module .. automodule:: kubernetes.test.test_v1_service_account :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_account_list.rst b/doc/source/kubernetes.test.test_v1_service_account_list.rst index d22c23df32..7d3809f574 100644 --- a/doc/source/kubernetes.test.test_v1_service_account_list.rst +++ b/doc/source/kubernetes.test.test_v1_service_account_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_account\_list module .. automodule:: kubernetes.test.test_v1_service_account_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_account_subject.rst b/doc/source/kubernetes.test.test_v1_service_account_subject.rst index 27ec7a6ddf..7bec2bf32b 100644 --- a/doc/source/kubernetes.test.test_v1_service_account_subject.rst +++ b/doc/source/kubernetes.test.test_v1_service_account_subject.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_account\_subject module .. automodule:: kubernetes.test.test_v1_service_account_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_account_token_projection.rst b/doc/source/kubernetes.test.test_v1_service_account_token_projection.rst index 1a8f146a83..e8154e8620 100644 --- a/doc/source/kubernetes.test.test_v1_service_account_token_projection.rst +++ b/doc/source/kubernetes.test.test_v1_service_account_token_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_account\_token\_projection module .. automodule:: kubernetes.test.test_v1_service_account_token_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_backend_port.rst b/doc/source/kubernetes.test.test_v1_service_backend_port.rst index 047b3ea4c5..ef493c2075 100644 --- a/doc/source/kubernetes.test.test_v1_service_backend_port.rst +++ b/doc/source/kubernetes.test.test_v1_service_backend_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_backend\_port module .. automodule:: kubernetes.test.test_v1_service_backend_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_cidr.rst b/doc/source/kubernetes.test.test_v1_service_cidr.rst new file mode 100644 index 0000000000..cb711c1f26 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_service\_cidr module +============================================== + +.. automodule:: kubernetes.test.test_v1_service_cidr + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_cidr_list.rst b/doc/source/kubernetes.test.test_v1_service_cidr_list.rst new file mode 100644 index 0000000000..3250b4a338 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_service\_cidr\_list module +==================================================== + +.. automodule:: kubernetes.test.test_v1_service_cidr_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_cidr_spec.rst b/doc/source/kubernetes.test.test_v1_service_cidr_spec.rst new file mode 100644 index 0000000000..6b14eb58d6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_service\_cidr\_spec module +==================================================== + +.. automodule:: kubernetes.test.test_v1_service_cidr_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_cidr_status.rst b/doc/source/kubernetes.test.test_v1_service_cidr_status.rst new file mode 100644 index 0000000000..b6191f1bce --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_service\_cidr\_status module +====================================================== + +.. automodule:: kubernetes.test.test_v1_service_cidr_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_list.rst b/doc/source/kubernetes.test.test_v1_service_list.rst index d4d2051426..8d94cdc21b 100644 --- a/doc/source/kubernetes.test.test_v1_service_list.rst +++ b/doc/source/kubernetes.test.test_v1_service_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_list module .. automodule:: kubernetes.test.test_v1_service_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_port.rst b/doc/source/kubernetes.test.test_v1_service_port.rst index acdd375704..35db3f2a86 100644 --- a/doc/source/kubernetes.test.test_v1_service_port.rst +++ b/doc/source/kubernetes.test.test_v1_service_port.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_port module .. automodule:: kubernetes.test.test_v1_service_port :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_spec.rst b/doc/source/kubernetes.test.test_v1_service_spec.rst index b25007af79..01e2d4ddfd 100644 --- a/doc/source/kubernetes.test.test_v1_service_spec.rst +++ b/doc/source/kubernetes.test.test_v1_service_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_spec module .. automodule:: kubernetes.test.test_v1_service_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_service_status.rst b/doc/source/kubernetes.test.test_v1_service_status.rst index 2bc87ce9c3..acf906f5ce 100644 --- a/doc/source/kubernetes.test.test_v1_service_status.rst +++ b/doc/source/kubernetes.test.test_v1_service_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_service\_status module .. automodule:: kubernetes.test.test_v1_service_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_session_affinity_config.rst b/doc/source/kubernetes.test.test_v1_session_affinity_config.rst index 5a1526c2c4..adda582c6d 100644 --- a/doc/source/kubernetes.test.test_v1_session_affinity_config.rst +++ b/doc/source/kubernetes.test.test_v1_session_affinity_config.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_session\_affinity\_config module .. automodule:: kubernetes.test.test_v1_session_affinity_config :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_sleep_action.rst b/doc/source/kubernetes.test.test_v1_sleep_action.rst index 7215bc3a1f..98a3fa381f 100644 --- a/doc/source/kubernetes.test.test_v1_sleep_action.rst +++ b/doc/source/kubernetes.test.test_v1_sleep_action.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_sleep\_action module .. automodule:: kubernetes.test.test_v1_sleep_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set.rst b/doc/source/kubernetes.test.test_v1_stateful_set.rst index 7ac81e68a0..9998429607 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set module .. automodule:: kubernetes.test.test_v1_stateful_set :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_condition.rst b/doc/source/kubernetes.test.test_v1_stateful_set_condition.rst index 3fb443a80f..e0cfe43a4c 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_condition.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_condition module .. automodule:: kubernetes.test.test_v1_stateful_set_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_list.rst b/doc/source/kubernetes.test.test_v1_stateful_set_list.rst index 9e3cf5a806..ada2407a25 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_list.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_list module .. automodule:: kubernetes.test.test_v1_stateful_set_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_ordinals.rst b/doc/source/kubernetes.test.test_v1_stateful_set_ordinals.rst index f041081bf7..d3e1e67179 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_ordinals.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_ordinals.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_ordinals module .. automodule:: kubernetes.test.test_v1_stateful_set_ordinals :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst b/doc/source/kubernetes.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst index 4ac3b79478..bbf16ce0a7 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_persistent\_volume\_claim\_retention\_p .. automodule:: kubernetes.test.test_v1_stateful_set_persistent_volume_claim_retention_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_spec.rst b/doc/source/kubernetes.test.test_v1_stateful_set_spec.rst index 6a3102f6e2..29f5554903 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_spec.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_spec module .. automodule:: kubernetes.test.test_v1_stateful_set_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_status.rst b/doc/source/kubernetes.test.test_v1_stateful_set_status.rst index c86a7e2137..09d8527e0e 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_status.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_status module .. automodule:: kubernetes.test.test_v1_stateful_set_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_stateful_set_update_strategy.rst b/doc/source/kubernetes.test.test_v1_stateful_set_update_strategy.rst index 5398f5f317..0f84cd50a1 100644 --- a/doc/source/kubernetes.test.test_v1_stateful_set_update_strategy.rst +++ b/doc/source/kubernetes.test.test_v1_stateful_set_update_strategy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_stateful\_set\_update\_strategy module .. automodule:: kubernetes.test.test_v1_stateful_set_update_strategy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_status.rst b/doc/source/kubernetes.test.test_v1_status.rst index 6770a8d58a..14faad2206 100644 --- a/doc/source/kubernetes.test.test_v1_status.rst +++ b/doc/source/kubernetes.test.test_v1_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_status module .. automodule:: kubernetes.test.test_v1_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_status_cause.rst b/doc/source/kubernetes.test.test_v1_status_cause.rst index 8cd09ca3b0..8117354907 100644 --- a/doc/source/kubernetes.test.test_v1_status_cause.rst +++ b/doc/source/kubernetes.test.test_v1_status_cause.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_status\_cause module .. automodule:: kubernetes.test.test_v1_status_cause :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_status_details.rst b/doc/source/kubernetes.test.test_v1_status_details.rst index f1a880d82b..7ea858ff8c 100644 --- a/doc/source/kubernetes.test.test_v1_status_details.rst +++ b/doc/source/kubernetes.test.test_v1_status_details.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_status\_details module .. automodule:: kubernetes.test.test_v1_status_details :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_storage_class.rst b/doc/source/kubernetes.test.test_v1_storage_class.rst index 3422d66395..5780fb03b4 100644 --- a/doc/source/kubernetes.test.test_v1_storage_class.rst +++ b/doc/source/kubernetes.test.test_v1_storage_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_storage\_class module .. automodule:: kubernetes.test.test_v1_storage_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_storage_class_list.rst b/doc/source/kubernetes.test.test_v1_storage_class_list.rst index d8e6704aab..7a145f0094 100644 --- a/doc/source/kubernetes.test.test_v1_storage_class_list.rst +++ b/doc/source/kubernetes.test.test_v1_storage_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_storage\_class\_list module .. automodule:: kubernetes.test.test_v1_storage_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_storage_os_persistent_volume_source.rst b/doc/source/kubernetes.test.test_v1_storage_os_persistent_volume_source.rst index 62330ca308..44dd2dfc98 100644 --- a/doc/source/kubernetes.test.test_v1_storage_os_persistent_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_storage_os_persistent_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_storage\_os\_persistent\_volume\_source module .. automodule:: kubernetes.test.test_v1_storage_os_persistent_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_storage_os_volume_source.rst b/doc/source/kubernetes.test.test_v1_storage_os_volume_source.rst index 3e6585fbd8..8bf26465c3 100644 --- a/doc/source/kubernetes.test.test_v1_storage_os_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_storage_os_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_storage\_os\_volume\_source module .. automodule:: kubernetes.test.test_v1_storage_os_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_subject_access_review.rst b/doc/source/kubernetes.test.test_v1_subject_access_review.rst index e351b7bc33..c014b30653 100644 --- a/doc/source/kubernetes.test.test_v1_subject_access_review.rst +++ b/doc/source/kubernetes.test.test_v1_subject_access_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_subject\_access\_review module .. automodule:: kubernetes.test.test_v1_subject_access_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_subject_access_review_spec.rst b/doc/source/kubernetes.test.test_v1_subject_access_review_spec.rst index 749cdb08c6..ce78c0facb 100644 --- a/doc/source/kubernetes.test.test_v1_subject_access_review_spec.rst +++ b/doc/source/kubernetes.test.test_v1_subject_access_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_subject\_access\_review\_spec module .. automodule:: kubernetes.test.test_v1_subject_access_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_subject_access_review_status.rst b/doc/source/kubernetes.test.test_v1_subject_access_review_status.rst index 4f752d1e4c..d053eb0bda 100644 --- a/doc/source/kubernetes.test.test_v1_subject_access_review_status.rst +++ b/doc/source/kubernetes.test.test_v1_subject_access_review_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_subject\_access\_review\_status module .. automodule:: kubernetes.test.test_v1_subject_access_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_subject_rules_review_status.rst b/doc/source/kubernetes.test.test_v1_subject_rules_review_status.rst index af503fcd30..b645310a4d 100644 --- a/doc/source/kubernetes.test.test_v1_subject_rules_review_status.rst +++ b/doc/source/kubernetes.test.test_v1_subject_rules_review_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_subject\_rules\_review\_status module .. automodule:: kubernetes.test.test_v1_subject_rules_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_success_policy.rst b/doc/source/kubernetes.test.test_v1_success_policy.rst index e504240064..7f78663c7c 100644 --- a/doc/source/kubernetes.test.test_v1_success_policy.rst +++ b/doc/source/kubernetes.test.test_v1_success_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_success\_policy module .. automodule:: kubernetes.test.test_v1_success_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_success_policy_rule.rst b/doc/source/kubernetes.test.test_v1_success_policy_rule.rst index 15d7eb5f75..a7d3a5de6c 100644 --- a/doc/source/kubernetes.test.test_v1_success_policy_rule.rst +++ b/doc/source/kubernetes.test.test_v1_success_policy_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_success\_policy\_rule module .. automodule:: kubernetes.test.test_v1_success_policy_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_sysctl.rst b/doc/source/kubernetes.test.test_v1_sysctl.rst index 39b90584da..fb892a0617 100644 --- a/doc/source/kubernetes.test.test_v1_sysctl.rst +++ b/doc/source/kubernetes.test.test_v1_sysctl.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_sysctl module .. automodule:: kubernetes.test.test_v1_sysctl :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_taint.rst b/doc/source/kubernetes.test.test_v1_taint.rst index d2fe2ae34c..0cc6609147 100644 --- a/doc/source/kubernetes.test.test_v1_taint.rst +++ b/doc/source/kubernetes.test.test_v1_taint.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_taint module .. automodule:: kubernetes.test.test_v1_taint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_tcp_socket_action.rst b/doc/source/kubernetes.test.test_v1_tcp_socket_action.rst index cab3421775..419fddb33b 100644 --- a/doc/source/kubernetes.test.test_v1_tcp_socket_action.rst +++ b/doc/source/kubernetes.test.test_v1_tcp_socket_action.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_tcp\_socket\_action module .. automodule:: kubernetes.test.test_v1_tcp_socket_action :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_token_request_spec.rst b/doc/source/kubernetes.test.test_v1_token_request_spec.rst index 398732512c..1147c04b3a 100644 --- a/doc/source/kubernetes.test.test_v1_token_request_spec.rst +++ b/doc/source/kubernetes.test.test_v1_token_request_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_token\_request\_spec module .. automodule:: kubernetes.test.test_v1_token_request_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_token_request_status.rst b/doc/source/kubernetes.test.test_v1_token_request_status.rst index be19c3ed49..9333d45b00 100644 --- a/doc/source/kubernetes.test.test_v1_token_request_status.rst +++ b/doc/source/kubernetes.test.test_v1_token_request_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_token\_request\_status module .. automodule:: kubernetes.test.test_v1_token_request_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_token_review.rst b/doc/source/kubernetes.test.test_v1_token_review.rst index a9daf34cab..e920181502 100644 --- a/doc/source/kubernetes.test.test_v1_token_review.rst +++ b/doc/source/kubernetes.test.test_v1_token_review.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_token\_review module .. automodule:: kubernetes.test.test_v1_token_review :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_token_review_spec.rst b/doc/source/kubernetes.test.test_v1_token_review_spec.rst index 533d830f9b..679046d178 100644 --- a/doc/source/kubernetes.test.test_v1_token_review_spec.rst +++ b/doc/source/kubernetes.test.test_v1_token_review_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_token\_review\_spec module .. automodule:: kubernetes.test.test_v1_token_review_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_token_review_status.rst b/doc/source/kubernetes.test.test_v1_token_review_status.rst index f95379dd14..bac51d04ea 100644 --- a/doc/source/kubernetes.test.test_v1_token_review_status.rst +++ b/doc/source/kubernetes.test.test_v1_token_review_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_token\_review\_status module .. automodule:: kubernetes.test.test_v1_token_review_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_toleration.rst b/doc/source/kubernetes.test.test_v1_toleration.rst index 3b5cc6dd9d..cc75584fe6 100644 --- a/doc/source/kubernetes.test.test_v1_toleration.rst +++ b/doc/source/kubernetes.test.test_v1_toleration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_toleration module .. automodule:: kubernetes.test.test_v1_toleration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_topology_selector_label_requirement.rst b/doc/source/kubernetes.test.test_v1_topology_selector_label_requirement.rst index 18a513e7fa..ca4b263f40 100644 --- a/doc/source/kubernetes.test.test_v1_topology_selector_label_requirement.rst +++ b/doc/source/kubernetes.test.test_v1_topology_selector_label_requirement.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_topology\_selector\_label\_requirement module .. automodule:: kubernetes.test.test_v1_topology_selector_label_requirement :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_topology_selector_term.rst b/doc/source/kubernetes.test.test_v1_topology_selector_term.rst index 9507d5d24e..af11c8a207 100644 --- a/doc/source/kubernetes.test.test_v1_topology_selector_term.rst +++ b/doc/source/kubernetes.test.test_v1_topology_selector_term.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_topology\_selector\_term module .. automodule:: kubernetes.test.test_v1_topology_selector_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_topology_spread_constraint.rst b/doc/source/kubernetes.test.test_v1_topology_spread_constraint.rst index b1d67edc0e..64f121b687 100644 --- a/doc/source/kubernetes.test.test_v1_topology_spread_constraint.rst +++ b/doc/source/kubernetes.test.test_v1_topology_spread_constraint.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_topology\_spread\_constraint module .. automodule:: kubernetes.test.test_v1_topology_spread_constraint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_type_checking.rst b/doc/source/kubernetes.test.test_v1_type_checking.rst index 213aec7773..db0315af67 100644 --- a/doc/source/kubernetes.test.test_v1_type_checking.rst +++ b/doc/source/kubernetes.test.test_v1_type_checking.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_type\_checking module .. automodule:: kubernetes.test.test_v1_type_checking :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_typed_local_object_reference.rst b/doc/source/kubernetes.test.test_v1_typed_local_object_reference.rst index f6b798ec43..ab6e67893e 100644 --- a/doc/source/kubernetes.test.test_v1_typed_local_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_typed_local_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_typed\_local\_object\_reference module .. automodule:: kubernetes.test.test_v1_typed_local_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_typed_object_reference.rst b/doc/source/kubernetes.test.test_v1_typed_object_reference.rst index 55f3c1a5d8..4cecbc907e 100644 --- a/doc/source/kubernetes.test.test_v1_typed_object_reference.rst +++ b/doc/source/kubernetes.test.test_v1_typed_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_typed\_object\_reference module .. automodule:: kubernetes.test.test_v1_typed_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_uncounted_terminated_pods.rst b/doc/source/kubernetes.test.test_v1_uncounted_terminated_pods.rst index aff4aba046..01753ab929 100644 --- a/doc/source/kubernetes.test.test_v1_uncounted_terminated_pods.rst +++ b/doc/source/kubernetes.test.test_v1_uncounted_terminated_pods.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_uncounted\_terminated\_pods module .. automodule:: kubernetes.test.test_v1_uncounted_terminated_pods :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_user_info.rst b/doc/source/kubernetes.test.test_v1_user_info.rst index ac25a6826f..cdfc48c675 100644 --- a/doc/source/kubernetes.test.test_v1_user_info.rst +++ b/doc/source/kubernetes.test.test_v1_user_info.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_user\_info module .. automodule:: kubernetes.test.test_v1_user_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_user_subject.rst b/doc/source/kubernetes.test.test_v1_user_subject.rst index 38c54960d4..63b28fd3e8 100644 --- a/doc/source/kubernetes.test.test_v1_user_subject.rst +++ b/doc/source/kubernetes.test.test_v1_user_subject.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_user\_subject module .. automodule:: kubernetes.test.test_v1_user_subject :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy.rst index 31d9fde15d..d644989d6f 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy module .. automodule:: kubernetes.test.test_v1_validating_admission_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding.rst index a387633e15..c9063f9d1a 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_binding module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_list.rst index 1bbef3f4f1..d96411f880 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_list.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_binding\_list module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_spec.rst index c951e723ad..3443625ffe 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_spec.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_binding_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_binding\_spec module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_binding_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_list.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_list.rst index 136ea8eec9..4ed2c14155 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_list.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_list module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_spec.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_spec.rst index 3b6e593805..003e9e3158 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_spec.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_spec module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_admission_policy_status.rst b/doc/source/kubernetes.test.test_v1_validating_admission_policy_status.rst index 1b8e0b482d..b7d9525d11 100644 --- a/doc/source/kubernetes.test.test_v1_validating_admission_policy_status.rst +++ b/doc/source/kubernetes.test.test_v1_validating_admission_policy_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_admission\_policy\_status module .. automodule:: kubernetes.test.test_v1_validating_admission_policy_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_webhook.rst b/doc/source/kubernetes.test.test_v1_validating_webhook.rst index 8c8a3f49ab..bd6c2efaef 100644 --- a/doc/source/kubernetes.test.test_v1_validating_webhook.rst +++ b/doc/source/kubernetes.test.test_v1_validating_webhook.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_webhook module .. automodule:: kubernetes.test.test_v1_validating_webhook :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_webhook_configuration.rst b/doc/source/kubernetes.test.test_v1_validating_webhook_configuration.rst index 44b98c9653..df29b90e00 100644 --- a/doc/source/kubernetes.test.test_v1_validating_webhook_configuration.rst +++ b/doc/source/kubernetes.test.test_v1_validating_webhook_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_webhook\_configuration module .. automodule:: kubernetes.test.test_v1_validating_webhook_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validating_webhook_configuration_list.rst b/doc/source/kubernetes.test.test_v1_validating_webhook_configuration_list.rst index e66947904e..73ac90baf3 100644 --- a/doc/source/kubernetes.test.test_v1_validating_webhook_configuration_list.rst +++ b/doc/source/kubernetes.test.test_v1_validating_webhook_configuration_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validating\_webhook\_configuration\_list module .. automodule:: kubernetes.test.test_v1_validating_webhook_configuration_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validation.rst b/doc/source/kubernetes.test.test_v1_validation.rst index cb78e22ac4..c30662e083 100644 --- a/doc/source/kubernetes.test.test_v1_validation.rst +++ b/doc/source/kubernetes.test.test_v1_validation.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validation module .. automodule:: kubernetes.test.test_v1_validation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_validation_rule.rst b/doc/source/kubernetes.test.test_v1_validation_rule.rst index a57eb2dae5..9805cf9c13 100644 --- a/doc/source/kubernetes.test.test_v1_validation_rule.rst +++ b/doc/source/kubernetes.test.test_v1_validation_rule.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_validation\_rule module .. automodule:: kubernetes.test.test_v1_validation_rule :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_variable.rst b/doc/source/kubernetes.test.test_v1_variable.rst index 21a6e6c255..e743cb291a 100644 --- a/doc/source/kubernetes.test.test_v1_variable.rst +++ b/doc/source/kubernetes.test.test_v1_variable.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_variable module .. automodule:: kubernetes.test.test_v1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume.rst b/doc/source/kubernetes.test.test_v1_volume.rst index 99b0d97e6b..5e1bc0c118 100644 --- a/doc/source/kubernetes.test.test_v1_volume.rst +++ b/doc/source/kubernetes.test.test_v1_volume.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume module .. automodule:: kubernetes.test.test_v1_volume :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attachment.rst b/doc/source/kubernetes.test.test_v1_volume_attachment.rst index 618b14b19a..bbd5f08172 100644 --- a/doc/source/kubernetes.test.test_v1_volume_attachment.rst +++ b/doc/source/kubernetes.test.test_v1_volume_attachment.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_attachment module .. automodule:: kubernetes.test.test_v1_volume_attachment :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attachment_list.rst b/doc/source/kubernetes.test.test_v1_volume_attachment_list.rst index 5f408ba0c0..451527e2ff 100644 --- a/doc/source/kubernetes.test.test_v1_volume_attachment_list.rst +++ b/doc/source/kubernetes.test.test_v1_volume_attachment_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_attachment\_list module .. automodule:: kubernetes.test.test_v1_volume_attachment_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attachment_source.rst b/doc/source/kubernetes.test.test_v1_volume_attachment_source.rst index 1758fd7689..e9df74a12d 100644 --- a/doc/source/kubernetes.test.test_v1_volume_attachment_source.rst +++ b/doc/source/kubernetes.test.test_v1_volume_attachment_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_attachment\_source module .. automodule:: kubernetes.test.test_v1_volume_attachment_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attachment_spec.rst b/doc/source/kubernetes.test.test_v1_volume_attachment_spec.rst index b1bdf1703c..6559ef2dbf 100644 --- a/doc/source/kubernetes.test.test_v1_volume_attachment_spec.rst +++ b/doc/source/kubernetes.test.test_v1_volume_attachment_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_attachment\_spec module .. automodule:: kubernetes.test.test_v1_volume_attachment_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attachment_status.rst b/doc/source/kubernetes.test.test_v1_volume_attachment_status.rst index efb871be77..1603c4c9c8 100644 --- a/doc/source/kubernetes.test.test_v1_volume_attachment_status.rst +++ b/doc/source/kubernetes.test.test_v1_volume_attachment_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_attachment\_status module .. automodule:: kubernetes.test.test_v1_volume_attachment_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attributes_class.rst b/doc/source/kubernetes.test.test_v1_volume_attributes_class.rst new file mode 100644 index 0000000000..513d3976c7 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_volume\_attributes\_class module +========================================================== + +.. automodule:: kubernetes.test.test_v1_volume_attributes_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_attributes_class_list.rst b/doc/source/kubernetes.test.test_v1_volume_attributes_class_list.rst new file mode 100644 index 0000000000..78e5ccb0f0 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_volume\_attributes\_class\_list module +================================================================ + +.. automodule:: kubernetes.test.test_v1_volume_attributes_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_device.rst b/doc/source/kubernetes.test.test_v1_volume_device.rst index ce823ae43f..c6cd46bd5d 100644 --- a/doc/source/kubernetes.test.test_v1_volume_device.rst +++ b/doc/source/kubernetes.test.test_v1_volume_device.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_device module .. automodule:: kubernetes.test.test_v1_volume_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_error.rst b/doc/source/kubernetes.test.test_v1_volume_error.rst index b59e8fb207..d7920737e7 100644 --- a/doc/source/kubernetes.test.test_v1_volume_error.rst +++ b/doc/source/kubernetes.test.test_v1_volume_error.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_error module .. automodule:: kubernetes.test.test_v1_volume_error :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_mount.rst b/doc/source/kubernetes.test.test_v1_volume_mount.rst index 14eced531a..c3b1db5009 100644 --- a/doc/source/kubernetes.test.test_v1_volume_mount.rst +++ b/doc/source/kubernetes.test.test_v1_volume_mount.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_mount module .. automodule:: kubernetes.test.test_v1_volume_mount :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_mount_status.rst b/doc/source/kubernetes.test.test_v1_volume_mount_status.rst index f970da3eb8..42dfd35d68 100644 --- a/doc/source/kubernetes.test.test_v1_volume_mount_status.rst +++ b/doc/source/kubernetes.test.test_v1_volume_mount_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_mount\_status module .. automodule:: kubernetes.test.test_v1_volume_mount_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_node_affinity.rst b/doc/source/kubernetes.test.test_v1_volume_node_affinity.rst index 8eceddcdf8..2a2a239953 100644 --- a/doc/source/kubernetes.test.test_v1_volume_node_affinity.rst +++ b/doc/source/kubernetes.test.test_v1_volume_node_affinity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_node\_affinity module .. automodule:: kubernetes.test.test_v1_volume_node_affinity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_node_resources.rst b/doc/source/kubernetes.test.test_v1_volume_node_resources.rst index 5ea7b1c7f3..f332e44f31 100644 --- a/doc/source/kubernetes.test.test_v1_volume_node_resources.rst +++ b/doc/source/kubernetes.test.test_v1_volume_node_resources.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_node\_resources module .. automodule:: kubernetes.test.test_v1_volume_node_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_projection.rst b/doc/source/kubernetes.test.test_v1_volume_projection.rst index ee20583e6c..57fb196660 100644 --- a/doc/source/kubernetes.test.test_v1_volume_projection.rst +++ b/doc/source/kubernetes.test.test_v1_volume_projection.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_projection module .. automodule:: kubernetes.test.test_v1_volume_projection :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_volume_resource_requirements.rst b/doc/source/kubernetes.test.test_v1_volume_resource_requirements.rst index 64762caa81..de3c93ae76 100644 --- a/doc/source/kubernetes.test.test_v1_volume_resource_requirements.rst +++ b/doc/source/kubernetes.test.test_v1_volume_resource_requirements.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_volume\_resource\_requirements module .. automodule:: kubernetes.test.test_v1_volume_resource_requirements :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_vsphere_virtual_disk_volume_source.rst b/doc/source/kubernetes.test.test_v1_vsphere_virtual_disk_volume_source.rst index c113243869..c5963c3fa0 100644 --- a/doc/source/kubernetes.test.test_v1_vsphere_virtual_disk_volume_source.rst +++ b/doc/source/kubernetes.test.test_v1_vsphere_virtual_disk_volume_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_vsphere\_virtual\_disk\_volume\_source module .. automodule:: kubernetes.test.test_v1_vsphere_virtual_disk_volume_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_watch_event.rst b/doc/source/kubernetes.test.test_v1_watch_event.rst index e30e1b9358..33e072fd12 100644 --- a/doc/source/kubernetes.test.test_v1_watch_event.rst +++ b/doc/source/kubernetes.test.test_v1_watch_event.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_watch\_event module .. automodule:: kubernetes.test.test_v1_watch_event :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_webhook_conversion.rst b/doc/source/kubernetes.test.test_v1_webhook_conversion.rst index a7a5d264b5..3493ebdb37 100644 --- a/doc/source/kubernetes.test.test_v1_webhook_conversion.rst +++ b/doc/source/kubernetes.test.test_v1_webhook_conversion.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_webhook\_conversion module .. automodule:: kubernetes.test.test_v1_webhook_conversion :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_weighted_pod_affinity_term.rst b/doc/source/kubernetes.test.test_v1_weighted_pod_affinity_term.rst index b2cd436dad..1618816a68 100644 --- a/doc/source/kubernetes.test.test_v1_weighted_pod_affinity_term.rst +++ b/doc/source/kubernetes.test.test_v1_weighted_pod_affinity_term.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_weighted\_pod\_affinity\_term module .. automodule:: kubernetes.test.test_v1_weighted_pod_affinity_term :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_windows_security_context_options.rst b/doc/source/kubernetes.test.test_v1_windows_security_context_options.rst index fb51113055..902f0610a6 100644 --- a/doc/source/kubernetes.test.test_v1_windows_security_context_options.rst +++ b/doc/source/kubernetes.test.test_v1_windows_security_context_options.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1\_windows\_security\_context\_options module .. automodule:: kubernetes.test.test_v1_windows_security_context_options :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1_workload_reference.rst b/doc/source/kubernetes.test.test_v1_workload_reference.rst new file mode 100644 index 0000000000..1f00c16b0e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_workload_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_workload\_reference module +==================================================== + +.. automodule:: kubernetes.test.test_v1_workload_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_apply_configuration.rst b/doc/source/kubernetes.test.test_v1alpha1_apply_configuration.rst index 9d91ef4301..0001fef04b 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_apply_configuration.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_apply_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_apply\_configuration module .. automodule:: kubernetes.test.test_v1alpha1_apply_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle.rst b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle.rst index c86ce44c35..679a3aeb90 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_cluster\_trust\_bundle module .. automodule:: kubernetes.test.test_v1alpha1_cluster_trust_bundle :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_list.rst b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_list.rst index 8d1bfa3d7c..edef4e8379 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_cluster\_trust\_bundle\_list module .. automodule:: kubernetes.test.test_v1alpha1_cluster_trust_bundle_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec.rst index 3277aae87b..d14f49b569 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_cluster\_trust\_bundle\_spec module .. automodule:: kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_gang_scheduling_policy.rst b/doc/source/kubernetes.test.test_v1alpha1_gang_scheduling_policy.rst new file mode 100644 index 0000000000..2c66508da8 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_gang_scheduling_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_gang\_scheduling\_policy module +=============================================================== + +.. automodule:: kubernetes.test.test_v1alpha1_gang_scheduling_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_group_version_resource.rst b/doc/source/kubernetes.test.test_v1alpha1_group_version_resource.rst deleted file mode 100644 index 38ba2adddc..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_group_version_resource.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_group\_version\_resource module -=============================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_group_version_resource - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_json_patch.rst b/doc/source/kubernetes.test.test_v1alpha1_json_patch.rst index 9a151f6ddb..9264934302 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_json_patch.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_json_patch.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_json\_patch module .. automodule:: kubernetes.test.test_v1alpha1_json_patch :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_match_condition.rst b/doc/source/kubernetes.test.test_v1alpha1_match_condition.rst index 1949ea024a..1289a93aac 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_match_condition.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_match\_condition module .. automodule:: kubernetes.test.test_v1alpha1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_match_resources.rst b/doc/source/kubernetes.test.test_v1alpha1_match_resources.rst index 40c4f30dc8..d11e190e45 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_match_resources.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_match\_resources module .. automodule:: kubernetes.test.test_v1alpha1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_migration_condition.rst b/doc/source/kubernetes.test.test_v1alpha1_migration_condition.rst deleted file mode 100644 index 7430fc5f1d..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_migration_condition.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_migration\_condition module -=========================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_migration_condition - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy.rst index 5bddb13b0a..88f76cf8c1 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy module .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding.rst index ac0fa4e4fa..cabc9ae903 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy\_binding module .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy_binding :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list.rst index 9aadf797de..d435ed989b 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy\_binding\_list modul .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst index 9ffd41a053..07767ef976 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy\_binding\_spec modul .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy_binding_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_list.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_list.rst index bd0877962e..cccbefc0e7 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy\_list module .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_spec.rst index ad7aafa4d4..a487a06ef6 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutating_admission_policy_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutating\_admission\_policy\_spec module .. automodule:: kubernetes.test.test_v1alpha1_mutating_admission_policy_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_mutation.rst b/doc/source/kubernetes.test.test_v1alpha1_mutation.rst index 4443e9d020..11523b29c8 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_mutation.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_mutation.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_mutation module .. automodule:: kubernetes.test.test_v1alpha1_mutation :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_named_rule_with_operations.rst b/doc/source/kubernetes.test.test_v1alpha1_named_rule_with_operations.rst index fcb4f588e4..0530244ff5 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_named\_rule\_with\_operations module .. automodule:: kubernetes.test.test_v1alpha1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_param_kind.rst b/doc/source/kubernetes.test.test_v1alpha1_param_kind.rst index 3889747d01..443407869c 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_param_kind.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_param\_kind module .. automodule:: kubernetes.test.test_v1alpha1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_param_ref.rst b/doc/source/kubernetes.test.test_v1alpha1_param_ref.rst index 80920d1698..0e6842f0bc 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_param_ref.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_param\_ref module .. automodule:: kubernetes.test.test_v1alpha1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_pod_group.rst b/doc/source/kubernetes.test.test_v1alpha1_pod_group.rst new file mode 100644 index 0000000000..6fe710059e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_pod_group.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_pod\_group module +================================================= + +.. automodule:: kubernetes.test.test_v1alpha1_pod_group + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_pod_group_policy.rst b/doc/source/kubernetes.test.test_v1alpha1_pod_group_policy.rst new file mode 100644 index 0000000000..a6e083357f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_pod_group_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_pod\_group\_policy module +========================================================= + +.. automodule:: kubernetes.test.test_v1alpha1_pod_group_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_server_storage_version.rst b/doc/source/kubernetes.test.test_v1alpha1_server_storage_version.rst index b4cbb415ce..575a76f591 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_server_storage_version.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_server_storage_version.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_server\_storage\_version module .. automodule:: kubernetes.test.test_v1alpha1_server_storage_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version.rst index 6f27f8a8dd..cfcc7d02f4 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_storage_version.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_storage\_version module .. automodule:: kubernetes.test.test_v1alpha1_storage_version :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_condition.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_condition.rst index ffe656f270..f2485ccb07 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_condition.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_storage_version_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_storage\_version\_condition module .. automodule:: kubernetes.test.test_v1alpha1_storage_version_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_list.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_list.rst index aece640bf6..f2f7ae1ab0 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_storage_version_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_storage\_version\_list module .. automodule:: kubernetes.test.test_v1alpha1_storage_version_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration.rst deleted file mode 100644 index f5894417f5..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_storage\_version\_migration module -================================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_storage_version_migration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_list.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_list.rst deleted file mode 100644 index 6a97141c7f..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_storage\_version\_migration\_list module -======================================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_storage_version_migration_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_spec.rst deleted file mode 100644 index c02a96e768..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_storage\_version\_migration\_spec module -======================================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_storage_version_migration_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_status.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_status.rst deleted file mode 100644 index 5607ce3299..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_migration_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_storage\_version\_migration\_status module -========================================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_storage_version_migration_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_storage_version_status.rst b/doc/source/kubernetes.test.test_v1alpha1_storage_version_status.rst index 186c26935a..d3d2e5f01b 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_storage_version_status.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_storage_version_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_storage\_version\_status module .. automodule:: kubernetes.test.test_v1alpha1_storage_version_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_typed_local_object_reference.rst b/doc/source/kubernetes.test.test_v1alpha1_typed_local_object_reference.rst new file mode 100644 index 0000000000..1edc11ac87 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_typed_local_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_typed\_local\_object\_reference module +====================================================================== + +.. automodule:: kubernetes.test.test_v1alpha1_typed_local_object_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_variable.rst b/doc/source/kubernetes.test.test_v1alpha1_variable.rst index a9d056c3b7..ea2ec8362f 100644 --- a/doc/source/kubernetes.test.test_v1alpha1_variable.rst +++ b/doc/source/kubernetes.test.test_v1alpha1_variable.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha1\_variable module .. automodule:: kubernetes.test.test_v1alpha1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class.rst b/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class.rst deleted file mode 100644 index dce282290d..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_volume\_attributes\_class module -================================================================ - -.. automodule:: kubernetes.test.test_v1alpha1_volume_attributes_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class_list.rst b/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class_list.rst deleted file mode 100644 index 76e6c74dab..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_volume_attributes_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_volume\_attributes\_class\_list module -====================================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_volume_attributes_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_workload.rst b/doc/source/kubernetes.test.test_v1alpha1_workload.rst new file mode 100644 index 0000000000..28ae51226e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_workload.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_workload module +=============================================== + +.. automodule:: kubernetes.test.test_v1alpha1_workload + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_workload_list.rst b/doc/source/kubernetes.test.test_v1alpha1_workload_list.rst new file mode 100644 index 0000000000..c956f0c4f7 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_workload_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_workload\_list module +===================================================== + +.. automodule:: kubernetes.test.test_v1alpha1_workload_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha1_workload_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_workload_spec.rst new file mode 100644 index 0000000000..0695707fd6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_workload_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_workload\_spec module +===================================================== + +.. automodule:: kubernetes.test.test_v1alpha1_workload_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate.rst b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate.rst index 61e2088ca4..d78fbee473 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate.rst +++ b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha2\_lease\_candidate module .. automodule:: kubernetes.test.test_v1alpha2_lease_candidate :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_list.rst b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_list.rst index 726f40805b..2ea77cc21b 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha2\_lease\_candidate\_list module .. automodule:: kubernetes.test.test_v1alpha2_lease_candidate_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_spec.rst b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_spec.rst index 0a0e1a2e79..0ef1fb9d82 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha2_lease_candidate_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1alpha2\_lease\_candidate\_spec module .. automodule:: kubernetes.test.test_v1alpha2_lease_candidate_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_allocated_device_status.rst b/doc/source/kubernetes.test.test_v1alpha3_allocated_device_status.rst deleted file mode 100644 index 7963b543b5..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_allocated_device_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_allocated\_device\_status module -================================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_allocated_device_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst deleted file mode 100644 index 36661644f1..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_allocation\_result module -========================================================= - -.. automodule:: kubernetes.test.test_v1alpha3_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst b/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst deleted file mode 100644 index fd5f1405d6..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_basic\_device module -==================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_basic_device - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst b/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst deleted file mode 100644 index 6330cd85f6..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_cel\_device\_selector module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_cel_device_selector - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst deleted file mode 100644 index 180fe7d4b0..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_allocation\_configuration module -======================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_allocation_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst deleted file mode 100644 index 4f20363672..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_allocation\_result module -================================================================= - -.. automodule:: kubernetes.test.test_v1alpha3_device_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst b/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst deleted file mode 100644 index 3a186b3e8a..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_attribute module -======================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_attribute - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst b/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst deleted file mode 100644 index 4196836f40..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_claim module -==================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst deleted file mode 100644 index e04bacbd59..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_claim\_configuration module -=================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_claim_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class.rst deleted file mode 100644 index b82b754ea5..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_class module -==================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst deleted file mode 100644 index fb80803eea..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_class\_list module -========================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst deleted file mode 100644 index df824dd0d3..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_class\_spec module -========================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_class_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst b/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst deleted file mode 100644 index dfd78d041e..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_constraint module -========================================================= - -.. automodule:: kubernetes.test.test_v1alpha3_device_constraint - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_request.rst b/doc/source/kubernetes.test.test_v1alpha3_device_request.rst deleted file mode 100644 index 9c4a72edf5..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_request module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst deleted file mode 100644 index c4a1dd6044..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_request\_allocation\_result module -========================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_device_request_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst b/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst deleted file mode 100644 index a63f59c493..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_device\_selector module -======================================================= - -.. automodule:: kubernetes.test.test_v1alpha3_device_selector - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint.rst new file mode 100644 index 0000000000..6ec5b10ef2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint module +==================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule.rst new file mode 100644 index 0000000000..0ce0ae7778 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint\_rule module +========================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint_rule + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_list.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_list.rst new file mode 100644 index 0000000000..6020a46bbe --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint\_rule\_list module +================================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint_rule_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_spec.rst new file mode 100644 index 0000000000..5184c15064 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint\_rule\_spec module +================================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint_rule_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_status.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_status.rst new file mode 100644 index 0000000000..94cfb17e29 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint_rule_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint\_rule\_status module +================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint_rule_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_taint_selector.rst b/doc/source/kubernetes.test.test_v1alpha3_device_taint_selector.rst new file mode 100644 index 0000000000..488c42b63b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_taint_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_taint\_selector module +============================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_taint_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_network_device_data.rst b/doc/source/kubernetes.test.test_v1alpha3_network_device_data.rst deleted file mode 100644 index 7a0c8c0702..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_network_device_data.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_network\_device\_data module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_network_device_data - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst deleted file mode 100644 index 3290f692ea..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_opaque\_device\_configuration module -==================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_opaque_device_configuration - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst deleted file mode 100644 index 6fd7b3e66c..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst deleted file mode 100644 index 3acc18dea3..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_consumer\_reference module -=========================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_consumer_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst deleted file mode 100644 index 492599e761..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_list module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst deleted file mode 100644 index 3f4e71def9..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_spec module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst deleted file mode 100644 index acacd3f96d..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_status module -============================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst deleted file mode 100644 index a821ee06e2..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_template module -================================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst deleted file mode 100644 index 2fe5f5753c..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_template\_list module -====================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst deleted file mode 100644 index f2342406f1..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_claim\_template\_spec module -====================================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst deleted file mode 100644 index 6a0722eab2..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_pool module -===================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_pool - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst deleted file mode 100644 index 8a688cb429..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_slice module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha3_resource_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst deleted file mode 100644 index 4af58a567f..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_slice\_list module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_resource_slice_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst deleted file mode 100644 index 1af2830abd..0000000000 --- a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha3\_resource\_slice\_spec module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha3_resource_slice_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_allocated_device_status.rst b/doc/source/kubernetes.test.test_v1beta1_allocated_device_status.rst index 58f5d2b754..8058dc80ac 100644 --- a/doc/source/kubernetes.test.test_v1beta1_allocated_device_status.rst +++ b/doc/source/kubernetes.test.test_v1beta1_allocated_device_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_allocated\_device\_status module .. automodule:: kubernetes.test.test_v1beta1_allocated_device_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta1_allocation_result.rst index 0d01d4ed88..e69fbd40f5 100644 --- a/doc/source/kubernetes.test.test_v1beta1_allocation_result.rst +++ b/doc/source/kubernetes.test.test_v1beta1_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_allocation\_result module .. automodule:: kubernetes.test.test_v1beta1_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_apply_configuration.rst b/doc/source/kubernetes.test.test_v1beta1_apply_configuration.rst new file mode 100644 index 0000000000..3836a7265c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_apply_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_apply\_configuration module +========================================================== + +.. automodule:: kubernetes.test.test_v1beta1_apply_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_audit_annotation.rst b/doc/source/kubernetes.test.test_v1beta1_audit_annotation.rst deleted file mode 100644 index 88839bebff..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_audit_annotation.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_audit\_annotation module -======================================================= - -.. automodule:: kubernetes.test.test_v1beta1_audit_annotation - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_basic_device.rst b/doc/source/kubernetes.test.test_v1beta1_basic_device.rst index c7312d80c8..8c94f93765 100644 --- a/doc/source/kubernetes.test.test_v1beta1_basic_device.rst +++ b/doc/source/kubernetes.test.test_v1beta1_basic_device.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_basic\_device module .. automodule:: kubernetes.test.test_v1beta1_basic_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy.rst b/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy.rst new file mode 100644 index 0000000000..7cbad2541d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_capacity\_request\_policy module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta1_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy_range.rst b/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy_range.rst new file mode 100644 index 0000000000..7ebb7ed61a --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_capacity\_request\_policy\_range module +====================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_capacity_requirements.rst b/doc/source/kubernetes.test.test_v1beta1_capacity_requirements.rst new file mode 100644 index 0000000000..da6a69f712 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_capacity\_requirements module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta1_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_cel_device_selector.rst b/doc/source/kubernetes.test.test_v1beta1_cel_device_selector.rst index f015590b74..3bf9a6cb62 100644 --- a/doc/source/kubernetes.test.test_v1beta1_cel_device_selector.rst +++ b/doc/source/kubernetes.test.test_v1beta1_cel_device_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_cel\_device\_selector module .. automodule:: kubernetes.test.test_v1beta1_cel_device_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle.rst b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle.rst new file mode 100644 index 0000000000..b256d0fc8a --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_cluster\_trust\_bundle module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta1_cluster_trust_bundle + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_list.rst b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_list.rst new file mode 100644 index 0000000000..572efd77fb --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_cluster\_trust\_bundle\_list module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_cluster_trust_bundle_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_spec.rst new file mode 100644 index 0000000000..4306e46923 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_cluster_trust_bundle_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_cluster\_trust\_bundle\_spec module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_cluster_trust_bundle_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_counter.rst b/doc/source/kubernetes.test.test_v1beta1_counter.rst new file mode 100644 index 0000000000..4a0d9fdb21 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_counter.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_counter module +============================================= + +.. automodule:: kubernetes.test.test_v1beta1_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_counter_set.rst b/doc/source/kubernetes.test.test_v1beta1_counter_set.rst new file mode 100644 index 0000000000..86ca275f74 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_counter\_set module +================================================== + +.. automodule:: kubernetes.test.test_v1beta1_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device.rst b/doc/source/kubernetes.test.test_v1beta1_device.rst index cf7ab930ed..4da7eaf690 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device module .. automodule:: kubernetes.test.test_v1beta1_device :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_allocation_configuration.rst b/doc/source/kubernetes.test.test_v1beta1_device_allocation_configuration.rst index 7fac13c758..c6214de24e 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_allocation_configuration.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_allocation_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_allocation\_configuration module .. automodule:: kubernetes.test.test_v1beta1_device_allocation_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta1_device_allocation_result.rst index 8849f223e8..1266943fa9 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_allocation_result.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_allocation\_result module .. automodule:: kubernetes.test.test_v1beta1_device_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_attribute.rst b/doc/source/kubernetes.test.test_v1beta1_device_attribute.rst index 5c3720b2ad..612bc7ce58 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_attribute.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_attribute.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_attribute module .. automodule:: kubernetes.test.test_v1beta1_device_attribute :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_capacity.rst b/doc/source/kubernetes.test.test_v1beta1_device_capacity.rst index 002592d306..52ae70c2e4 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_capacity.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_capacity.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_capacity module .. automodule:: kubernetes.test.test_v1beta1_device_capacity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_claim.rst b/doc/source/kubernetes.test.test_v1beta1_device_claim.rst index d9d1d1a965..d6a5971dad 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_claim.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_claim.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_claim module .. automodule:: kubernetes.test.test_v1beta1_device_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_claim_configuration.rst b/doc/source/kubernetes.test.test_v1beta1_device_claim_configuration.rst index 59db78abf2..74035b2997 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_claim_configuration.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_claim_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_claim\_configuration module .. automodule:: kubernetes.test.test_v1beta1_device_claim_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_class.rst b/doc/source/kubernetes.test.test_v1beta1_device_class.rst index 23fcf82a79..a6c6d6b800 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_class.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_class module .. automodule:: kubernetes.test.test_v1beta1_device_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_class_configuration.rst b/doc/source/kubernetes.test.test_v1beta1_device_class_configuration.rst index 66f66696c1..a6b4ce0bb1 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_class_configuration.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_class_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_class\_configuration module .. automodule:: kubernetes.test.test_v1beta1_device_class_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_class_list.rst b/doc/source/kubernetes.test.test_v1beta1_device_class_list.rst index bfa6b7ec52..a238194915 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_class_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_class\_list module .. automodule:: kubernetes.test.test_v1beta1_device_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_class_spec.rst b/doc/source/kubernetes.test.test_v1beta1_device_class_spec.rst index 0090ed3c6a..dbf4288375 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_class_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_class_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_class\_spec module .. automodule:: kubernetes.test.test_v1beta1_device_class_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_constraint.rst b/doc/source/kubernetes.test.test_v1beta1_device_constraint.rst index 155f48beba..62cb38d7a1 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_constraint.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_constraint.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_constraint module .. automodule:: kubernetes.test.test_v1beta1_device_constraint :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_counter_consumption.rst b/doc/source/kubernetes.test.test_v1beta1_device_counter_consumption.rst new file mode 100644 index 0000000000..b6748c1f90 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_device\_counter\_consumption module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_request.rst b/doc/source/kubernetes.test.test_v1beta1_device_request.rst index a78a89b568..49e2b307a7 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_request.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_request.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_request module .. automodule:: kubernetes.test.test_v1beta1_device_request :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_request_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta1_device_request_allocation_result.rst index 2b5220fd24..0f11a1078e 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_request_allocation_result.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_request_allocation_result.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_request\_allocation\_result module .. automodule:: kubernetes.test.test_v1beta1_device_request_allocation_result :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_selector.rst b/doc/source/kubernetes.test.test_v1beta1_device_selector.rst index 0b22d65ee1..34e55d8dfd 100644 --- a/doc/source/kubernetes.test.test_v1beta1_device_selector.rst +++ b/doc/source/kubernetes.test.test_v1beta1_device_selector.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_device\_selector module .. automodule:: kubernetes.test.test_v1beta1_device_selector :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_sub_request.rst b/doc/source/kubernetes.test.test_v1beta1_device_sub_request.rst new file mode 100644 index 0000000000..90655165a1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_device\_sub\_request module +========================================================== + +.. automodule:: kubernetes.test.test_v1beta1_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_taint.rst b/doc/source/kubernetes.test.test_v1beta1_device_taint.rst new file mode 100644 index 0000000000..cdee01b957 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_device\_taint module +=================================================== + +.. automodule:: kubernetes.test.test_v1beta1_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_device_toleration.rst b/doc/source/kubernetes.test.test_v1beta1_device_toleration.rst new file mode 100644 index 0000000000..2e6602541e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_device\_toleration module +======================================================== + +.. automodule:: kubernetes.test.test_v1beta1_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_expression_warning.rst b/doc/source/kubernetes.test.test_v1beta1_expression_warning.rst deleted file mode 100644 index d156ab9106..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_expression_warning.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_expression\_warning module -========================================================= - -.. automodule:: kubernetes.test.test_v1beta1_expression_warning - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address.rst index 8ff96fc08f..a906d2e735 100644 --- a/doc/source/kubernetes.test.test_v1beta1_ip_address.rst +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_ip\_address module .. automodule:: kubernetes.test.test_v1beta1_ip_address :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst index 8a11dad4ec..03349c3107 100644 --- a/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_ip\_address\_list module .. automodule:: kubernetes.test.test_v1beta1_ip_address_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst index 047e66e965..0b18de9e51 100644 --- a/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_ip\_address\_spec module .. automodule:: kubernetes.test.test_v1beta1_ip_address_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_json_patch.rst b/doc/source/kubernetes.test.test_v1beta1_json_patch.rst new file mode 100644 index 0000000000..d9ed1dbab1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_json_patch.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_json\_patch module +================================================= + +.. automodule:: kubernetes.test.test_v1beta1_json_patch + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_lease_candidate.rst b/doc/source/kubernetes.test.test_v1beta1_lease_candidate.rst new file mode 100644 index 0000000000..009a86fb26 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_lease\_candidate module +====================================================== + +.. automodule:: kubernetes.test.test_v1beta1_lease_candidate + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_lease_candidate_list.rst b/doc/source/kubernetes.test.test_v1beta1_lease_candidate_list.rst new file mode 100644 index 0000000000..c020077852 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_lease\_candidate\_list module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta1_lease_candidate_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_lease_candidate_spec.rst b/doc/source/kubernetes.test.test_v1beta1_lease_candidate_spec.rst new file mode 100644 index 0000000000..71eef558c9 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_lease\_candidate\_spec module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta1_lease_candidate_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_match_condition.rst b/doc/source/kubernetes.test.test_v1beta1_match_condition.rst index a66593e8f0..4c61d25c14 100644 --- a/doc/source/kubernetes.test.test_v1beta1_match_condition.rst +++ b/doc/source/kubernetes.test.test_v1beta1_match_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_match\_condition module .. automodule:: kubernetes.test.test_v1beta1_match_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_match_resources.rst b/doc/source/kubernetes.test.test_v1beta1_match_resources.rst index c2e1b24252..06a9004b89 100644 --- a/doc/source/kubernetes.test.test_v1beta1_match_resources.rst +++ b/doc/source/kubernetes.test.test_v1beta1_match_resources.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_match\_resources module .. automodule:: kubernetes.test.test_v1beta1_match_resources :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy.rst new file mode 100644 index 0000000000..9b8e0206d1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy module +================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding.rst new file mode 100644 index 0000000000..295590b543 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy\_binding module +========================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy_binding + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_list.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_list.rst new file mode 100644 index 0000000000..594c00d5c8 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy\_binding\_list module +================================================================================ + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy_binding_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_spec.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_spec.rst new file mode 100644 index 0000000000..3c155966df --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_binding_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy\_binding\_spec module +================================================================================ + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy_binding_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_list.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_list.rst new file mode 100644 index 0000000000..4e5882130a --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy\_list module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_spec.rst b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_spec.rst new file mode 100644 index 0000000000..0870fd85c1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutating_admission_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutating\_admission\_policy\_spec module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_mutating_admission_policy_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_mutation.rst b/doc/source/kubernetes.test.test_v1beta1_mutation.rst new file mode 100644 index 0000000000..bad65232c0 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_mutation.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_mutation module +============================================== + +.. automodule:: kubernetes.test.test_v1beta1_mutation + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_named_rule_with_operations.rst b/doc/source/kubernetes.test.test_v1beta1_named_rule_with_operations.rst index 4545c5ced4..76d1a7aeaa 100644 --- a/doc/source/kubernetes.test.test_v1beta1_named_rule_with_operations.rst +++ b/doc/source/kubernetes.test.test_v1beta1_named_rule_with_operations.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_named\_rule\_with\_operations module .. automodule:: kubernetes.test.test_v1beta1_named_rule_with_operations :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_network_device_data.rst b/doc/source/kubernetes.test.test_v1beta1_network_device_data.rst index b95d27b6bf..cf5545bc34 100644 --- a/doc/source/kubernetes.test.test_v1beta1_network_device_data.rst +++ b/doc/source/kubernetes.test.test_v1beta1_network_device_data.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_network\_device\_data module .. automodule:: kubernetes.test.test_v1beta1_network_device_data :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_opaque_device_configuration.rst b/doc/source/kubernetes.test.test_v1beta1_opaque_device_configuration.rst index 845a7b69aa..5f11394390 100644 --- a/doc/source/kubernetes.test.test_v1beta1_opaque_device_configuration.rst +++ b/doc/source/kubernetes.test.test_v1beta1_opaque_device_configuration.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_opaque\_device\_configuration module .. automodule:: kubernetes.test.test_v1beta1_opaque_device_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_param_kind.rst b/doc/source/kubernetes.test.test_v1beta1_param_kind.rst index 8a03bfac7e..2a600b96b4 100644 --- a/doc/source/kubernetes.test.test_v1beta1_param_kind.rst +++ b/doc/source/kubernetes.test.test_v1beta1_param_kind.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_param\_kind module .. automodule:: kubernetes.test.test_v1beta1_param_kind :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_param_ref.rst b/doc/source/kubernetes.test.test_v1beta1_param_ref.rst index c00c3c6b99..0a0da71e26 100644 --- a/doc/source/kubernetes.test.test_v1beta1_param_ref.rst +++ b/doc/source/kubernetes.test.test_v1beta1_param_ref.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_param\_ref module .. automodule:: kubernetes.test.test_v1beta1_param_ref :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst b/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst index 6952c79c1b..4e603ae87e 100644 --- a/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst +++ b/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_parent\_reference module .. automodule:: kubernetes.test.test_v1beta1_parent_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request.rst b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request.rst new file mode 100644 index 0000000000..c3ee011a3c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_pod\_certificate\_request module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta1_pod_certificate_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_list.rst b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_list.rst new file mode 100644 index 0000000000..840f24d15d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_pod\_certificate\_request\_list module +===================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_pod_certificate_request_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_spec.rst b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_spec.rst new file mode 100644 index 0000000000..d867ea9e36 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_pod\_certificate\_request\_spec module +===================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_pod_certificate_request_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_status.rst b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_status.rst new file mode 100644 index 0000000000..4a37761c19 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_pod_certificate_request_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_pod\_certificate\_request\_status module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_pod_certificate_request_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim.rst index 092bd02e76..c0b5596cda 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim module .. automodule:: kubernetes.test.test_v1beta1_resource_claim :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_consumer_reference.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_consumer_reference.rst index 213d0869a7..be8921f1ed 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_consumer_reference.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_consumer_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_consumer\_reference module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_consumer_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_list.rst index f274d59854..004392e3c5 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_list module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_spec.rst index f02c1a9e88..42e8561be3 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_spec module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_status.rst index 89b31b2055..3b4fb9ffd0 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_status.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_status module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template.rst index 07f199cb77..2e1fd5ac72 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_template module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_template :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_list.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_list.rst index 5cb903905f..e4d917fde6 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_template\_list module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_template_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_spec.rst b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_spec.rst index 86d8628e92..9241b7acc7 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_claim_template_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_claim\_template\_spec module .. automodule:: kubernetes.test.test_v1beta1_resource_claim_template_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_pool.rst b/doc/source/kubernetes.test.test_v1beta1_resource_pool.rst index 8a42213df0..04efeeb404 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_pool.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_pool.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_pool module .. automodule:: kubernetes.test.test_v1beta1_resource_pool :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_slice.rst b/doc/source/kubernetes.test.test_v1beta1_resource_slice.rst index 4a00b94ad3..17f4fcf279 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_slice.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_slice.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_slice module .. automodule:: kubernetes.test.test_v1beta1_resource_slice :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1beta1_resource_slice_list.rst index d1fcf1e597..4151aa8b9b 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_slice_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_slice_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_slice\_list module .. automodule:: kubernetes.test.test_v1beta1_resource_slice_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_resource_slice_spec.rst b/doc/source/kubernetes.test.test_v1beta1_resource_slice_spec.rst index a751295e27..a601a3884a 100644 --- a/doc/source/kubernetes.test.test_v1beta1_resource_slice_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_resource_slice_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_resource\_slice\_spec module .. automodule:: kubernetes.test.test_v1beta1_resource_slice_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_self_subject_review.rst b/doc/source/kubernetes.test.test_v1beta1_self_subject_review.rst deleted file mode 100644 index 6b682efec9..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_self_subject_review.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_self\_subject\_review module -=========================================================== - -.. automodule:: kubernetes.test.test_v1beta1_self_subject_review - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_self_subject_review_status.rst b/doc/source/kubernetes.test.test_v1beta1_self_subject_review_status.rst deleted file mode 100644 index 4db39f7bdc..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_self_subject_review_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_self\_subject\_review\_status module -=================================================================== - -.. automodule:: kubernetes.test.test_v1beta1_self_subject_review_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst index 9db34b0206..3429e47665 100644 --- a/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_service\_cidr module .. automodule:: kubernetes.test.test_v1beta1_service_cidr :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst index ed7385868e..9fc36afa7b 100644 --- a/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_service\_cidr\_list module .. automodule:: kubernetes.test.test_v1beta1_service_cidr_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst index f9eb6029cd..ca85c8bfa5 100644 --- a/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_service\_cidr\_spec module .. automodule:: kubernetes.test.test_v1beta1_service_cidr_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst index 5afbc4e17c..06b6adce90 100644 --- a/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_service\_cidr\_status module .. automodule:: kubernetes.test.test_v1beta1_service_cidr_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_storage_version_migration.rst b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration.rst new file mode 100644 index 0000000000..96509ab5b2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_storage\_version\_migration module +================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_storage_version_migration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_list.rst b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_list.rst new file mode 100644 index 0000000000..cccb6cf921 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_storage\_version\_migration\_list module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_storage_version_migration_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_spec.rst b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_spec.rst new file mode 100644 index 0000000000..14c7e0f0e8 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_storage\_version\_migration\_spec module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_storage_version_migration_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_status.rst b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_status.rst new file mode 100644 index 0000000000..bb0dacf933 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_storage_version_migration_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_storage\_version\_migration\_status module +========================================================================= + +.. automodule:: kubernetes.test.test_v1beta1_storage_version_migration_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_type_checking.rst b/doc/source/kubernetes.test.test_v1beta1_type_checking.rst deleted file mode 100644 index 1000fbd9a2..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_type_checking.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_type\_checking module -==================================================== - -.. automodule:: kubernetes.test.test_v1beta1_type_checking - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy.rst deleted file mode 100644 index 39e217f8b1..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy module -=================================================================== - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding.rst deleted file mode 100644 index 5385e59e57..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_binding module -============================================================================ - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_binding - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_list.rst deleted file mode 100644 index 6895d7e554..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_binding\_list module -================================================================================== - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_binding_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_spec.rst deleted file mode 100644 index b34ff834e0..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_binding_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_binding\_spec module -================================================================================== - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_binding_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_list.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_list.rst deleted file mode 100644 index 88d75f6f3b..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_list module -========================================================================= - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_spec.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_spec.rst deleted file mode 100644 index 00b1967d89..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_spec module -========================================================================= - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_status.rst b/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_status.rst deleted file mode 100644 index 2e03af410b..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validating_admission_policy_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validating\_admission\_policy\_status module -=========================================================================== - -.. automodule:: kubernetes.test.test_v1beta1_validating_admission_policy_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_validation.rst b/doc/source/kubernetes.test.test_v1beta1_validation.rst deleted file mode 100644 index e7dc351b57..0000000000 --- a/doc/source/kubernetes.test.test_v1beta1_validation.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1beta1\_validation module -================================================ - -.. automodule:: kubernetes.test.test_v1beta1_validation - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_variable.rst b/doc/source/kubernetes.test.test_v1beta1_variable.rst index 8f3088bda5..e901cad5c1 100644 --- a/doc/source/kubernetes.test.test_v1beta1_variable.rst +++ b/doc/source/kubernetes.test.test_v1beta1_variable.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_variable module .. automodule:: kubernetes.test.test_v1beta1_variable :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst index 3b767a924f..c510f8c9f2 100644 --- a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst +++ b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_volume\_attributes\_class module .. automodule:: kubernetes.test.test_v1beta1_volume_attributes_class :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst index daf247ad1c..8b04fdb5ec 100644 --- a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst +++ b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v1beta1\_volume\_attributes\_class\_list module .. automodule:: kubernetes.test.test_v1beta1_volume_attributes_class_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_allocated_device_status.rst b/doc/source/kubernetes.test.test_v1beta2_allocated_device_status.rst new file mode 100644 index 0000000000..599b441f9c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_allocated\_device\_status module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta2_allocated_device_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta2_allocation_result.rst new file mode 100644 index 0000000000..885360d385 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_allocation\_result module +======================================================== + +.. automodule:: kubernetes.test.test_v1beta2_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy.rst b/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy.rst new file mode 100644 index 0000000000..c821558051 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_capacity\_request\_policy module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta2_capacity_request_policy + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy_range.rst b/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy_range.rst new file mode 100644 index 0000000000..0ff57d5dd2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_capacity_request_policy_range.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_capacity\_request\_policy\_range module +====================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_capacity_request_policy_range + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_capacity_requirements.rst b/doc/source/kubernetes.test.test_v1beta2_capacity_requirements.rst new file mode 100644 index 0000000000..1b2b8e93fc --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_capacity_requirements.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_capacity\_requirements module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta2_capacity_requirements + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_cel_device_selector.rst b/doc/source/kubernetes.test.test_v1beta2_cel_device_selector.rst new file mode 100644 index 0000000000..c3a4924a0d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_cel\_device\_selector module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_cel_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_counter.rst b/doc/source/kubernetes.test.test_v1beta2_counter.rst new file mode 100644 index 0000000000..8a30b720b7 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_counter.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_counter module +============================================= + +.. automodule:: kubernetes.test.test_v1beta2_counter + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_counter_set.rst b/doc/source/kubernetes.test.test_v1beta2_counter_set.rst new file mode 100644 index 0000000000..df0488f969 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_counter\_set module +================================================== + +.. automodule:: kubernetes.test.test_v1beta2_counter_set + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device.rst b/doc/source/kubernetes.test.test_v1beta2_device.rst new file mode 100644 index 0000000000..4efe553e12 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device module +============================================ + +.. automodule:: kubernetes.test.test_v1beta2_device + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_allocation_configuration.rst b/doc/source/kubernetes.test.test_v1beta2_device_allocation_configuration.rst new file mode 100644 index 0000000000..7c5f7e56b4 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_allocation\_configuration module +======================================================================= + +.. automodule:: kubernetes.test.test_v1beta2_device_allocation_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta2_device_allocation_result.rst new file mode 100644 index 0000000000..03ef1c1242 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_allocation\_result module +================================================================ + +.. automodule:: kubernetes.test.test_v1beta2_device_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_attribute.rst b/doc/source/kubernetes.test.test_v1beta2_device_attribute.rst new file mode 100644 index 0000000000..0eb7a68fdf --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_attribute module +======================================================= + +.. automodule:: kubernetes.test.test_v1beta2_device_attribute + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_capacity.rst b/doc/source/kubernetes.test.test_v1beta2_device_capacity.rst new file mode 100644 index 0000000000..f98f0edad2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_capacity module +====================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_capacity + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_claim.rst b/doc/source/kubernetes.test.test_v1beta2_device_claim.rst new file mode 100644 index 0000000000..427db557ed --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_claim module +=================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_claim_configuration.rst b/doc/source/kubernetes.test.test_v1beta2_device_claim_configuration.rst new file mode 100644 index 0000000000..e350104d8d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_claim\_configuration module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_claim_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_class.rst b/doc/source/kubernetes.test.test_v1beta2_device_class.rst new file mode 100644 index 0000000000..e36db845cd --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_class module +=================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_class + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_class_configuration.rst b/doc/source/kubernetes.test.test_v1beta2_device_class_configuration.rst new file mode 100644 index 0000000000..1b33656090 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_class\_configuration module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_class_configuration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_class_list.rst b/doc/source/kubernetes.test.test_v1beta2_device_class_list.rst new file mode 100644 index 0000000000..621216bbd2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_class\_list module +========================================================= + +.. automodule:: kubernetes.test.test_v1beta2_device_class_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_class_spec.rst b/doc/source/kubernetes.test.test_v1beta2_device_class_spec.rst new file mode 100644 index 0000000000..95f55a2dfa --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_class\_spec module +========================================================= + +.. automodule:: kubernetes.test.test_v1beta2_device_class_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_constraint.rst b/doc/source/kubernetes.test.test_v1beta2_device_constraint.rst new file mode 100644 index 0000000000..14daf433d6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_constraint module +======================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_constraint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_counter_consumption.rst b/doc/source/kubernetes.test.test_v1beta2_device_counter_consumption.rst new file mode 100644 index 0000000000..379f5e7176 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_counter\_consumption module +================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_counter_consumption + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_request.rst b/doc/source/kubernetes.test.test_v1beta2_device_request.rst new file mode 100644 index 0000000000..aa7dd6b1a6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_request module +===================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_request_allocation_result.rst b/doc/source/kubernetes.test.test_v1beta2_device_request_allocation_result.rst new file mode 100644 index 0000000000..7003e0b213 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_request\_allocation\_result module +========================================================================= + +.. automodule:: kubernetes.test.test_v1beta2_device_request_allocation_result + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_selector.rst b/doc/source/kubernetes.test.test_v1beta2_device_selector.rst new file mode 100644 index 0000000000..b6a54da141 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_selector module +====================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_selector + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_sub_request.rst b/doc/source/kubernetes.test.test_v1beta2_device_sub_request.rst new file mode 100644 index 0000000000..beece386ff --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_sub\_request module +========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_sub_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_taint.rst b/doc/source/kubernetes.test.test_v1beta2_device_taint.rst new file mode 100644 index 0000000000..e3467b6675 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_taint module +=================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_taint + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_device_toleration.rst b/doc/source/kubernetes.test.test_v1beta2_device_toleration.rst new file mode 100644 index 0000000000..24b07bf0cc --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_device\_toleration module +======================================================== + +.. automodule:: kubernetes.test.test_v1beta2_device_toleration + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_exact_device_request.rst b/doc/source/kubernetes.test.test_v1beta2_exact_device_request.rst new file mode 100644 index 0000000000..3f4bdb4813 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_exact\_device\_request module +============================================================ + +.. automodule:: kubernetes.test.test_v1beta2_exact_device_request + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_network_device_data.rst b/doc/source/kubernetes.test.test_v1beta2_network_device_data.rst new file mode 100644 index 0000000000..acf0a7e47d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_network\_device\_data module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_network_device_data + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst b/doc/source/kubernetes.test.test_v1beta2_opaque_device_configuration.rst similarity index 51% rename from doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst rename to doc/source/kubernetes.test.test_v1beta2_opaque_device_configuration.rst index 4e17c6be53..bc06ddd63e 100644 --- a/doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst +++ b/doc/source/kubernetes.test.test_v1beta2_opaque_device_configuration.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha3\_device\_class\_configuration module +kubernetes.test.test\_v1beta2\_opaque\_device\_configuration module =================================================================== -.. automodule:: kubernetes.test.test_v1alpha3_device_class_configuration +.. automodule:: kubernetes.test.test_v1beta2_opaque_device_configuration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim.rst new file mode 100644 index 0000000000..383c165cb6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim module +===================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_consumer_reference.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_consumer_reference.rst new file mode 100644 index 0000000000..743bd70e24 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_consumer\_reference module +========================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_consumer_reference + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_list.rst new file mode 100644 index 0000000000..51c0f9d069 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_list module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_spec.rst new file mode 100644 index 0000000000..8ef1654cfa --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_spec module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_status.rst new file mode 100644 index 0000000000..7b40fcaa82 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_status module +============================================================= + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_status + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template.rst new file mode 100644 index 0000000000..002ebfb65e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_template module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_template + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_list.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_list.rst new file mode 100644 index 0000000000..4e763cdf97 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_template\_list module +===================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_template_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_spec.rst b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_spec.rst new file mode 100644 index 0000000000..30eb5364ff --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_claim\_template\_spec module +===================================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_claim_template_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_pool.rst b/doc/source/kubernetes.test.test_v1beta2_resource_pool.rst new file mode 100644 index 0000000000..fbd9d7265e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_pool module +==================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_pool + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_slice.rst b/doc/source/kubernetes.test.test_v1beta2_resource_slice.rst new file mode 100644 index 0000000000..4f4a1fec08 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_slice module +===================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_slice + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1beta2_resource_slice_list.rst new file mode 100644 index 0000000000..1a1f614892 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_slice\_list module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_slice_list + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v1beta2_resource_slice_spec.rst b/doc/source/kubernetes.test.test_v1beta2_resource_slice_spec.rst new file mode 100644 index 0000000000..f75edbd34c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta2_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta2\_resource\_slice\_spec module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta2_resource_slice_spec + :members: + :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_container_resource_metric_source.rst b/doc/source/kubernetes.test.test_v2_container_resource_metric_source.rst index a9974a2cf1..d07971201f 100644 --- a/doc/source/kubernetes.test.test_v2_container_resource_metric_source.rst +++ b/doc/source/kubernetes.test.test_v2_container_resource_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_container\_resource\_metric\_source module .. automodule:: kubernetes.test.test_v2_container_resource_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_container_resource_metric_status.rst b/doc/source/kubernetes.test.test_v2_container_resource_metric_status.rst index fb6892317d..dd73e3ef04 100644 --- a/doc/source/kubernetes.test.test_v2_container_resource_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_container_resource_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_container\_resource\_metric\_status module .. automodule:: kubernetes.test.test_v2_container_resource_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_cross_version_object_reference.rst b/doc/source/kubernetes.test.test_v2_cross_version_object_reference.rst index 6a953c7668..dbfea29a3f 100644 --- a/doc/source/kubernetes.test.test_v2_cross_version_object_reference.rst +++ b/doc/source/kubernetes.test.test_v2_cross_version_object_reference.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_cross\_version\_object\_reference module .. automodule:: kubernetes.test.test_v2_cross_version_object_reference :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_external_metric_source.rst b/doc/source/kubernetes.test.test_v2_external_metric_source.rst index 9850739a8c..3a9a03bc73 100644 --- a/doc/source/kubernetes.test.test_v2_external_metric_source.rst +++ b/doc/source/kubernetes.test.test_v2_external_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_external\_metric\_source module .. automodule:: kubernetes.test.test_v2_external_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_external_metric_status.rst b/doc/source/kubernetes.test.test_v2_external_metric_status.rst index 5f1ec50376..69624948e1 100644 --- a/doc/source/kubernetes.test.test_v2_external_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_external_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_external\_metric\_status module .. automodule:: kubernetes.test.test_v2_external_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler.rst index 0af19525c0..b9646bc6c4 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_behavior.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_behavior.rst index 69a9ee0eaa..1def92aeae 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_behavior.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_behavior.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler\_behavior module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler_behavior :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_condition.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_condition.rst index 0cf05f394e..22d65b3048 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_condition.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_condition.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler\_condition module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler_condition :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_list.rst index 7f62c9ee18..1ea00ed6d5 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_list.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_list.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler\_list module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler_list :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_spec.rst index 263b1a4930..f2da02de84 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_spec.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler\_spec module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_status.rst index 912b065c2b..ce753d6ef5 100644 --- a/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_status.rst +++ b/doc/source/kubernetes.test.test_v2_horizontal_pod_autoscaler_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_horizontal\_pod\_autoscaler\_status module .. automodule:: kubernetes.test.test_v2_horizontal_pod_autoscaler_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_hpa_scaling_policy.rst b/doc/source/kubernetes.test.test_v2_hpa_scaling_policy.rst index f8a5fa1c70..63df3baa3f 100644 --- a/doc/source/kubernetes.test.test_v2_hpa_scaling_policy.rst +++ b/doc/source/kubernetes.test.test_v2_hpa_scaling_policy.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_hpa\_scaling\_policy module .. automodule:: kubernetes.test.test_v2_hpa_scaling_policy :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_hpa_scaling_rules.rst b/doc/source/kubernetes.test.test_v2_hpa_scaling_rules.rst index 3e6c7c3c1e..134e670822 100644 --- a/doc/source/kubernetes.test.test_v2_hpa_scaling_rules.rst +++ b/doc/source/kubernetes.test.test_v2_hpa_scaling_rules.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_hpa\_scaling\_rules module .. automodule:: kubernetes.test.test_v2_hpa_scaling_rules :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_metric_identifier.rst b/doc/source/kubernetes.test.test_v2_metric_identifier.rst index c56974f321..efb33de0a2 100644 --- a/doc/source/kubernetes.test.test_v2_metric_identifier.rst +++ b/doc/source/kubernetes.test.test_v2_metric_identifier.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_metric\_identifier module .. automodule:: kubernetes.test.test_v2_metric_identifier :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_metric_spec.rst b/doc/source/kubernetes.test.test_v2_metric_spec.rst index 4621aa93f7..a8ef5d7d69 100644 --- a/doc/source/kubernetes.test.test_v2_metric_spec.rst +++ b/doc/source/kubernetes.test.test_v2_metric_spec.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_metric\_spec module .. automodule:: kubernetes.test.test_v2_metric_spec :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_metric_status.rst b/doc/source/kubernetes.test.test_v2_metric_status.rst index 35433acdef..016367abc3 100644 --- a/doc/source/kubernetes.test.test_v2_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_metric\_status module .. automodule:: kubernetes.test.test_v2_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_metric_target.rst b/doc/source/kubernetes.test.test_v2_metric_target.rst index d7c7ce4673..e9102b8dae 100644 --- a/doc/source/kubernetes.test.test_v2_metric_target.rst +++ b/doc/source/kubernetes.test.test_v2_metric_target.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_metric\_target module .. automodule:: kubernetes.test.test_v2_metric_target :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_metric_value_status.rst b/doc/source/kubernetes.test.test_v2_metric_value_status.rst index d49b8176fd..83bf9981e8 100644 --- a/doc/source/kubernetes.test.test_v2_metric_value_status.rst +++ b/doc/source/kubernetes.test.test_v2_metric_value_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_metric\_value\_status module .. automodule:: kubernetes.test.test_v2_metric_value_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_object_metric_source.rst b/doc/source/kubernetes.test.test_v2_object_metric_source.rst index d9761e3e1b..f52e768877 100644 --- a/doc/source/kubernetes.test.test_v2_object_metric_source.rst +++ b/doc/source/kubernetes.test.test_v2_object_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_object\_metric\_source module .. automodule:: kubernetes.test.test_v2_object_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_object_metric_status.rst b/doc/source/kubernetes.test.test_v2_object_metric_status.rst index c87542e1eb..37c25f75bc 100644 --- a/doc/source/kubernetes.test.test_v2_object_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_object_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_object\_metric\_status module .. automodule:: kubernetes.test.test_v2_object_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_pods_metric_source.rst b/doc/source/kubernetes.test.test_v2_pods_metric_source.rst index a5c2c965ee..32bfd3d479 100644 --- a/doc/source/kubernetes.test.test_v2_pods_metric_source.rst +++ b/doc/source/kubernetes.test.test_v2_pods_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_pods\_metric\_source module .. automodule:: kubernetes.test.test_v2_pods_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_pods_metric_status.rst b/doc/source/kubernetes.test.test_v2_pods_metric_status.rst index 291bd9b5a5..c57dae8b2f 100644 --- a/doc/source/kubernetes.test.test_v2_pods_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_pods_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_pods\_metric\_status module .. automodule:: kubernetes.test.test_v2_pods_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_resource_metric_source.rst b/doc/source/kubernetes.test.test_v2_resource_metric_source.rst index 8eaf291d7b..daf06d145c 100644 --- a/doc/source/kubernetes.test.test_v2_resource_metric_source.rst +++ b/doc/source/kubernetes.test.test_v2_resource_metric_source.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_resource\_metric\_source module .. automodule:: kubernetes.test.test_v2_resource_metric_source :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_v2_resource_metric_status.rst b/doc/source/kubernetes.test.test_v2_resource_metric_status.rst index a9774f72a5..d636380cb4 100644 --- a/doc/source/kubernetes.test.test_v2_resource_metric_status.rst +++ b/doc/source/kubernetes.test.test_v2_resource_metric_status.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_v2\_resource\_metric\_status module .. automodule:: kubernetes.test.test_v2_resource_metric_status :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_version_api.rst b/doc/source/kubernetes.test.test_version_api.rst index 5953069363..0e943d6fb0 100644 --- a/doc/source/kubernetes.test.test_version_api.rst +++ b/doc/source/kubernetes.test.test_version_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_version\_api module .. automodule:: kubernetes.test.test_version_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_version_info.rst b/doc/source/kubernetes.test.test_version_info.rst index 83116e191d..6232b9359c 100644 --- a/doc/source/kubernetes.test.test_version_info.rst +++ b/doc/source/kubernetes.test.test_version_info.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_version\_info module .. automodule:: kubernetes.test.test_version_info :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.test.test_well_known_api.rst b/doc/source/kubernetes.test.test_well_known_api.rst index 7a2dfcecf1..0e523946e7 100644 --- a/doc/source/kubernetes.test.test_well_known_api.rst +++ b/doc/source/kubernetes.test.test_well_known_api.rst @@ -3,5 +3,5 @@ kubernetes.test.test\_well\_known\_api module .. automodule:: kubernetes.test.test_well_known_api :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.utils.create_from_yaml.rst b/doc/source/kubernetes.utils.create_from_yaml.rst index 9814e2224b..42d1e5a06a 100644 --- a/doc/source/kubernetes.utils.create_from_yaml.rst +++ b/doc/source/kubernetes.utils.create_from_yaml.rst @@ -3,5 +3,5 @@ kubernetes.utils.create\_from\_yaml module .. automodule:: kubernetes.utils.create_from_yaml :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.utils.duration.rst b/doc/source/kubernetes.utils.duration.rst index 1607ac0b72..18dc8a1888 100644 --- a/doc/source/kubernetes.utils.duration.rst +++ b/doc/source/kubernetes.utils.duration.rst @@ -3,5 +3,5 @@ kubernetes.utils.duration module .. automodule:: kubernetes.utils.duration :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.utils.quantity.rst b/doc/source/kubernetes.utils.quantity.rst index 5c1d06ea0b..22dc80ab6e 100644 --- a/doc/source/kubernetes.utils.quantity.rst +++ b/doc/source/kubernetes.utils.quantity.rst @@ -3,5 +3,5 @@ kubernetes.utils.quantity module .. automodule:: kubernetes.utils.quantity :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/doc/source/kubernetes.utils.rst b/doc/source/kubernetes.utils.rst index d1c6b6c3a7..1e93d904bd 100644 --- a/doc/source/kubernetes.utils.rst +++ b/doc/source/kubernetes.utils.rst @@ -16,5 +16,5 @@ Module contents .. automodule:: kubernetes.utils :members: - :undoc-members: :show-inheritance: + :undoc-members: diff --git a/examples/README.md b/examples/README.md index 618e840ea3..d84c633ae2 100644 --- a/examples/README.md +++ b/examples/README.md @@ -15,3 +15,15 @@ installed following the directions If you find a problem please file an [issue](https://github.com/kubernetes-client/python/issues). + + +--- + +## Running Examples Locally + +### Prerequisites + +- Python 3.8 or newer +- Kubernetes Python client installed: + ```bash + pip install kubernetes diff --git a/examples/apply_from_dict.py b/examples/apply_from_dict.py index 9c0ac81242..972d42529d 100644 --- a/examples/apply_from_dict.py +++ b/examples/apply_from_dict.py @@ -1,3 +1,7 @@ +import sys +from kubernetes.client.rest import ApiException + + from kubernetes import client, config, utils def main(): config.load_kube_config() @@ -6,5 +10,12 @@ def main(): example_dict = {'apiVersion': 'apps/v1', 'kind': 'Deployment', 'metadata': {'name': 'k8s-py-client-nginx'}, 'spec': {'selector': {'matchLabels': {'app': 'nginx'}}, 'replicas': 1, 'template': {'metadata': {'labels': {'app': 'nginx'}}, 'spec': {'containers': [{'name': 'nginx', 'image': 'nginx:1.14.2', 'ports': [{'containerPort': 80}]}]}}}} utils.create_from_dict(k8s_client, example_dict) -if __name__ == '__main__': - main() \ No newline at end of file +if __name__ == "__main__": + try: + main() + except ApiException as e: + print(f"Kubernetes API error: {e}", file=sys.stderr) + sys.exit(1) + except Exception as e: + print(f"Unexpected error: {e}", file=sys.stderr) + sys.exit(2) diff --git a/examples/enable_debug_logging.py b/examples/enable_debug_logging.py new file mode 100644 index 0000000000..573948f3c1 --- /dev/null +++ b/examples/enable_debug_logging.py @@ -0,0 +1,61 @@ +# Copyright 2025 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# This example demonstrates how to enable debug logging in the Kubernetes +# Python client and how it can be used for troubleshooting requests/responses. + +from kubernetes import client, config + + +def main(): + # Load kubeconfig from default location + config.load_kube_config() + + # Enable debug logging + configuration = client.Configuration() + configuration.debug = True + api_client = client.ApiClient(configuration=configuration) + + # Use AppsV1Api with debug logging enabled + apps_v1 = client.AppsV1Api(api_client=api_client) + + # Example: Create a dummy deployment (adjust namespace as needed) + deployment = client.V1Deployment( + api_version="apps/v1", + kind="Deployment", + metadata=client.V1ObjectMeta(name="debug-example"), + spec=client.V1DeploymentSpec( + replicas=1, + selector={"matchLabels": {"app": "debug"}}, + template=client.V1PodTemplateSpec( + metadata=client.V1ObjectMeta(labels={"app": "debug"}), + spec=client.V1PodSpec( + containers=[ + client.V1Container( + name="busybox", + image="busybox", + command=["sh", "-c", "echo Hello, Kubernetes! && sleep 3600"] + ) + ] + ), + ), + ), + ) + + # Create the deployment + try: + print("[INFO] Creating deployment...") + apps_v1.create_namespaced_deployment( + namespace="default", body=deployment + ) + except client.exceptions.ApiException as e: + print("[ERROR] Exception occurred:", e) + + +if __name__ == "__main__": + main() diff --git a/examples/watch/watch_recovery.py b/examples/watch/watch_recovery.py new file mode 100644 index 0000000000..f07caf5096 --- /dev/null +++ b/examples/watch/watch_recovery.py @@ -0,0 +1,78 @@ +# Copyright 2025 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Uses watch to print a stream of Pod events from the default namespace. +The allow_watch_bookmarks flag is set to True, so the API server can send +BOOKMARK events. + +If the connection to the API server is lost, the script will reconnect and +resume watching from the most recently received resource version. + +For more information, see: +- https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes +- https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-watch +""" + +import urllib3 + +from kubernetes import config +from kubernetes.client import api_client +from kubernetes.client.exceptions import ApiException +from kubernetes.dynamic.client import DynamicClient + +NAMESPACE = "default" + + +def main(): + # Configs can be set in Configuration class directly or using helper + # utility. If no argument provided, the config will be loaded from + # default location. + config.load_kube_config() + client = DynamicClient(api_client.ApiClient()) + api = client.resources.get(api_version="v1", kind="Pod") + + # Setting resource_version=None means the server will send synthetic + # ADDED events for all resources that exist when the watch starts. + resource_version = None + while True: + try: + for event in api.watch( + namespace=NAMESPACE, + resource_version=resource_version, + allow_watch_bookmarks=True, + ): + # Remember the last resourceVersion we saw, so we can resume + # watching from there if the connection is lost. + resource_version = event['object'].metadata.resourceVersion + + print("Event: %s %s %s" % ( + resource_version, + event['type'], + event['object'].metadata.name, + )) + + except ApiException as err: + if err.status == 410: + print("ERROR: The requested resource version is no longer available.") + resource_version = None + else: + raise + + except urllib3.exceptions.ProtocolError: + print("Lost connection to the k8s API server. Reconnecting...") + + +if __name__ == "__main__": + main() diff --git a/kubernetes/.openapi-generator/swagger.json.sha256 b/kubernetes/.openapi-generator/swagger.json.sha256 index 9d3273afe1..cedf7b5445 100644 --- a/kubernetes/.openapi-generator/swagger.json.sha256 +++ b/kubernetes/.openapi-generator/swagger.json.sha256 @@ -1 +1 @@ -5f773c685cb5e7b97c1b3be4a7cff387a8077a4789c738dac715ba91b1c50eda \ No newline at end of file +51a2e56ab80c4ae78c7e06fae1600eb7e15cfefd37b4d47c778f52e9438fd54d \ No newline at end of file diff --git a/kubernetes/README.md b/kubernetes/README.md index 2886ef83a9..effedf1f25 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: release-1.32 -- Package version: 32.0.0+snapshot +- API version: release-1.35 +- Package version: 35.0.0+snapshot - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -130,24 +130,21 @@ Class | Method | HTTP request | Description *AdmissionregistrationV1alpha1Api* | [**read_mutating_admission_policy_binding**](docs/AdmissionregistrationV1alpha1Api.md#read_mutating_admission_policy_binding) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | *AdmissionregistrationV1alpha1Api* | [**replace_mutating_admission_policy**](docs/AdmissionregistrationV1alpha1Api.md#replace_mutating_admission_policy) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name} | *AdmissionregistrationV1alpha1Api* | [**replace_mutating_admission_policy_binding**](docs/AdmissionregistrationV1alpha1Api.md#replace_mutating_admission_policy_binding) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | -*AdmissionregistrationV1beta1Api* | [**create_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#create_validating_admission_policy) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | -*AdmissionregistrationV1beta1Api* | [**create_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#create_validating_admission_policy_binding) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | -*AdmissionregistrationV1beta1Api* | [**delete_collection_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_validating_admission_policy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | -*AdmissionregistrationV1beta1Api* | [**delete_collection_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_validating_admission_policy_binding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | -*AdmissionregistrationV1beta1Api* | [**delete_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#delete_validating_admission_policy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | -*AdmissionregistrationV1beta1Api* | [**delete_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#delete_validating_admission_policy_binding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | +*AdmissionregistrationV1beta1Api* | [**create_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#create_mutating_admission_policy) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | +*AdmissionregistrationV1beta1Api* | [**create_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#create_mutating_admission_policy_binding) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | +*AdmissionregistrationV1beta1Api* | [**delete_collection_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_mutating_admission_policy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | +*AdmissionregistrationV1beta1Api* | [**delete_collection_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_mutating_admission_policy_binding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | +*AdmissionregistrationV1beta1Api* | [**delete_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#delete_mutating_admission_policy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | +*AdmissionregistrationV1beta1Api* | [**delete_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#delete_mutating_admission_policy_binding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | *AdmissionregistrationV1beta1Api* | [**get_api_resources**](docs/AdmissionregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/admissionregistration.k8s.io/v1beta1/ | -*AdmissionregistrationV1beta1Api* | [**list_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#list_validating_admission_policy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | -*AdmissionregistrationV1beta1Api* | [**list_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#list_validating_admission_policy_binding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | -*AdmissionregistrationV1beta1Api* | [**patch_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#patch_validating_admission_policy) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | -*AdmissionregistrationV1beta1Api* | [**patch_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#patch_validating_admission_policy_binding) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | -*AdmissionregistrationV1beta1Api* | [**patch_validating_admission_policy_status**](docs/AdmissionregistrationV1beta1Api.md#patch_validating_admission_policy_status) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | -*AdmissionregistrationV1beta1Api* | [**read_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#read_validating_admission_policy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | -*AdmissionregistrationV1beta1Api* | [**read_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#read_validating_admission_policy_binding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | -*AdmissionregistrationV1beta1Api* | [**read_validating_admission_policy_status**](docs/AdmissionregistrationV1beta1Api.md#read_validating_admission_policy_status) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | -*AdmissionregistrationV1beta1Api* | [**replace_validating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#replace_validating_admission_policy) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | -*AdmissionregistrationV1beta1Api* | [**replace_validating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#replace_validating_admission_policy_binding) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | -*AdmissionregistrationV1beta1Api* | [**replace_validating_admission_policy_status**](docs/AdmissionregistrationV1beta1Api.md#replace_validating_admission_policy_status) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | +*AdmissionregistrationV1beta1Api* | [**list_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#list_mutating_admission_policy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | +*AdmissionregistrationV1beta1Api* | [**list_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#list_mutating_admission_policy_binding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | +*AdmissionregistrationV1beta1Api* | [**patch_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#patch_mutating_admission_policy) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | +*AdmissionregistrationV1beta1Api* | [**patch_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#patch_mutating_admission_policy_binding) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | +*AdmissionregistrationV1beta1Api* | [**read_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#read_mutating_admission_policy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | +*AdmissionregistrationV1beta1Api* | [**read_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#read_mutating_admission_policy_binding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | +*AdmissionregistrationV1beta1Api* | [**replace_mutating_admission_policy**](docs/AdmissionregistrationV1beta1Api.md#replace_mutating_admission_policy) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | +*AdmissionregistrationV1beta1Api* | [**replace_mutating_admission_policy_binding**](docs/AdmissionregistrationV1beta1Api.md#replace_mutating_admission_policy_binding) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | *ApiextensionsApi* | [**get_api_group**](docs/ApiextensionsApi.md#get_api_group) | **GET** /apis/apiextensions.k8s.io/ | *ApiextensionsV1Api* | [**create_custom_resource_definition**](docs/ApiextensionsV1Api.md#create_custom_resource_definition) | **POST** /apis/apiextensions.k8s.io/v1/customresourcedefinitions | *ApiextensionsV1Api* | [**delete_collection_custom_resource_definition**](docs/ApiextensionsV1Api.md#delete_collection_custom_resource_definition) | **DELETE** /apis/apiextensions.k8s.io/v1/customresourcedefinitions | @@ -240,8 +237,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 | @@ -320,6 +315,25 @@ 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* | [**create_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#create_namespaced_pod_certificate_request) | **POST** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests | +*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* | [**delete_collection_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#delete_collection_namespaced_pod_certificate_request) | **DELETE** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests | +*CertificatesV1beta1Api* | [**delete_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#delete_namespaced_pod_certificate_request) | **DELETE** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name} | +*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* | [**list_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#list_namespaced_pod_certificate_request) | **GET** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests | +*CertificatesV1beta1Api* | [**list_pod_certificate_request_for_all_namespaces**](docs/CertificatesV1beta1Api.md#list_pod_certificate_request_for_all_namespaces) | **GET** /apis/certificates.k8s.io/v1beta1/podcertificaterequests | +*CertificatesV1beta1Api* | [**patch_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#patch_cluster_trust_bundle) | **PATCH** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**patch_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#patch_namespaced_pod_certificate_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name} | +*CertificatesV1beta1Api* | [**patch_namespaced_pod_certificate_request_status**](docs/CertificatesV1beta1Api.md#patch_namespaced_pod_certificate_request_status) | **PATCH** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status | +*CertificatesV1beta1Api* | [**read_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#read_cluster_trust_bundle) | **GET** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**read_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#read_namespaced_pod_certificate_request) | **GET** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name} | +*CertificatesV1beta1Api* | [**read_namespaced_pod_certificate_request_status**](docs/CertificatesV1beta1Api.md#read_namespaced_pod_certificate_request_status) | **GET** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status | +*CertificatesV1beta1Api* | [**replace_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#replace_cluster_trust_bundle) | **PUT** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**replace_namespaced_pod_certificate_request**](docs/CertificatesV1beta1Api.md#replace_namespaced_pod_certificate_request) | **PUT** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name} | +*CertificatesV1beta1Api* | [**replace_namespaced_pod_certificate_request_status**](docs/CertificatesV1beta1Api.md#replace_namespaced_pod_certificate_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status | *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 | @@ -339,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} | @@ -560,7 +583,7 @@ Class | Method | HTTP request | Description *CustomObjectsApi* | [**get_namespaced_custom_object_scale**](docs/CustomObjectsApi.md#get_namespaced_custom_object_scale) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | *CustomObjectsApi* | [**get_namespaced_custom_object_status**](docs/CustomObjectsApi.md#get_namespaced_custom_object_status) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | *CustomObjectsApi* | [**list_cluster_custom_object**](docs/CustomObjectsApi.md#list_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural} | -*CustomObjectsApi* | [**list_custom_object_for_all_namespaces**](docs/CustomObjectsApi.md#list_custom_object_for_all_namespaces) | **GET** /apis/{group}/{version}/{plural}#‎ | +*CustomObjectsApi* | [**list_custom_object_for_all_namespaces**](docs/CustomObjectsApi.md#list_custom_object_for_all_namespaces) | **GET** /apis/{group}/{version}/{resource_plural} | *CustomObjectsApi* | [**list_namespaced_custom_object**](docs/CustomObjectsApi.md#list_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} | *CustomObjectsApi* | [**patch_cluster_custom_object**](docs/CustomObjectsApi.md#patch_cluster_custom_object) | **PATCH** /apis/{group}/{version}/{plural}/{name} | *CustomObjectsApi* | [**patch_cluster_custom_object_scale**](docs/CustomObjectsApi.md#patch_cluster_custom_object_scale) | **PATCH** /apis/{group}/{version}/{plural}/{name}/scale | @@ -632,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 | @@ -732,40 +772,51 @@ Class | Method | HTTP request | Description *RbacAuthorizationV1Api* | [**replace_namespaced_role**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | *RbacAuthorizationV1Api* | [**replace_namespaced_role_binding**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | *ResourceApi* | [**get_api_group**](docs/ResourceApi.md#get_api_group) | **GET** /apis/resource.k8s.io/ | -*ResourceV1alpha3Api* | [**create_device_class**](docs/ResourceV1alpha3Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | -*ResourceV1alpha3Api* | [**create_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | -*ResourceV1alpha3Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | -*ResourceV1alpha3Api* | [**create_resource_slice**](docs/ResourceV1alpha3Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1alpha3/resourceslices | -*ResourceV1alpha3Api* | [**delete_collection_device_class**](docs/ResourceV1alpha3Api.md#delete_collection_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses | -*ResourceV1alpha3Api* | [**delete_collection_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | -*ResourceV1alpha3Api* | [**delete_collection_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | -*ResourceV1alpha3Api* | [**delete_collection_resource_slice**](docs/ResourceV1alpha3Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices | -*ResourceV1alpha3Api* | [**delete_device_class**](docs/ResourceV1alpha3Api.md#delete_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | -*ResourceV1alpha3Api* | [**delete_namespaced_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} | +*ResourceV1Api* | [**create_device_class**](docs/ResourceV1Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1/deviceclasses | +*ResourceV1Api* | [**create_namespaced_resource_claim**](docs/ResourceV1Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | +*ResourceV1Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1Api* | [**create_resource_slice**](docs/ResourceV1Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1/resourceslices | +*ResourceV1Api* | [**delete_collection_device_class**](docs/ResourceV1Api.md#delete_collection_device_class) | **DELETE** /apis/resource.k8s.io/v1/deviceclasses | +*ResourceV1Api* | [**delete_collection_namespaced_resource_claim**](docs/ResourceV1Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | +*ResourceV1Api* | [**delete_collection_namespaced_resource_claim_template**](docs/ResourceV1Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1Api* | [**delete_collection_resource_slice**](docs/ResourceV1Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1/resourceslices | +*ResourceV1Api* | [**delete_device_class**](docs/ResourceV1Api.md#delete_device_class) | **DELETE** /apis/resource.k8s.io/v1/deviceclasses/{name} | +*ResourceV1Api* | [**delete_namespaced_resource_claim**](docs/ResourceV1Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1Api* | [**delete_namespaced_resource_claim_template**](docs/ResourceV1Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1Api* | [**delete_resource_slice**](docs/ResourceV1Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1/resourceslices/{name} | +*ResourceV1Api* | [**get_api_resources**](docs/ResourceV1Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1/ | +*ResourceV1Api* | [**list_device_class**](docs/ResourceV1Api.md#list_device_class) | **GET** /apis/resource.k8s.io/v1/deviceclasses | +*ResourceV1Api* | [**list_namespaced_resource_claim**](docs/ResourceV1Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | +*ResourceV1Api* | [**list_namespaced_resource_claim_template**](docs/ResourceV1Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1Api* | [**list_resource_claim_for_all_namespaces**](docs/ResourceV1Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1/resourceclaims | +*ResourceV1Api* | [**list_resource_claim_template_for_all_namespaces**](docs/ResourceV1Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1/resourceclaimtemplates | +*ResourceV1Api* | [**list_resource_slice**](docs/ResourceV1Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1/resourceslices | +*ResourceV1Api* | [**patch_device_class**](docs/ResourceV1Api.md#patch_device_class) | **PATCH** /apis/resource.k8s.io/v1/deviceclasses/{name} | +*ResourceV1Api* | [**patch_namespaced_resource_claim**](docs/ResourceV1Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1Api* | [**patch_namespaced_resource_claim_status**](docs/ResourceV1Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1Api* | [**patch_namespaced_resource_claim_template**](docs/ResourceV1Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1Api* | [**patch_resource_slice**](docs/ResourceV1Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1/resourceslices/{name} | +*ResourceV1Api* | [**read_device_class**](docs/ResourceV1Api.md#read_device_class) | **GET** /apis/resource.k8s.io/v1/deviceclasses/{name} | +*ResourceV1Api* | [**read_namespaced_resource_claim**](docs/ResourceV1Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1Api* | [**read_namespaced_resource_claim_status**](docs/ResourceV1Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1Api* | [**read_namespaced_resource_claim_template**](docs/ResourceV1Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1Api* | [**read_resource_slice**](docs/ResourceV1Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1/resourceslices/{name} | +*ResourceV1Api* | [**replace_device_class**](docs/ResourceV1Api.md#replace_device_class) | **PUT** /apis/resource.k8s.io/v1/deviceclasses/{name} | +*ResourceV1Api* | [**replace_namespaced_resource_claim**](docs/ResourceV1Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1Api* | [**replace_resource_slice**](docs/ResourceV1Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1/resourceslices/{name} | +*ResourceV1alpha3Api* | [**create_device_taint_rule**](docs/ResourceV1alpha3Api.md#create_device_taint_rule) | **POST** /apis/resource.k8s.io/v1alpha3/devicetaintrules | +*ResourceV1alpha3Api* | [**delete_collection_device_taint_rule**](docs/ResourceV1alpha3Api.md#delete_collection_device_taint_rule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules | +*ResourceV1alpha3Api* | [**delete_device_taint_rule**](docs/ResourceV1alpha3Api.md#delete_device_taint_rule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | *ResourceV1alpha3Api* | [**get_api_resources**](docs/ResourceV1alpha3Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1alpha3/ | -*ResourceV1alpha3Api* | [**list_device_class**](docs/ResourceV1alpha3Api.md#list_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses | -*ResourceV1alpha3Api* | [**list_namespaced_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_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha3Api* | [**patch_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha3Api* | [**patch_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha3Api* | [**patch_resource_slice**](docs/ResourceV1alpha3Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | -*ResourceV1alpha3Api* | [**read_device_class**](docs/ResourceV1alpha3Api.md#read_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | -*ResourceV1alpha3Api* | [**read_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha3Api* | [**read_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha3Api* | [**read_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha3Api* | [**read_resource_slice**](docs/ResourceV1alpha3Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | -*ResourceV1alpha3Api* | [**replace_device_class**](docs/ResourceV1alpha3Api.md#replace_device_class) | **PUT** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | -*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha3Api* | [**replace_resource_slice**](docs/ResourceV1alpha3Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +*ResourceV1alpha3Api* | [**list_device_taint_rule**](docs/ResourceV1alpha3Api.md#list_device_taint_rule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules | +*ResourceV1alpha3Api* | [**patch_device_taint_rule**](docs/ResourceV1alpha3Api.md#patch_device_taint_rule) | **PATCH** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | +*ResourceV1alpha3Api* | [**patch_device_taint_rule_status**](docs/ResourceV1alpha3Api.md#patch_device_taint_rule_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status | +*ResourceV1alpha3Api* | [**read_device_taint_rule**](docs/ResourceV1alpha3Api.md#read_device_taint_rule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | +*ResourceV1alpha3Api* | [**read_device_taint_rule_status**](docs/ResourceV1alpha3Api.md#read_device_taint_rule_status) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status | +*ResourceV1alpha3Api* | [**replace_device_taint_rule**](docs/ResourceV1alpha3Api.md#replace_device_taint_rule) | **PUT** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | +*ResourceV1alpha3Api* | [**replace_device_taint_rule_status**](docs/ResourceV1alpha3Api.md#replace_device_taint_rule_status) | **PUT** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status | *ResourceV1beta1Api* | [**create_device_class**](docs/ResourceV1beta1Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1beta1/deviceclasses | *ResourceV1beta1Api* | [**create_namespaced_resource_claim**](docs/ResourceV1beta1Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims | *ResourceV1beta1Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1beta1Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates | @@ -800,6 +851,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 | @@ -809,22 +894,34 @@ Class | Method | HTTP request | Description *SchedulingV1Api* | [**patch_priority_class**](docs/SchedulingV1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | *SchedulingV1Api* | [**read_priority_class**](docs/SchedulingV1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | *SchedulingV1Api* | [**replace_priority_class**](docs/SchedulingV1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | +*SchedulingV1alpha1Api* | [**create_namespaced_workload**](docs/SchedulingV1alpha1Api.md#create_namespaced_workload) | **POST** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads | +*SchedulingV1alpha1Api* | [**delete_collection_namespaced_workload**](docs/SchedulingV1alpha1Api.md#delete_collection_namespaced_workload) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads | +*SchedulingV1alpha1Api* | [**delete_namespaced_workload**](docs/SchedulingV1alpha1Api.md#delete_namespaced_workload) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name} | +*SchedulingV1alpha1Api* | [**get_api_resources**](docs/SchedulingV1alpha1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1alpha1/ | +*SchedulingV1alpha1Api* | [**list_namespaced_workload**](docs/SchedulingV1alpha1Api.md#list_namespaced_workload) | **GET** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads | +*SchedulingV1alpha1Api* | [**list_workload_for_all_namespaces**](docs/SchedulingV1alpha1Api.md#list_workload_for_all_namespaces) | **GET** /apis/scheduling.k8s.io/v1alpha1/workloads | +*SchedulingV1alpha1Api* | [**patch_namespaced_workload**](docs/SchedulingV1alpha1Api.md#patch_namespaced_workload) | **PATCH** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name} | +*SchedulingV1alpha1Api* | [**read_namespaced_workload**](docs/SchedulingV1alpha1Api.md#read_namespaced_workload) | **GET** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name} | +*SchedulingV1alpha1Api* | [**replace_namespaced_workload**](docs/SchedulingV1alpha1Api.md#replace_namespaced_workload) | **PUT** /apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name} | *StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | *StorageV1Api* | [**create_csi_driver**](docs/StorageV1Api.md#create_csi_driver) | **POST** /apis/storage.k8s.io/v1/csidrivers | *StorageV1Api* | [**create_csi_node**](docs/StorageV1Api.md#create_csi_node) | **POST** /apis/storage.k8s.io/v1/csinodes | *StorageV1Api* | [**create_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#create_namespaced_csi_storage_capacity) | **POST** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | *StorageV1Api* | [**create_storage_class**](docs/StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**create_volume_attachment**](docs/StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**create_volume_attributes_class**](docs/StorageV1Api.md#create_volume_attributes_class) | **POST** /apis/storage.k8s.io/v1/volumeattributesclasses | *StorageV1Api* | [**delete_collection_csi_driver**](docs/StorageV1Api.md#delete_collection_csi_driver) | **DELETE** /apis/storage.k8s.io/v1/csidrivers | *StorageV1Api* | [**delete_collection_csi_node**](docs/StorageV1Api.md#delete_collection_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes | *StorageV1Api* | [**delete_collection_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#delete_collection_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | *StorageV1Api* | [**delete_collection_storage_class**](docs/StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**delete_collection_volume_attachment**](docs/StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**delete_collection_volume_attributes_class**](docs/StorageV1Api.md#delete_collection_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1/volumeattributesclasses | *StorageV1Api* | [**delete_csi_driver**](docs/StorageV1Api.md#delete_csi_driver) | **DELETE** /apis/storage.k8s.io/v1/csidrivers/{name} | *StorageV1Api* | [**delete_csi_node**](docs/StorageV1Api.md#delete_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**delete_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#delete_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | *StorageV1Api* | [**delete_storage_class**](docs/StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**delete_volume_attachment**](docs/StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*StorageV1Api* | [**delete_volume_attributes_class**](docs/StorageV1Api.md#delete_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | *StorageV1Api* | [**get_api_resources**](docs/StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | *StorageV1Api* | [**list_csi_driver**](docs/StorageV1Api.md#list_csi_driver) | **GET** /apis/storage.k8s.io/v1/csidrivers | *StorageV1Api* | [**list_csi_node**](docs/StorageV1Api.md#list_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes | @@ -832,32 +929,28 @@ Class | Method | HTTP request | Description *StorageV1Api* | [**list_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#list_namespaced_csi_storage_capacity) | **GET** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | *StorageV1Api* | [**list_storage_class**](docs/StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**list_volume_attachment**](docs/StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**list_volume_attributes_class**](docs/StorageV1Api.md#list_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1/volumeattributesclasses | *StorageV1Api* | [**patch_csi_driver**](docs/StorageV1Api.md#patch_csi_driver) | **PATCH** /apis/storage.k8s.io/v1/csidrivers/{name} | *StorageV1Api* | [**patch_csi_node**](docs/StorageV1Api.md#patch_csi_node) | **PATCH** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**patch_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#patch_namespaced_csi_storage_capacity) | **PATCH** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | *StorageV1Api* | [**patch_storage_class**](docs/StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**patch_volume_attachment**](docs/StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**patch_volume_attachment_status**](docs/StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*StorageV1Api* | [**patch_volume_attributes_class**](docs/StorageV1Api.md#patch_volume_attributes_class) | **PATCH** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | *StorageV1Api* | [**read_csi_driver**](docs/StorageV1Api.md#read_csi_driver) | **GET** /apis/storage.k8s.io/v1/csidrivers/{name} | *StorageV1Api* | [**read_csi_node**](docs/StorageV1Api.md#read_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**read_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#read_namespaced_csi_storage_capacity) | **GET** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | *StorageV1Api* | [**read_storage_class**](docs/StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**read_volume_attachment**](docs/StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**read_volume_attachment_status**](docs/StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*StorageV1Api* | [**read_volume_attributes_class**](docs/StorageV1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | *StorageV1Api* | [**replace_csi_driver**](docs/StorageV1Api.md#replace_csi_driver) | **PUT** /apis/storage.k8s.io/v1/csidrivers/{name} | *StorageV1Api* | [**replace_csi_node**](docs/StorageV1Api.md#replace_csi_node) | **PUT** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**replace_namespaced_csi_storage_capacity**](docs/StorageV1Api.md#replace_namespaced_csi_storage_capacity) | **PUT** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | *StorageV1Api* | [**replace_storage_class**](docs/StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**replace_volume_attachment**](docs/StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**replace_volume_attachment_status**](docs/StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | -*StorageV1alpha1Api* | [**create_volume_attributes_class**](docs/StorageV1alpha1Api.md#create_volume_attributes_class) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | -*StorageV1alpha1Api* | [**delete_collection_volume_attributes_class**](docs/StorageV1alpha1Api.md#delete_collection_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | -*StorageV1alpha1Api* | [**delete_volume_attributes_class**](docs/StorageV1alpha1Api.md#delete_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | -*StorageV1alpha1Api* | [**get_api_resources**](docs/StorageV1alpha1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1alpha1/ | -*StorageV1alpha1Api* | [**list_volume_attributes_class**](docs/StorageV1alpha1Api.md#list_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | -*StorageV1alpha1Api* | [**patch_volume_attributes_class**](docs/StorageV1alpha1Api.md#patch_volume_attributes_class) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | -*StorageV1alpha1Api* | [**read_volume_attributes_class**](docs/StorageV1alpha1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | -*StorageV1alpha1Api* | [**replace_volume_attributes_class**](docs/StorageV1alpha1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +*StorageV1Api* | [**replace_volume_attributes_class**](docs/StorageV1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | *StorageV1beta1Api* | [**create_volume_attributes_class**](docs/StorageV1beta1Api.md#create_volume_attributes_class) | **POST** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | *StorageV1beta1Api* | [**delete_collection_volume_attributes_class**](docs/StorageV1beta1Api.md#delete_collection_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | *StorageV1beta1Api* | [**delete_volume_attributes_class**](docs/StorageV1beta1Api.md#delete_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | @@ -867,17 +960,17 @@ Class | Method | HTTP request | Description *StorageV1beta1Api* | [**read_volume_attributes_class**](docs/StorageV1beta1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | *StorageV1beta1Api* | [**replace_volume_attributes_class**](docs/StorageV1beta1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | *StoragemigrationApi* | [**get_api_group**](docs/StoragemigrationApi.md#get_api_group) | **GET** /apis/storagemigration.k8s.io/ | -*StoragemigrationV1alpha1Api* | [**create_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#create_storage_version_migration) | **POST** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations | -*StoragemigrationV1alpha1Api* | [**delete_collection_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#delete_collection_storage_version_migration) | **DELETE** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations | -*StoragemigrationV1alpha1Api* | [**delete_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#delete_storage_version_migration) | **DELETE** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name} | -*StoragemigrationV1alpha1Api* | [**get_api_resources**](docs/StoragemigrationV1alpha1Api.md#get_api_resources) | **GET** /apis/storagemigration.k8s.io/v1alpha1/ | -*StoragemigrationV1alpha1Api* | [**list_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#list_storage_version_migration) | **GET** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations | -*StoragemigrationV1alpha1Api* | [**patch_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#patch_storage_version_migration) | **PATCH** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name} | -*StoragemigrationV1alpha1Api* | [**patch_storage_version_migration_status**](docs/StoragemigrationV1alpha1Api.md#patch_storage_version_migration_status) | **PATCH** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status | -*StoragemigrationV1alpha1Api* | [**read_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#read_storage_version_migration) | **GET** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name} | -*StoragemigrationV1alpha1Api* | [**read_storage_version_migration_status**](docs/StoragemigrationV1alpha1Api.md#read_storage_version_migration_status) | **GET** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status | -*StoragemigrationV1alpha1Api* | [**replace_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#replace_storage_version_migration) | **PUT** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name} | -*StoragemigrationV1alpha1Api* | [**replace_storage_version_migration_status**](docs/StoragemigrationV1alpha1Api.md#replace_storage_version_migration_status) | **PUT** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status | +*StoragemigrationV1beta1Api* | [**create_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#create_storage_version_migration) | **POST** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations | +*StoragemigrationV1beta1Api* | [**delete_collection_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#delete_collection_storage_version_migration) | **DELETE** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations | +*StoragemigrationV1beta1Api* | [**delete_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#delete_storage_version_migration) | **DELETE** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name} | +*StoragemigrationV1beta1Api* | [**get_api_resources**](docs/StoragemigrationV1beta1Api.md#get_api_resources) | **GET** /apis/storagemigration.k8s.io/v1beta1/ | +*StoragemigrationV1beta1Api* | [**list_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#list_storage_version_migration) | **GET** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations | +*StoragemigrationV1beta1Api* | [**patch_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#patch_storage_version_migration) | **PATCH** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name} | +*StoragemigrationV1beta1Api* | [**patch_storage_version_migration_status**](docs/StoragemigrationV1beta1Api.md#patch_storage_version_migration_status) | **PATCH** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status | +*StoragemigrationV1beta1Api* | [**read_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#read_storage_version_migration) | **GET** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name} | +*StoragemigrationV1beta1Api* | [**read_storage_version_migration_status**](docs/StoragemigrationV1beta1Api.md#read_storage_version_migration_status) | **GET** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status | +*StoragemigrationV1beta1Api* | [**replace_storage_version_migration**](docs/StoragemigrationV1beta1Api.md#replace_storage_version_migration) | **PUT** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name} | +*StoragemigrationV1beta1Api* | [**replace_storage_version_migration_status**](docs/StoragemigrationV1beta1Api.md#replace_storage_version_migration_status) | **PUT** /apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status | *VersionApi* | [**get_code**](docs/VersionApi.md#get_code) | **GET** /version/ | @@ -893,12 +986,14 @@ Class | Method | HTTP request | Description - [CoreV1Event](docs/CoreV1Event.md) - [CoreV1EventList](docs/CoreV1EventList.md) - [CoreV1EventSeries](docs/CoreV1EventSeries.md) + - [CoreV1ResourceClaim](docs/CoreV1ResourceClaim.md) - [DiscoveryV1EndpointPort](docs/DiscoveryV1EndpointPort.md) - [EventsV1Event](docs/EventsV1Event.md) - [EventsV1EventList](docs/EventsV1EventList.md) - [EventsV1EventSeries](docs/EventsV1EventSeries.md) - [FlowcontrolV1Subject](docs/FlowcontrolV1Subject.md) - [RbacV1Subject](docs/RbacV1Subject.md) + - [ResourceV1ResourceClaim](docs/ResourceV1ResourceClaim.md) - [StorageV1TokenRequest](docs/StorageV1TokenRequest.md) - [V1APIGroup](docs/V1APIGroup.md) - [V1APIGroupList](docs/V1APIGroupList.md) @@ -913,6 +1008,8 @@ Class | Method | HTTP request | Description - [V1AWSElasticBlockStoreVolumeSource](docs/V1AWSElasticBlockStoreVolumeSource.md) - [V1Affinity](docs/V1Affinity.md) - [V1AggregationRule](docs/V1AggregationRule.md) + - [V1AllocatedDeviceStatus](docs/V1AllocatedDeviceStatus.md) + - [V1AllocationResult](docs/V1AllocationResult.md) - [V1AppArmorProfile](docs/V1AppArmorProfile.md) - [V1AttachedVolume](docs/V1AttachedVolume.md) - [V1AuditAnnotation](docs/V1AuditAnnotation.md) @@ -921,6 +1018,7 @@ Class | Method | HTTP request | Description - [V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md) - [V1Binding](docs/V1Binding.md) - [V1BoundObjectReference](docs/V1BoundObjectReference.md) + - [V1CELDeviceSelector](docs/V1CELDeviceSelector.md) - [V1CSIDriver](docs/V1CSIDriver.md) - [V1CSIDriverList](docs/V1CSIDriverList.md) - [V1CSIDriverSpec](docs/V1CSIDriverSpec.md) @@ -933,6 +1031,9 @@ Class | Method | HTTP request | Description - [V1CSIStorageCapacityList](docs/V1CSIStorageCapacityList.md) - [V1CSIVolumeSource](docs/V1CSIVolumeSource.md) - [V1Capabilities](docs/V1Capabilities.md) + - [V1CapacityRequestPolicy](docs/V1CapacityRequestPolicy.md) + - [V1CapacityRequestPolicyRange](docs/V1CapacityRequestPolicyRange.md) + - [V1CapacityRequirements](docs/V1CapacityRequirements.md) - [V1CephFSPersistentVolumeSource](docs/V1CephFSPersistentVolumeSource.md) - [V1CephFSVolumeSource](docs/V1CephFSVolumeSource.md) - [V1CertificateSigningRequest](docs/V1CertificateSigningRequest.md) @@ -960,9 +1061,12 @@ Class | Method | HTTP request | Description - [V1ConfigMapProjection](docs/V1ConfigMapProjection.md) - [V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md) - [V1Container](docs/V1Container.md) + - [V1ContainerExtendedResourceRequest](docs/V1ContainerExtendedResourceRequest.md) - [V1ContainerImage](docs/V1ContainerImage.md) - [V1ContainerPort](docs/V1ContainerPort.md) - [V1ContainerResizePolicy](docs/V1ContainerResizePolicy.md) + - [V1ContainerRestartRule](docs/V1ContainerRestartRule.md) + - [V1ContainerRestartRuleOnExitCodes](docs/V1ContainerRestartRuleOnExitCodes.md) - [V1ContainerState](docs/V1ContainerState.md) - [V1ContainerStateRunning](docs/V1ContainerStateRunning.md) - [V1ContainerStateTerminated](docs/V1ContainerStateTerminated.md) @@ -971,6 +1075,8 @@ Class | Method | HTTP request | Description - [V1ContainerUser](docs/V1ContainerUser.md) - [V1ControllerRevision](docs/V1ControllerRevision.md) - [V1ControllerRevisionList](docs/V1ControllerRevisionList.md) + - [V1Counter](docs/V1Counter.md) + - [V1CounterSet](docs/V1CounterSet.md) - [V1CronJob](docs/V1CronJob.md) - [V1CronJobList](docs/V1CronJobList.md) - [V1CronJobSpec](docs/V1CronJobSpec.md) @@ -1002,6 +1108,25 @@ Class | Method | HTTP request | Description - [V1DeploymentSpec](docs/V1DeploymentSpec.md) - [V1DeploymentStatus](docs/V1DeploymentStatus.md) - [V1DeploymentStrategy](docs/V1DeploymentStrategy.md) + - [V1Device](docs/V1Device.md) + - [V1DeviceAllocationConfiguration](docs/V1DeviceAllocationConfiguration.md) + - [V1DeviceAllocationResult](docs/V1DeviceAllocationResult.md) + - [V1DeviceAttribute](docs/V1DeviceAttribute.md) + - [V1DeviceCapacity](docs/V1DeviceCapacity.md) + - [V1DeviceClaim](docs/V1DeviceClaim.md) + - [V1DeviceClaimConfiguration](docs/V1DeviceClaimConfiguration.md) + - [V1DeviceClass](docs/V1DeviceClass.md) + - [V1DeviceClassConfiguration](docs/V1DeviceClassConfiguration.md) + - [V1DeviceClassList](docs/V1DeviceClassList.md) + - [V1DeviceClassSpec](docs/V1DeviceClassSpec.md) + - [V1DeviceConstraint](docs/V1DeviceConstraint.md) + - [V1DeviceCounterConsumption](docs/V1DeviceCounterConsumption.md) + - [V1DeviceRequest](docs/V1DeviceRequest.md) + - [V1DeviceRequestAllocationResult](docs/V1DeviceRequestAllocationResult.md) + - [V1DeviceSelector](docs/V1DeviceSelector.md) + - [V1DeviceSubRequest](docs/V1DeviceSubRequest.md) + - [V1DeviceTaint](docs/V1DeviceTaint.md) + - [V1DeviceToleration](docs/V1DeviceToleration.md) - [V1DownwardAPIProjection](docs/V1DownwardAPIProjection.md) - [V1DownwardAPIVolumeFile](docs/V1DownwardAPIVolumeFile.md) - [V1DownwardAPIVolumeSource](docs/V1DownwardAPIVolumeSource.md) @@ -1022,6 +1147,7 @@ Class | Method | HTTP request | Description - [V1EphemeralVolumeSource](docs/V1EphemeralVolumeSource.md) - [V1EventSource](docs/V1EventSource.md) - [V1Eviction](docs/V1Eviction.md) + - [V1ExactDeviceRequest](docs/V1ExactDeviceRequest.md) - [V1ExecAction](docs/V1ExecAction.md) - [V1ExemptPriorityLevelConfiguration](docs/V1ExemptPriorityLevelConfiguration.md) - [V1ExpressionWarning](docs/V1ExpressionWarning.md) @@ -1029,6 +1155,7 @@ Class | Method | HTTP request | Description - [V1FCVolumeSource](docs/V1FCVolumeSource.md) - [V1FieldSelectorAttributes](docs/V1FieldSelectorAttributes.md) - [V1FieldSelectorRequirement](docs/V1FieldSelectorRequirement.md) + - [V1FileKeySelector](docs/V1FileKeySelector.md) - [V1FlexPersistentVolumeSource](docs/V1FlexPersistentVolumeSource.md) - [V1FlexVolumeSource](docs/V1FlexVolumeSource.md) - [V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) @@ -1038,12 +1165,14 @@ 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) - [V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) - [V1GlusterfsPersistentVolumeSource](docs/V1GlusterfsPersistentVolumeSource.md) - [V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) + - [V1GroupResource](docs/V1GroupResource.md) - [V1GroupSubject](docs/V1GroupSubject.md) - [V1GroupVersionForDiscovery](docs/V1GroupVersionForDiscovery.md) - [V1HTTPGetAction](docs/V1HTTPGetAction.md) @@ -1057,6 +1186,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) @@ -1119,6 +1251,7 @@ Class | Method | HTTP request | Description - [V1NamespaceList](docs/V1NamespaceList.md) - [V1NamespaceSpec](docs/V1NamespaceSpec.md) - [V1NamespaceStatus](docs/V1NamespaceStatus.md) + - [V1NetworkDeviceData](docs/V1NetworkDeviceData.md) - [V1NetworkPolicy](docs/V1NetworkPolicy.md) - [V1NetworkPolicyEgressRule](docs/V1NetworkPolicyEgressRule.md) - [V1NetworkPolicyIngressRule](docs/V1NetworkPolicyIngressRule.md) @@ -1142,6 +1275,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) @@ -1149,10 +1283,12 @@ Class | Method | HTTP request | Description - [V1ObjectFieldSelector](docs/V1ObjectFieldSelector.md) - [V1ObjectMeta](docs/V1ObjectMeta.md) - [V1ObjectReference](docs/V1ObjectReference.md) + - [V1OpaqueDeviceConfiguration](docs/V1OpaqueDeviceConfiguration.md) - [V1Overhead](docs/V1Overhead.md) - [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) @@ -1169,6 +1305,7 @@ Class | Method | HTTP request | Description - [V1PodAffinity](docs/V1PodAffinity.md) - [V1PodAffinityTerm](docs/V1PodAffinityTerm.md) - [V1PodAntiAffinity](docs/V1PodAntiAffinity.md) + - [V1PodCertificateProjection](docs/V1PodCertificateProjection.md) - [V1PodCondition](docs/V1PodCondition.md) - [V1PodDNSConfig](docs/V1PodDNSConfig.md) - [V1PodDNSConfigOption](docs/V1PodDNSConfigOption.md) @@ -1176,6 +1313,7 @@ Class | Method | HTTP request | Description - [V1PodDisruptionBudgetList](docs/V1PodDisruptionBudgetList.md) - [V1PodDisruptionBudgetSpec](docs/V1PodDisruptionBudgetSpec.md) - [V1PodDisruptionBudgetStatus](docs/V1PodDisruptionBudgetStatus.md) + - [V1PodExtendedResourceClaimStatus](docs/V1PodExtendedResourceClaimStatus.md) - [V1PodFailurePolicy](docs/V1PodFailurePolicy.md) - [V1PodFailurePolicyOnExitCodesRequirement](docs/V1PodFailurePolicyOnExitCodesRequirement.md) - [V1PodFailurePolicyOnPodConditionsPattern](docs/V1PodFailurePolicyOnPodConditionsPattern.md) @@ -1224,16 +1362,26 @@ Class | Method | HTTP request | Description - [V1ReplicationControllerSpec](docs/V1ReplicationControllerSpec.md) - [V1ReplicationControllerStatus](docs/V1ReplicationControllerStatus.md) - [V1ResourceAttributes](docs/V1ResourceAttributes.md) - - [V1ResourceClaim](docs/V1ResourceClaim.md) + - [V1ResourceClaimConsumerReference](docs/V1ResourceClaimConsumerReference.md) + - [V1ResourceClaimList](docs/V1ResourceClaimList.md) + - [V1ResourceClaimSpec](docs/V1ResourceClaimSpec.md) + - [V1ResourceClaimStatus](docs/V1ResourceClaimStatus.md) + - [V1ResourceClaimTemplate](docs/V1ResourceClaimTemplate.md) + - [V1ResourceClaimTemplateList](docs/V1ResourceClaimTemplateList.md) + - [V1ResourceClaimTemplateSpec](docs/V1ResourceClaimTemplateSpec.md) - [V1ResourceFieldSelector](docs/V1ResourceFieldSelector.md) - [V1ResourceHealth](docs/V1ResourceHealth.md) - [V1ResourcePolicyRule](docs/V1ResourcePolicyRule.md) + - [V1ResourcePool](docs/V1ResourcePool.md) - [V1ResourceQuota](docs/V1ResourceQuota.md) - [V1ResourceQuotaList](docs/V1ResourceQuotaList.md) - [V1ResourceQuotaSpec](docs/V1ResourceQuotaSpec.md) - [V1ResourceQuotaStatus](docs/V1ResourceQuotaStatus.md) - [V1ResourceRequirements](docs/V1ResourceRequirements.md) - [V1ResourceRule](docs/V1ResourceRule.md) + - [V1ResourceSlice](docs/V1ResourceSlice.md) + - [V1ResourceSliceList](docs/V1ResourceSliceList.md) + - [V1ResourceSliceSpec](docs/V1ResourceSliceSpec.md) - [V1ResourceStatus](docs/V1ResourceStatus.md) - [V1Role](docs/V1Role.md) - [V1RoleBinding](docs/V1RoleBinding.md) @@ -1278,6 +1426,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) @@ -1342,6 +1494,8 @@ Class | Method | HTTP request | Description - [V1VolumeAttachmentSource](docs/V1VolumeAttachmentSource.md) - [V1VolumeAttachmentSpec](docs/V1VolumeAttachmentSpec.md) - [V1VolumeAttachmentStatus](docs/V1VolumeAttachmentStatus.md) + - [V1VolumeAttributesClass](docs/V1VolumeAttributesClass.md) + - [V1VolumeAttributesClassList](docs/V1VolumeAttributesClassList.md) - [V1VolumeDevice](docs/V1VolumeDevice.md) - [V1VolumeError](docs/V1VolumeError.md) - [V1VolumeMount](docs/V1VolumeMount.md) @@ -1355,15 +1509,15 @@ Class | Method | HTTP request | Description - [V1WebhookConversion](docs/V1WebhookConversion.md) - [V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md) - [V1WindowsSecurityContextOptions](docs/V1WindowsSecurityContextOptions.md) + - [V1WorkloadReference](docs/V1WorkloadReference.md) - [V1alpha1ApplyConfiguration](docs/V1alpha1ApplyConfiguration.md) - [V1alpha1ClusterTrustBundle](docs/V1alpha1ClusterTrustBundle.md) - [V1alpha1ClusterTrustBundleList](docs/V1alpha1ClusterTrustBundleList.md) - [V1alpha1ClusterTrustBundleSpec](docs/V1alpha1ClusterTrustBundleSpec.md) - - [V1alpha1GroupVersionResource](docs/V1alpha1GroupVersionResource.md) + - [V1alpha1GangSchedulingPolicy](docs/V1alpha1GangSchedulingPolicy.md) - [V1alpha1JSONPatch](docs/V1alpha1JSONPatch.md) - [V1alpha1MatchCondition](docs/V1alpha1MatchCondition.md) - [V1alpha1MatchResources](docs/V1alpha1MatchResources.md) - - [V1alpha1MigrationCondition](docs/V1alpha1MigrationCondition.md) - [V1alpha1MutatingAdmissionPolicy](docs/V1alpha1MutatingAdmissionPolicy.md) - [V1alpha1MutatingAdmissionPolicyBinding](docs/V1alpha1MutatingAdmissionPolicyBinding.md) - [V1alpha1MutatingAdmissionPolicyBindingList](docs/V1alpha1MutatingAdmissionPolicyBindingList.md) @@ -1374,58 +1528,40 @@ Class | Method | HTTP request | Description - [V1alpha1NamedRuleWithOperations](docs/V1alpha1NamedRuleWithOperations.md) - [V1alpha1ParamKind](docs/V1alpha1ParamKind.md) - [V1alpha1ParamRef](docs/V1alpha1ParamRef.md) + - [V1alpha1PodGroup](docs/V1alpha1PodGroup.md) + - [V1alpha1PodGroupPolicy](docs/V1alpha1PodGroupPolicy.md) - [V1alpha1ServerStorageVersion](docs/V1alpha1ServerStorageVersion.md) - [V1alpha1StorageVersion](docs/V1alpha1StorageVersion.md) - [V1alpha1StorageVersionCondition](docs/V1alpha1StorageVersionCondition.md) - [V1alpha1StorageVersionList](docs/V1alpha1StorageVersionList.md) - - [V1alpha1StorageVersionMigration](docs/V1alpha1StorageVersionMigration.md) - - [V1alpha1StorageVersionMigrationList](docs/V1alpha1StorageVersionMigrationList.md) - - [V1alpha1StorageVersionMigrationSpec](docs/V1alpha1StorageVersionMigrationSpec.md) - - [V1alpha1StorageVersionMigrationStatus](docs/V1alpha1StorageVersionMigrationStatus.md) - [V1alpha1StorageVersionStatus](docs/V1alpha1StorageVersionStatus.md) + - [V1alpha1TypedLocalObjectReference](docs/V1alpha1TypedLocalObjectReference.md) - [V1alpha1Variable](docs/V1alpha1Variable.md) - - [V1alpha1VolumeAttributesClass](docs/V1alpha1VolumeAttributesClass.md) - - [V1alpha1VolumeAttributesClassList](docs/V1alpha1VolumeAttributesClassList.md) + - [V1alpha1Workload](docs/V1alpha1Workload.md) + - [V1alpha1WorkloadList](docs/V1alpha1WorkloadList.md) + - [V1alpha1WorkloadSpec](docs/V1alpha1WorkloadSpec.md) - [V1alpha2LeaseCandidate](docs/V1alpha2LeaseCandidate.md) - [V1alpha2LeaseCandidateList](docs/V1alpha2LeaseCandidateList.md) - [V1alpha2LeaseCandidateSpec](docs/V1alpha2LeaseCandidateSpec.md) - - [V1alpha3AllocatedDeviceStatus](docs/V1alpha3AllocatedDeviceStatus.md) - - [V1alpha3AllocationResult](docs/V1alpha3AllocationResult.md) - - [V1alpha3BasicDevice](docs/V1alpha3BasicDevice.md) - - [V1alpha3CELDeviceSelector](docs/V1alpha3CELDeviceSelector.md) - - [V1alpha3Device](docs/V1alpha3Device.md) - - [V1alpha3DeviceAllocationConfiguration](docs/V1alpha3DeviceAllocationConfiguration.md) - - [V1alpha3DeviceAllocationResult](docs/V1alpha3DeviceAllocationResult.md) - - [V1alpha3DeviceAttribute](docs/V1alpha3DeviceAttribute.md) - - [V1alpha3DeviceClaim](docs/V1alpha3DeviceClaim.md) - - [V1alpha3DeviceClaimConfiguration](docs/V1alpha3DeviceClaimConfiguration.md) - - [V1alpha3DeviceClass](docs/V1alpha3DeviceClass.md) - - [V1alpha3DeviceClassConfiguration](docs/V1alpha3DeviceClassConfiguration.md) - - [V1alpha3DeviceClassList](docs/V1alpha3DeviceClassList.md) - - [V1alpha3DeviceClassSpec](docs/V1alpha3DeviceClassSpec.md) - - [V1alpha3DeviceConstraint](docs/V1alpha3DeviceConstraint.md) - - [V1alpha3DeviceRequest](docs/V1alpha3DeviceRequest.md) - - [V1alpha3DeviceRequestAllocationResult](docs/V1alpha3DeviceRequestAllocationResult.md) - - [V1alpha3DeviceSelector](docs/V1alpha3DeviceSelector.md) - - [V1alpha3NetworkDeviceData](docs/V1alpha3NetworkDeviceData.md) - - [V1alpha3OpaqueDeviceConfiguration](docs/V1alpha3OpaqueDeviceConfiguration.md) - - [V1alpha3ResourceClaim](docs/V1alpha3ResourceClaim.md) - - [V1alpha3ResourceClaimConsumerReference](docs/V1alpha3ResourceClaimConsumerReference.md) - - [V1alpha3ResourceClaimList](docs/V1alpha3ResourceClaimList.md) - - [V1alpha3ResourceClaimSpec](docs/V1alpha3ResourceClaimSpec.md) - - [V1alpha3ResourceClaimStatus](docs/V1alpha3ResourceClaimStatus.md) - - [V1alpha3ResourceClaimTemplate](docs/V1alpha3ResourceClaimTemplate.md) - - [V1alpha3ResourceClaimTemplateList](docs/V1alpha3ResourceClaimTemplateList.md) - - [V1alpha3ResourceClaimTemplateSpec](docs/V1alpha3ResourceClaimTemplateSpec.md) - - [V1alpha3ResourcePool](docs/V1alpha3ResourcePool.md) - - [V1alpha3ResourceSlice](docs/V1alpha3ResourceSlice.md) - - [V1alpha3ResourceSliceList](docs/V1alpha3ResourceSliceList.md) - - [V1alpha3ResourceSliceSpec](docs/V1alpha3ResourceSliceSpec.md) + - [V1alpha3DeviceTaint](docs/V1alpha3DeviceTaint.md) + - [V1alpha3DeviceTaintRule](docs/V1alpha3DeviceTaintRule.md) + - [V1alpha3DeviceTaintRuleList](docs/V1alpha3DeviceTaintRuleList.md) + - [V1alpha3DeviceTaintRuleSpec](docs/V1alpha3DeviceTaintRuleSpec.md) + - [V1alpha3DeviceTaintRuleStatus](docs/V1alpha3DeviceTaintRuleStatus.md) + - [V1alpha3DeviceTaintSelector](docs/V1alpha3DeviceTaintSelector.md) - [V1beta1AllocatedDeviceStatus](docs/V1beta1AllocatedDeviceStatus.md) - [V1beta1AllocationResult](docs/V1beta1AllocationResult.md) - - [V1beta1AuditAnnotation](docs/V1beta1AuditAnnotation.md) + - [V1beta1ApplyConfiguration](docs/V1beta1ApplyConfiguration.md) - [V1beta1BasicDevice](docs/V1beta1BasicDevice.md) - [V1beta1CELDeviceSelector](docs/V1beta1CELDeviceSelector.md) + - [V1beta1CapacityRequestPolicy](docs/V1beta1CapacityRequestPolicy.md) + - [V1beta1CapacityRequestPolicyRange](docs/V1beta1CapacityRequestPolicyRange.md) + - [V1beta1CapacityRequirements](docs/V1beta1CapacityRequirements.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) @@ -1438,21 +1574,39 @@ 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) - - [V1beta1ExpressionWarning](docs/V1beta1ExpressionWarning.md) + - [V1beta1DeviceSubRequest](docs/V1beta1DeviceSubRequest.md) + - [V1beta1DeviceTaint](docs/V1beta1DeviceTaint.md) + - [V1beta1DeviceToleration](docs/V1beta1DeviceToleration.md) - [V1beta1IPAddress](docs/V1beta1IPAddress.md) - [V1beta1IPAddressList](docs/V1beta1IPAddressList.md) - [V1beta1IPAddressSpec](docs/V1beta1IPAddressSpec.md) + - [V1beta1JSONPatch](docs/V1beta1JSONPatch.md) + - [V1beta1LeaseCandidate](docs/V1beta1LeaseCandidate.md) + - [V1beta1LeaseCandidateList](docs/V1beta1LeaseCandidateList.md) + - [V1beta1LeaseCandidateSpec](docs/V1beta1LeaseCandidateSpec.md) - [V1beta1MatchCondition](docs/V1beta1MatchCondition.md) - [V1beta1MatchResources](docs/V1beta1MatchResources.md) + - [V1beta1MutatingAdmissionPolicy](docs/V1beta1MutatingAdmissionPolicy.md) + - [V1beta1MutatingAdmissionPolicyBinding](docs/V1beta1MutatingAdmissionPolicyBinding.md) + - [V1beta1MutatingAdmissionPolicyBindingList](docs/V1beta1MutatingAdmissionPolicyBindingList.md) + - [V1beta1MutatingAdmissionPolicyBindingSpec](docs/V1beta1MutatingAdmissionPolicyBindingSpec.md) + - [V1beta1MutatingAdmissionPolicyList](docs/V1beta1MutatingAdmissionPolicyList.md) + - [V1beta1MutatingAdmissionPolicySpec](docs/V1beta1MutatingAdmissionPolicySpec.md) + - [V1beta1Mutation](docs/V1beta1Mutation.md) - [V1beta1NamedRuleWithOperations](docs/V1beta1NamedRuleWithOperations.md) - [V1beta1NetworkDeviceData](docs/V1beta1NetworkDeviceData.md) - [V1beta1OpaqueDeviceConfiguration](docs/V1beta1OpaqueDeviceConfiguration.md) - [V1beta1ParamKind](docs/V1beta1ParamKind.md) - [V1beta1ParamRef](docs/V1beta1ParamRef.md) - [V1beta1ParentReference](docs/V1beta1ParentReference.md) + - [V1beta1PodCertificateRequest](docs/V1beta1PodCertificateRequest.md) + - [V1beta1PodCertificateRequestList](docs/V1beta1PodCertificateRequestList.md) + - [V1beta1PodCertificateRequestSpec](docs/V1beta1PodCertificateRequestSpec.md) + - [V1beta1PodCertificateRequestStatus](docs/V1beta1PodCertificateRequestStatus.md) - [V1beta1ResourceClaim](docs/V1beta1ResourceClaim.md) - [V1beta1ResourceClaimConsumerReference](docs/V1beta1ResourceClaimConsumerReference.md) - [V1beta1ResourceClaimList](docs/V1beta1ResourceClaimList.md) @@ -1465,24 +1619,59 @@ 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) - [V1beta1ServiceCIDRStatus](docs/V1beta1ServiceCIDRStatus.md) - - [V1beta1TypeChecking](docs/V1beta1TypeChecking.md) - - [V1beta1ValidatingAdmissionPolicy](docs/V1beta1ValidatingAdmissionPolicy.md) - - [V1beta1ValidatingAdmissionPolicyBinding](docs/V1beta1ValidatingAdmissionPolicyBinding.md) - - [V1beta1ValidatingAdmissionPolicyBindingList](docs/V1beta1ValidatingAdmissionPolicyBindingList.md) - - [V1beta1ValidatingAdmissionPolicyBindingSpec](docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md) - - [V1beta1ValidatingAdmissionPolicyList](docs/V1beta1ValidatingAdmissionPolicyList.md) - - [V1beta1ValidatingAdmissionPolicySpec](docs/V1beta1ValidatingAdmissionPolicySpec.md) - - [V1beta1ValidatingAdmissionPolicyStatus](docs/V1beta1ValidatingAdmissionPolicyStatus.md) - - [V1beta1Validation](docs/V1beta1Validation.md) + - [V1beta1StorageVersionMigration](docs/V1beta1StorageVersionMigration.md) + - [V1beta1StorageVersionMigrationList](docs/V1beta1StorageVersionMigrationList.md) + - [V1beta1StorageVersionMigrationSpec](docs/V1beta1StorageVersionMigrationSpec.md) + - [V1beta1StorageVersionMigrationStatus](docs/V1beta1StorageVersionMigrationStatus.md) - [V1beta1Variable](docs/V1beta1Variable.md) - [V1beta1VolumeAttributesClass](docs/V1beta1VolumeAttributesClass.md) - [V1beta1VolumeAttributesClassList](docs/V1beta1VolumeAttributesClassList.md) + - [V1beta2AllocatedDeviceStatus](docs/V1beta2AllocatedDeviceStatus.md) + - [V1beta2AllocationResult](docs/V1beta2AllocationResult.md) + - [V1beta2CELDeviceSelector](docs/V1beta2CELDeviceSelector.md) + - [V1beta2CapacityRequestPolicy](docs/V1beta2CapacityRequestPolicy.md) + - [V1beta2CapacityRequestPolicyRange](docs/V1beta2CapacityRequestPolicyRange.md) + - [V1beta2CapacityRequirements](docs/V1beta2CapacityRequirements.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/__init__.py b/kubernetes/__init__.py index e46fe7c902..9ad37e9903 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "32.0.0+snapshot" +__version__ = "35.0.0+snapshot" from . import client from . import config diff --git a/kubernetes/base/config/dateutil.py b/kubernetes/base/config/dateutil.py index 972e003eba..287719f09f 100644 --- a/kubernetes/base/config/dateutil.py +++ b/kubernetes/base/config/dateutil.py @@ -49,18 +49,27 @@ def dst(self, dt): def parse_rfc3339(s): if isinstance(s, datetime.datetime): - # no need to parse it, just make sure it has a timezone. if not s.tzinfo: return s.replace(tzinfo=UTC) return s - groups = _re_rfc3339.search(s).groups() + + m = _re_rfc3339.fullmatch(s.strip()) + if m is None: + raise ValueError( + f"Invalid RFC3339 datetime: {s!r} " + "(expected YYYY-MM-DDTHH:MM:SS[.frac][Z|±HH:MM])" + ) + + groups = m.groups() dt = [0] * 7 for x in range(6): dt[x] = int(groups[x]) + us = 0 if groups[6] is not None: partial_sec = float(groups[6].replace(",", ".")) us = int(MICROSEC_PER_SEC * partial_sec) + tz = UTC if groups[7] is not None and groups[7] != 'Z' and groups[7] != 'z': tz_groups = _re_timezone.search(groups[7]).groups() @@ -71,10 +80,17 @@ def parse_rfc3339(s): if tz_groups[2]: minute = int(tz_groups[2]) tz = TimezoneInfo(hour, minute) - return datetime.datetime( - year=dt[0], month=dt[1], day=dt[2], - hour=dt[3], minute=dt[4], second=dt[5], - microsecond=us, tzinfo=tz) + + try: + return datetime.datetime( + year=dt[0], month=dt[1], day=dt[2], + hour=dt[3], minute=dt[4], second=dt[5], + microsecond=us, tzinfo=tz) + except ValueError as e: + raise ValueError( + f"Invalid date/time values in RFC3339 string {s!r}: {e}" + ) from e + def format_rfc3339(date_time): diff --git a/kubernetes/base/config/dateutil_test.py b/kubernetes/base/config/dateutil_test.py index 933360d9fb..25a57b98e7 100644 --- a/kubernetes/base/config/dateutil_test.py +++ b/kubernetes/base/config/dateutil_test.py @@ -66,3 +66,39 @@ def test_format_rfc3339(self): format_rfc3339(datetime(2017, 7, 25, 4, 44, 21, 0, TimezoneInfo(-2, 30))), "2017-07-25T07:14:21Z") + + def test_parse_rfc3339_invalid_formats(self): + """Test that invalid RFC3339 formats raise ValueError""" + invalid_inputs = [ + "2025-13-02T13:37:00Z", # Invalid month + "2025-12-32T13:37:00Z", # Invalid day + "2025-12-02T25:00:00Z", # Invalid hour + "2025-12-02T13:60:00Z", # Invalid minute + "2025-12-02T13:37:60Z", # Invalid second + "not-a-valid-date", # Completely invalid + "", # Empty string + "2025-12-02Z13:37:00", # Timezone before time + ] + + for invalid_input in invalid_inputs: + with self.assertRaises(ValueError): + parse_rfc3339(invalid_input) + + + + def test_parse_rfc3339_with_whitespace(self): + """Test that leading/trailing whitespace is handled""" + actual = parse_rfc3339(" 2017-07-25T04:44:21Z ") + expected = datetime(2017, 7, 25, 4, 44, 21, 0, UTC) + self.assertEqual(expected, actual) + + def test_parse_rfc3339_error_message_clarity(self): + """Test that error messages are clear and helpful""" + try: + parse_rfc3339("invalid-date-format") + except ValueError as e: + error_msg = str(e) + # Verify error message contains helpful information + self.assertIn("Invalid RFC3339", error_msg) + self.assertIn("YYYY-MM-DD", error_msg) + self.assertIn("expected", error_msg) diff --git a/kubernetes/base/config/exec_provider.py b/kubernetes/base/config/exec_provider.py index ae7049ada3..95168f7f6e 100644 --- a/kubernetes/base/config/exec_provider.py +++ b/kubernetes/base/config/exec_provider.py @@ -81,6 +81,11 @@ def run(self, previous_response=None): kubernetes_exec_info['spec']['response'] = previous_response if self.cluster: kubernetes_exec_info['spec']['cluster'] = self.cluster.value + if self.cluster.value.get("extensions"): + for extension in self.cluster.value["extensions"]: + if extension["name"] == "client.authentication.k8s.io/exec": + kubernetes_exec_info["spec"]["cluster"]["config"] = extension["extension"] + break self.env['KUBERNETES_EXEC_INFO'] = json.dumps(kubernetes_exec_info) process = subprocess.Popen( diff --git a/kubernetes/base/config/exec_provider_test.py b/kubernetes/base/config/exec_provider_test.py index fc4944b229..0318627c60 100644 --- a/kubernetes/base/config/exec_provider_test.py +++ b/kubernetes/base/config/exec_provider_test.py @@ -183,6 +183,38 @@ def test_with_cluster_info(self, mock): obj = json.loads(mock.call_args.kwargs['env']['KUBERNETES_EXEC_INFO']) self.assertEqual(obj['spec']['cluster']['server'], 'name.company.com') + @mock.patch("subprocess.Popen") + def test_with_cluster_info_from_exec_extension(self, mock): + instance = mock.return_value + instance.wait.return_value = 0 + instance.communicate.return_value = (self.output_ok, "") + ep = ExecProvider( + self.input_with_cluster, + None, + ConfigNode( + "cluster", + { + "server": "name.company.com", + "extensions": [ + { + "name": "client.authentication.k8s.io/exec", + "extension": { + "namespace": "myproject", + "name": "mycluster", + }, + }, + ], + }, + ), + ) + result = ep.run() + self.assertTrue(isinstance(result, dict)) + self.assertTrue("token" in result) + + obj = json.loads(mock.call_args.kwargs["env"]["KUBERNETES_EXEC_INFO"]) + self.assertEqual(obj["spec"]["cluster"]["server"], "name.company.com") + self.assertEqual(obj["spec"]["cluster"]["config"]["namespace"], "myproject") + self.assertEqual(obj["spec"]["cluster"]["config"]["name"], "mycluster") if __name__ == '__main__': unittest.main() diff --git a/kubernetes/base/config/kube_config.py b/kubernetes/base/config/kube_config.py index 7077955ca6..00623a3401 100644 --- a/kubernetes/base/config/kube_config.py +++ b/kubernetes/base/config/kube_config.py @@ -25,8 +25,6 @@ import time from collections import namedtuple -import google.auth -import google.auth.transport.requests import oauthlib.oauth2 import urllib3 import yaml @@ -44,6 +42,15 @@ except ImportError: pass +try: + import google.auth + import google.auth.transport.requests + google_auth_available = True +except ImportError: + google_auth_available = False + + + EXPIRY_SKEW_PREVENTION_DELAY = datetime.timedelta(minutes=5) KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config') ENV_KUBECONFIG_PATH_SEPARATOR = ';' if platform.system() == 'Windows' else ':' @@ -60,13 +67,13 @@ def _cleanup_temp_files(): _temp_files = {} -def _create_temp_file_with_content(content, temp_file_path=None): +def _create_temp_file_with_content(content, temp_file_path=None, force_recreate=False): if len(_temp_files) == 0: atexit.register(_cleanup_temp_files) # Because we may change context several times, try to remember files we # created and reuse them at a small memory cost. content_key = str(content) - if content_key in _temp_files: + if not force_recreate and content_key in _temp_files: return _temp_files[content_key] if temp_file_path and not os.path.isdir(temp_file_path): os.makedirs(name=temp_file_path) @@ -115,16 +122,10 @@ def as_file(self): decoded obj[%data_key_name] content otherwise obj[%file_key_name].""" use_data_if_no_file = not self._file and self._data if use_data_if_no_file: - if self._base64_file_content: - if isinstance(self._data, str): - content = self._data.encode() - else: - content = self._data - self._file = _create_temp_file_with_content( - base64.standard_b64decode(content), self._temp_file_path) - else: - self._file = _create_temp_file_with_content( - self._data, self._temp_file_path) + self._write_file() + + if self._file and not os.path.isfile(self._file): + self._write_file(force_rewrite=True) if self._file and not os.path.isfile(self._file): raise ConfigException("File does not exist: %s" % self._file) return self._file @@ -142,6 +143,18 @@ def as_data(self): self._data = f.read() return self._data + def _write_file(self, force_rewrite=False): + if self._base64_file_content: + if isinstance(self._data, str): + content = self._data.encode() + else: + content = self._data + self._file = _create_temp_file_with_content( + base64.standard_b64decode(content), self._temp_file_path, force_recreate=force_rewrite) + else: + self._file = _create_temp_file_with_content( + self._data, self._temp_file_path, force_recreate=force_rewrite) + class CommandTokenSource(object): def __init__(self, cmd, args, tokenKey, expiryKey): @@ -239,15 +252,19 @@ def _refresh_credentials(): 'config' in self._user['auth-provider'] and 'cmd-path' in self._user['auth-provider']['config']): return _refresh_credentials_with_cmd_path() - - credentials, project_id = google.auth.default(scopes=[ - 'https://www.googleapis.com/auth/cloud-platform', - 'https://www.googleapis.com/auth/userinfo.email' - ]) - request = google.auth.transport.requests.Request() - credentials.refresh(request) - return credentials - + + # Make the Google auth block optional. + if google_auth_available: + credentials, project_id = google.auth.default(scopes=[ + 'https://www.googleapis.com/auth/cloud-platform', + 'https://www.googleapis.com/auth/userinfo.email' + ]) + request = google.auth.transport.requests.Request() + credentials.refresh(request) + return credentials + else: + return None + if get_google_credentials: self._get_google_credentials = get_google_credentials else: diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py index ca512ad6cd..61a7065994 100644 --- a/kubernetes/base/config/kube_config_test.py +++ b/kubernetes/base/config/kube_config_test.py @@ -267,6 +267,26 @@ def test_file_given_no_object_data(self): data_key_name=TEST_DATA_KEY) self.assertEqual(t.as_data(), None) + def test_file_recreation(self): + obj = {TEST_DATA_KEY: TEST_DATA_BASE64} + t1 = FileOrData( + obj=obj, + file_key_name=TEST_FILE_KEY, + data_key_name=TEST_DATA_KEY, + ) + first_file_path = t1.as_file() + # We manually remove the file from the disk leaving it in the cache + os.remove(first_file_path) + + t2 = FileOrData( + obj=obj, + file_key_name=TEST_FILE_KEY, + data_key_name=TEST_DATA_KEY, + ) + + second_file_path = t2.as_file() + self.assertEqual(TEST_DATA, self.get_file_content(second_file_path)) + class TestConfigNode(BaseTestCase): diff --git a/kubernetes/base/dynamic/client.py b/kubernetes/base/dynamic/client.py index 352e11a809..64163d7b5c 100644 --- a/kubernetes/base/dynamic/client.py +++ b/kubernetes/base/dynamic/client.py @@ -163,7 +163,7 @@ def server_side_apply(self, resource, body=None, name=None, namespace=None, forc return self.request('patch', path, body=body, force_conflicts=force_conflicts, **kwargs) - def watch(self, resource, namespace=None, name=None, label_selector=None, field_selector=None, resource_version=None, timeout=None, watcher=None): + def watch(self, resource, namespace=None, name=None, label_selector=None, field_selector=None, resource_version=None, timeout=None, watcher=None, allow_watch_bookmarks=None): """ Stream events for a resource from the Kubernetes API @@ -176,6 +176,7 @@ def watch(self, resource, namespace=None, name=None, label_selector=None, field_ a resource_version greater than this value will be returned :param timeout: The amount of time in seconds to wait before terminating the stream :param watcher: The Watcher object that will be used to stream the resource + :param allow_watch_bookmarks: Ask the API server to send BOOKMARK events :return: Event object with these keys: 'type': The type of event such as "ADDED", "DELETED", etc. @@ -206,7 +207,8 @@ def watch(self, resource, namespace=None, name=None, label_selector=None, field_ label_selector=label_selector, resource_version=resource_version, serialize=False, - timeout_seconds=timeout + timeout_seconds=timeout, + allow_watch_bookmarks=allow_watch_bookmarks, ): event['object'] = ResourceInstance(resource, event['object']) yield event @@ -248,6 +250,8 @@ def request(self, method, path, body=None, **params): query_params.append(('fieldManager', params['field_manager'])) if params.get('force_conflicts') is not None: query_params.append(('force', params['force_conflicts'])) + if params.get('allow_watch_bookmarks') is not None: + query_params.append(('allowWatchBookmarks', params['allow_watch_bookmarks'])) header_params = params.get('header_params', {}) form_params = [] diff --git a/kubernetes/base/dynamic/discovery.py b/kubernetes/base/dynamic/discovery.py index c00dfa3ef8..3dd28af268 100644 --- a/kubernetes/base/dynamic/discovery.py +++ b/kubernetes/base/dynamic/discovery.py @@ -22,6 +22,7 @@ from collections import defaultdict from abc import abstractmethod, abstractproperty +from json.decoder import JSONDecodeError from urllib3.exceptions import ProtocolError, MaxRetryError from kubernetes import __version__ @@ -164,7 +165,8 @@ def get_resources_for_api_version(self, prefix, group, version, preferred): path = '/'.join(filter(None, [prefix, group, version])) try: resources_response = self.client.request('GET', path).resources or [] - except ServiceUnavailableError: + except (ServiceUnavailableError, JSONDecodeError): + # Handle both service unavailable errors and JSON decode errors resources_response = [] resources_raw = list(filter(lambda resource: '/' not in resource['name'], resources_response)) diff --git a/kubernetes/base/leaderelection/electionconfig.py b/kubernetes/base/leaderelection/electionconfig.py index 7b0db639b4..8ae8847e13 100644 --- a/kubernetes/base/leaderelection/electionconfig.py +++ b/kubernetes/base/leaderelection/electionconfig.py @@ -14,7 +14,7 @@ import sys import logging -logging.basicConfig(level=logging.INFO) +logger = logging.getLogger("leaderelection") class Config: @@ -56,4 +56,4 @@ def __init__(self, lock, lease_duration, renew_deadline, retry_period, onstarted # Default callback for when the current candidate if a leader, stops leading def on_stoppedleading_callback(self): - logging.info("stopped leading".format(self.lock.identity)) + logger.info("stopped leading".format(self.lock.identity)) diff --git a/kubernetes/base/leaderelection/leaderelection.py b/kubernetes/base/leaderelection/leaderelection.py index a707fbaccd..bbeb813505 100644 --- a/kubernetes/base/leaderelection/leaderelection.py +++ b/kubernetes/base/leaderelection/leaderelection.py @@ -24,7 +24,7 @@ from http import HTTPStatus else: import httplib -logging.basicConfig(level=logging.INFO) +logger = logging.getLogger("leaderelection") """ This package implements leader election using an annotation in a Kubernetes object. @@ -55,7 +55,7 @@ def __init__(self, election_config): def run(self): # Try to create/ acquire a lock if self.acquire(): - logging.info("{} successfully acquired lease".format(self.election_config.lock.identity)) + logger.info("{} successfully acquired lease".format(self.election_config.lock.identity)) # Start leading and call OnStartedLeading() threading.daemon = True @@ -68,7 +68,7 @@ def run(self): def acquire(self): # Follower - logging.info("{} is a follower".format(self.election_config.lock.identity)) + logger.info("{} is a follower".format(self.election_config.lock.identity)) retry_period = self.election_config.retry_period while True: @@ -81,7 +81,7 @@ def acquire(self): def renew_loop(self): # Leader - logging.info("Leader has entered renew loop and will try to update lease continuously") + logger.info("Leader has entered renew loop and will try to update lease continuously") retry_period = self.election_config.retry_period renew_deadline = self.election_config.renew_deadline * 1000 @@ -121,22 +121,22 @@ def try_acquire_or_renew(self): # To be removed when support for python2 will be removed if sys.version_info > (3, 0): if json.loads(old_election_record.body)['code'] != HTTPStatus.NOT_FOUND: - logging.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, + logger.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, old_election_record.reason)) return False else: if json.loads(old_election_record.body)['code'] != httplib.NOT_FOUND: - logging.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, + logger.info("Error retrieving resource lock {} as {}".format(self.election_config.lock.name, old_election_record.reason)) return False - logging.info("{} is trying to create a lock".format(leader_election_record.holder_identity)) + logger.info("{} is trying to create a lock".format(leader_election_record.holder_identity)) create_status = self.election_config.lock.create(name=self.election_config.lock.name, namespace=self.election_config.lock.namespace, election_record=leader_election_record) if create_status is False: - logging.info("{} Failed to create lock".format(leader_election_record.holder_identity)) + logger.info("{} Failed to create lock".format(leader_election_record.holder_identity)) return False self.observed_record = leader_election_record @@ -156,7 +156,7 @@ def try_acquire_or_renew(self): # Report transitions if self.observed_record and self.observed_record.holder_identity != old_election_record.holder_identity: - logging.info("Leader has switched to {}".format(old_election_record.holder_identity)) + logger.info("Leader has switched to {}".format(old_election_record.holder_identity)) if self.observed_record is None or old_election_record.__dict__ != self.observed_record.__dict__: self.observed_record = old_election_record @@ -165,7 +165,7 @@ def try_acquire_or_renew(self): # If This candidate is not the leader and lease duration is yet to finish if (self.election_config.lock.identity != self.observed_record.holder_identity and self.observed_time_milliseconds + self.election_config.lease_duration * 1000 > int(now_timestamp * 1000)): - logging.info("yet to finish lease_duration, lease held by {} and has not expired".format(old_election_record.holder_identity)) + logger.info("yet to finish lease_duration, lease held by {} and has not expired".format(old_election_record.holder_identity)) return False # If this candidate is the Leader @@ -182,10 +182,10 @@ def update_lock(self, leader_election_record): leader_election_record) if update_status is False: - logging.info("{} failed to acquire lease".format(leader_election_record.holder_identity)) + logger.info("{} failed to acquire lease".format(leader_election_record.holder_identity)) return False self.observed_record = leader_election_record self.observed_time_milliseconds = int(time.time() * 1000) - logging.info("leader {} has successfully acquired lease".format(leader_election_record.holder_identity)) + logger.info("leader {} has successfully acquired lease".format(leader_election_record.holder_identity)) return True diff --git a/kubernetes/base/leaderelection/resourcelock/configmaplock.py b/kubernetes/base/leaderelection/resourcelock/configmaplock.py index a4ccf49d27..719152edea 100644 --- a/kubernetes/base/leaderelection/resourcelock/configmaplock.py +++ b/kubernetes/base/leaderelection/resourcelock/configmaplock.py @@ -18,7 +18,7 @@ from ..leaderelectionrecord import LeaderElectionRecord import json import logging -logging.basicConfig(level=logging.INFO) +logger = logging.getLogger("leaderelection") class ConfigMapLock: @@ -86,7 +86,7 @@ def create(self, name, namespace, election_record): api_response = self.api_instance.create_namespaced_config_map(namespace, body, pretty=True) return True except ApiException as e: - logging.info("Failed to create lock as {}".format(e)) + logger.info("Failed to create lock as {}".format(e)) return False def update(self, name, namespace, updated_record): @@ -103,7 +103,7 @@ def update(self, name, namespace, updated_record): body=self.configmap_reference) return True except ApiException as e: - logging.info("Failed to update lock as {}".format(e)) + logger.info("Failed to update lock as {}".format(e)) return False def get_lock_object(self, lock_record): diff --git a/kubernetes/base/stream/ws_client_test.py b/kubernetes/base/stream/ws_client_test.py index a7a11f5c91..3f8c022874 100644 --- a/kubernetes/base/stream/ws_client_test.py +++ b/kubernetes/base/stream/ws_client_test.py @@ -17,19 +17,70 @@ from .ws_client import get_websocket_url from .ws_client import websocket_proxycare from kubernetes.client.configuration import Configuration +import os +import socket +import threading +import pytest +from kubernetes import stream, client, config try: import urllib3 urllib3.disable_warnings() except ImportError: pass +@pytest.fixture(autouse=True) +def dummy_kubeconfig(tmp_path, monkeypatch): + # Creating a kubeconfig + content = """ + apiVersion: v1 + kind: Config + clusters: + - name: default + cluster: + server: http://127.0.0.1:8888 + contexts: + - name: default + context: + cluster: default + user: default + users: + - name: default + user: {} + current-context: default + """ + cfg_file = tmp_path / "kubeconfig" + cfg_file.write_text(content) + monkeypatch.setenv("KUBECONFIG", str(cfg_file)) -def dictval(dict, key, default=None): - try: - val = dict[key] - except KeyError: - val = default - return val + +def dictval(dict_obj, key, default=None): + + return dict_obj.get(key, default) + +class DummyProxy(threading.Thread): + """ + A minimal HTTP proxy that flags any CONNECT request and returns 200 OK. + Listens on 127.0.0.1:8888 by default. + """ + def __init__(self, host='127.0.0.1', port=8888): + super().__init__(daemon=True) + self.host = host + self.port = port + self.received_connect = False + self._server_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + self._server_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + self._server_sock.bind((self.host, 0)) + self._server_sock.listen(1) + + def run(self): + conn, _ = self._server_sock.accept() + try: + data = conn.recv(1024).decode('utf-8', errors='ignore') + if data.startswith('CONNECT '): + self.received_connect = True + conn.sendall(b"HTTP/1.1 200 Connection established\r\n\r\n") + finally: + conn.close() class WSClientTest(unittest.TestCase): @@ -56,21 +107,68 @@ def test_websocket_proxycare(self): ( 'http://proxy.example.com:8080/', 'user:pass', '.example.com', 'proxy.example.com', 8080, ('user','pass'), ['.example.com']), ( 'http://proxy.example.com:8080/', 'user:pass', 'localhost,.local,.example.com', 'proxy.example.com', 8080, ('user','pass'), ['localhost','.local','.example.com']), ]: - # setup input - config = Configuration() - if proxy is not None: - setattr(config, 'proxy', proxy) - if idpass is not None: - setattr(config, 'proxy_headers', urllib3.util.make_headers(proxy_basic_auth=idpass)) + # input setup + cfg = Configuration() + if proxy: + cfg.proxy = proxy + if idpass: + cfg.proxy_headers = urllib3.util.make_headers(proxy_basic_auth=idpass) if no_proxy is not None: - setattr(config, 'no_proxy', no_proxy) - # setup done - # test starts - connect_opt = websocket_proxycare( {}, config, None, None) - self.assertEqual( dictval(connect_opt,'http_proxy_host'), expect_host) - self.assertEqual( dictval(connect_opt,'http_proxy_port'), expect_port) - self.assertEqual( dictval(connect_opt,'http_proxy_auth'), expect_auth) - self.assertEqual( dictval(connect_opt,'http_no_proxy'), expect_noproxy) + cfg.no_proxy = no_proxy + + + connect_opts = websocket_proxycare({}, cfg, None, None) + assert dictval(connect_opts, 'http_proxy_host') == expect_host + assert dictval(connect_opts, 'http_proxy_port') == expect_port + assert dictval(connect_opts, 'http_proxy_auth') == expect_auth + assert dictval(connect_opts, 'http_no_proxy') == expect_noproxy + +@pytest.fixture(scope="module") +def dummy_proxy(): + #Dummy Proxy + proxy = DummyProxy(port=8888) + proxy.start() + yield proxy + +@pytest.fixture(autouse=True) +def clear_proxy_env(monkeypatch): + for var in ("HTTP_PROXY", "http_proxy", "HTTPS_PROXY", "https_proxy", "NO_PROXY", "no_proxy"): + monkeypatch.delenv(var, raising=False) + +def apply_proxy_to_conf(): + #apply HTTPS_PROXY env var and set it as global. + cfg = client.Configuration.get_default_copy() + cfg.proxy = os.getenv("HTTPS_PROXY") + cfg.no_proxy = os.getenv("NO_PROXY", "") + client.Configuration.set_default(cfg) + +def test_rest_call_ignores_env(dummy_proxy, monkeypatch): + # HTTPS_PROXY to dummy proxy + monkeypatch.setenv("HTTPS_PROXY", "http://127.0.0.1:8888") + # Avoid real HTTP request + monkeypatch.setattr(client.CoreV1Api, "list_namespace", lambda self, *_args, **_kwargs: None) + # Load config using kubeconfig + config.load_kube_config(config_file=os.environ["KUBECONFIG"]) + apply_proxy_to_conf() + # HTTPS_PROXY to dummy proxy + monkeypatch.setenv("HTTPS_PROXY", "http://127.0.0.1:8888") + config.load_kube_config(config_file=os.environ["KUBECONFIG"]) + apply_proxy_to_conf() + v1 = client.CoreV1Api() + v1.list_namespace(_preload_content=False) + assert not dummy_proxy.received_connect, "REST path should ignore HTTPS_PROXY" + +def test_websocket_call_honors_env(dummy_proxy, monkeypatch): + # set HTTPS_PROXY again + monkeypatch.setenv("HTTPS_PROXY", "http://127.0.0.1:8888") + # Load kubeconfig + config.load_kube_config(config_file=os.environ["KUBECONFIG"]) + apply_proxy_to_conf() + opts = websocket_proxycare({}, client.Configuration.get_default_copy(), None, None) + assert opts.get('http_proxy_host') == '127.0.0.1' + assert opts.get('http_proxy_port') == 8888 + # Optionally verify no_proxy parsing + assert opts.get('http_no_proxy') is None if __name__ == '__main__': unittest.main() diff --git a/kubernetes/base/watch/watch.py b/kubernetes/base/watch/watch.py index da81f97029..e8fe6c63e6 100644 --- a/kubernetes/base/watch/watch.py +++ b/kubernetes/base/watch/watch.py @@ -78,6 +78,8 @@ def iter_resp_lines(resp): buffer = buffer[next_newline+1:] if line: yield line + else: + yield '' # Only print one empty line next_newline = buffer.find(b'\n') @@ -107,24 +109,29 @@ def get_watch_argument_name(self, func): return 'watch' def unmarshal_event(self, data, return_type): - js = json.loads(data) - js['raw_object'] = js['object'] - # BOOKMARK event is treated the same as ERROR for a quick fix of - # decoding exception - # TODO: make use of the resource_version in BOOKMARK event for more - # efficient WATCH - if return_type and js['type'] != 'ERROR' and js['type'] != 'BOOKMARK': - obj = SimpleNamespace(data=json.dumps(js['raw_object'])) - js['object'] = self._api_client.deserialize(obj, return_type) - if hasattr(js['object'], 'metadata'): - self.resource_version = js['object'].metadata.resource_version - # For custom objects that we don't have model defined, json - # deserialization results in dictionary - elif (isinstance(js['object'], dict) and 'metadata' in js['object'] - and 'resourceVersion' in js['object']['metadata']): - self.resource_version = js['object']['metadata'][ - 'resourceVersion'] - return js + if not data or data.isspace(): + return None + try: + js = json.loads(data) + js['raw_object'] = js['object'] + # BOOKMARK event is treated the same as ERROR for a quick fix of + # decoding exception + # TODO: make use of the resource_version in BOOKMARK event for more + # efficient WATCH + if return_type and js['type'] != 'ERROR' and js['type'] != 'BOOKMARK': + obj = SimpleNamespace(data=json.dumps(js['raw_object'])) + js['object'] = self._api_client.deserialize(obj, return_type) + if hasattr(js['object'], 'metadata'): + self.resource_version = js['object'].metadata.resource_version + # For custom objects that we don't have model defined, json + # deserialization results in dictionary + elif (isinstance(js['object'], dict) and 'metadata' in js['object'] + and 'resourceVersion' in js['object']['metadata']): + self.resource_version = js['object']['metadata'][ + 'resourceVersion'] + return js + except json.JSONDecodeError: + return None def stream(self, func, *args, **kwargs): """Watch an API resource and stream the result back via a generator. @@ -172,6 +179,7 @@ def stream(self, func, *args, **kwargs): # We want to ensure we are returning within that timeout. disable_retries = ('timeout_seconds' in kwargs) retry_after_410 = False + deserialize = kwargs.pop('deserialize', True) while True: resp = func(*args, **kwargs) try: @@ -179,7 +187,11 @@ def stream(self, func, *args, **kwargs): # unmarshal when we are receiving events from watch, # return raw string when we are streaming log if watch_arg == "watch": - event = self.unmarshal_event(line, return_type) + if deserialize: + event = self.unmarshal_event(line, return_type) + else: + # Only do basic JSON parsing, no deserialize + event = json.loads(line) if isinstance(event, dict) \ and event['type'] == 'ERROR': obj = event['raw_object'] @@ -198,7 +210,10 @@ def stream(self, func, *args, **kwargs): retry_after_410 = False yield event else: - yield line + if line: + yield line # Normal non-empty line + else: + yield '' # Only yield one empty line if self._stop: break finally: diff --git a/kubernetes/base/watch/watch_test.py b/kubernetes/base/watch/watch_test.py index c5bc5c378c..4907dd5433 100644 --- a/kubernetes/base/watch/watch_test.py +++ b/kubernetes/base/watch/watch_test.py @@ -14,12 +14,18 @@ import unittest +import os + +import time + from unittest.mock import Mock, call -from kubernetes import client +from kubernetes import client,config from .watch import Watch +from kubernetes.client import ApiException + class WatchTests(unittest.TestCase): def setUp(self): @@ -99,6 +105,9 @@ def test_watch_with_interspersed_newlines(self): # Note that "timeout_seconds" below is not a timeout; rather, it disables retries and is # the only way to do so. Without that, the stream will re-read the test data forever. for e in w.stream(fake_api.get_namespaces, timeout_seconds=1): + # Here added a statement for exception for empty lines. + if e is None: + continue count += 1 self.assertEqual("test%d" % count, e['object'].metadata.name) self.assertEqual(3, count) @@ -488,7 +497,125 @@ def test_watch_with_error_event_and_timeout_param(self): amt=None, decode_content=False) fake_resp.close.assert_called_once() fake_resp.release_conn.assert_called_once() - + + @classmethod + def setUpClass(cls): + cls.api = Mock() + cls.namespace = "default" + + def test_pod_log_empty_lines(self): + pod_name = "demo-bug" + + try: + self.api.create_namespaced_pod = Mock() + self.api.read_namespaced_pod = Mock() + self.api.delete_namespaced_pod = Mock() + self.api.read_namespaced_pod_log = Mock() + + #pod creating step + self.api.create_namespaced_pod.return_value = None + + #Checking pod status + mock_pod = Mock() + mock_pod.status.phase = "Running" + self.api.read_namespaced_pod.return_value = mock_pod + + # Printing at pod output + self.api.read_namespaced_pod_log.return_value = iter(["Hello from Docker\n"]) + + # Wait for the pod to reach 'Running' + timeout = 60 + start_time = time.time() + while time.time() - start_time < timeout: + pod = self.api.read_namespaced_pod(name=pod_name, namespace=self.namespace) + if pod.status.phase == "Running": + break + time.sleep(2) + else: + self.fail("Pod did not reach 'Running' state within timeout") + + # Reading and streaming logs using Watch (mocked) + w = Watch() + log_output = [] + #Mock logs used for this test + w.stream = Mock(return_value=[ + "Hello from Docker", + "", + "", + "\n\n", + "Another log line", + "", + "\n", + "Final log" + ]) + for event in w.stream(self.api.read_namespaced_pod_log, name=pod_name, namespace=self.namespace, follow=True): + log_output.append(event) + print(event) + + # Print outputs + print(f"Captured logs: {log_output}") + # self.assertTrue(any("Hello from Docker" in line for line in log_output)) + # self.assertTrue(any(line.strip() == "" for line in log_output), "No empty lines found in logs") + expected_log = [ + "Hello from Docker", + "", + "", + "\n\n", + "Another log line", + "", + "\n", + "Final log" + ] + + self.assertEqual(log_output, expected_log, "Captured logs do not match expected logs") + + except ApiException as e: + self.fail(f"Kubernetes API exception: {e}") + finally: + #checking pod is calling for delete + self.api.delete_namespaced_pod(name=pod_name, namespace=self.namespace) + self.api.delete_namespaced_pod.assert_called_once_with(name=pod_name, namespace=self.namespace) + +# Comment out the test below, it does not work currently. +# def test_watch_with_deserialize_param(self): +# """test watch.stream() deserialize param""" +# # prepare test data +# test_json = '{"type": "ADDED", "object": {"metadata": {"name": "test1", "resourceVersion": "1"}, "spec": {}, "status": {}}}' +# fake_resp = Mock() +# fake_resp.close = Mock() +# fake_resp.release_conn = Mock() +# fake_resp.stream = Mock(return_value=[test_json + '\n']) +# +# fake_api = Mock() +# fake_api.get_namespaces = Mock(return_value=fake_resp) +# fake_api.get_namespaces.__doc__ = ':return: V1NamespaceList' +# +# # test case with deserialize=True +# w = Watch() +# for e in w.stream(fake_api.get_namespaces, deserialize=True): +# self.assertEqual("ADDED", e['type']) +# # Verify that the object is deserialized correctly +# self.assertTrue(hasattr(e['object'], 'metadata')) +# self.assertEqual("test1", e['object'].metadata.name) +# self.assertEqual("1", e['object'].metadata.resource_version) +# # Verify that the original object is saved +# self.assertEqual(json.loads(test_json)['object'], e['raw_object']) +# +# # test case with deserialize=False +# w = Watch() +# for e in w.stream(fake_api.get_namespaces, deserialize=False): +# self.assertEqual("ADDED", e['type']) +# # The validation object remains in the original dictionary format +# self.assertIsInstance(e['object'], dict) +# self.assertEqual("test1", e['object']['metadata']['name']) +# self.assertEqual("1", e['object']['metadata']['resourceVersion']) +# +# # verify the api is called twice +# fake_api.get_namespaces.assert_has_calls([ +# call(_preload_content=False, watch=True), +# call(_preload_content=False, watch=True) +# ]) + if __name__ == '__main__': unittest.main() diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index e46821316b..8df717e198 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -7,14 +7,14 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "32.0.0+snapshot" +__version__ = "35.0.0+snapshot" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi @@ -31,7 +31,6 @@ from kubernetes.client.api.apps_v1_api import AppsV1Api from kubernetes.client.api.authentication_api import AuthenticationApi from kubernetes.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api from kubernetes.client.api.authorization_api import AuthorizationApi from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api from kubernetes.client.api.autoscaling_api import AutoscalingApi @@ -42,9 +41,11 @@ from kubernetes.client.api.certificates_api import CertificatesApi from kubernetes.client.api.certificates_v1_api import CertificatesV1Api from kubernetes.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes.client.api.certificates_v1beta1_api import CertificatesV1beta1Api from kubernetes.client.api.coordination_api import CoordinationApi from kubernetes.client.api.coordination_v1_api import CoordinationV1Api from kubernetes.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes.client.api.coordination_v1beta1_api import CoordinationV1beta1Api from kubernetes.client.api.core_api import CoreApi from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi @@ -68,16 +69,18 @@ from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api from kubernetes.client.api.resource_api import ResourceApi +from kubernetes.client.api.resource_v1_api import ResourceV1Api from kubernetes.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes.client.api.resource_v1beta2_api import ResourceV1beta2Api from kubernetes.client.api.scheduling_api import SchedulingApi from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api +from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api from kubernetes.client.api.storage_api import StorageApi from kubernetes.client.api.storage_v1_api import StorageV1Api -from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api from kubernetes.client.api.storagemigration_api import StoragemigrationApi -from kubernetes.client.api.storagemigration_v1alpha1_api import StoragemigrationV1alpha1Api +from kubernetes.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api from kubernetes.client.api.version_api import VersionApi # import ApiClient @@ -99,12 +102,14 @@ from kubernetes.client.models.core_v1_event import CoreV1Event from kubernetes.client.models.core_v1_event_list import CoreV1EventList from kubernetes.client.models.core_v1_event_series import CoreV1EventSeries +from kubernetes.client.models.core_v1_resource_claim import CoreV1ResourceClaim from kubernetes.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort from kubernetes.client.models.events_v1_event import EventsV1Event from kubernetes.client.models.events_v1_event_list import EventsV1EventList from kubernetes.client.models.events_v1_event_series import EventsV1EventSeries from kubernetes.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject from kubernetes.client.models.rbac_v1_subject import RbacV1Subject +from kubernetes.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim from kubernetes.client.models.storage_v1_token_request import StorageV1TokenRequest from kubernetes.client.models.v1_api_group import V1APIGroup from kubernetes.client.models.v1_api_group_list import V1APIGroupList @@ -119,6 +124,8 @@ from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource from kubernetes.client.models.v1_affinity import V1Affinity from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule +from kubernetes.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus +from kubernetes.client.models.v1_allocation_result import V1AllocationResult from kubernetes.client.models.v1_app_armor_profile import V1AppArmorProfile from kubernetes.client.models.v1_attached_volume import V1AttachedVolume from kubernetes.client.models.v1_audit_annotation import V1AuditAnnotation @@ -127,6 +134,7 @@ from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource from kubernetes.client.models.v1_binding import V1Binding from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.client.models.v1_cel_device_selector import V1CELDeviceSelector from kubernetes.client.models.v1_csi_driver import V1CSIDriver from kubernetes.client.models.v1_csi_driver_list import V1CSIDriverList from kubernetes.client.models.v1_csi_driver_spec import V1CSIDriverSpec @@ -139,6 +147,9 @@ from kubernetes.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource from kubernetes.client.models.v1_capabilities import V1Capabilities +from kubernetes.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy +from kubernetes.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange +from kubernetes.client.models.v1_capacity_requirements import V1CapacityRequirements from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource from kubernetes.client.models.v1_certificate_signing_request import V1CertificateSigningRequest @@ -166,9 +177,12 @@ from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource from kubernetes.client.models.v1_container import V1Container +from kubernetes.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest from kubernetes.client.models.v1_container_image import V1ContainerImage from kubernetes.client.models.v1_container_port import V1ContainerPort from kubernetes.client.models.v1_container_resize_policy import V1ContainerResizePolicy +from kubernetes.client.models.v1_container_restart_rule import V1ContainerRestartRule +from kubernetes.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes from kubernetes.client.models.v1_container_state import V1ContainerState from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated @@ -177,6 +191,8 @@ from kubernetes.client.models.v1_container_user import V1ContainerUser from kubernetes.client.models.v1_controller_revision import V1ControllerRevision from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList +from kubernetes.client.models.v1_counter import V1Counter +from kubernetes.client.models.v1_counter_set import V1CounterSet from kubernetes.client.models.v1_cron_job import V1CronJob from kubernetes.client.models.v1_cron_job_list import V1CronJobList from kubernetes.client.models.v1_cron_job_spec import V1CronJobSpec @@ -208,6 +224,25 @@ from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy +from kubernetes.client.models.v1_device import V1Device +from kubernetes.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration +from kubernetes.client.models.v1_device_allocation_result import V1DeviceAllocationResult +from kubernetes.client.models.v1_device_attribute import V1DeviceAttribute +from kubernetes.client.models.v1_device_capacity import V1DeviceCapacity +from kubernetes.client.models.v1_device_claim import V1DeviceClaim +from kubernetes.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration +from kubernetes.client.models.v1_device_class import V1DeviceClass +from kubernetes.client.models.v1_device_class_configuration import V1DeviceClassConfiguration +from kubernetes.client.models.v1_device_class_list import V1DeviceClassList +from kubernetes.client.models.v1_device_class_spec import V1DeviceClassSpec +from kubernetes.client.models.v1_device_constraint import V1DeviceConstraint +from kubernetes.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption +from kubernetes.client.models.v1_device_request import V1DeviceRequest +from kubernetes.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult +from kubernetes.client.models.v1_device_selector import V1DeviceSelector +from kubernetes.client.models.v1_device_sub_request import V1DeviceSubRequest +from kubernetes.client.models.v1_device_taint import V1DeviceTaint +from kubernetes.client.models.v1_device_toleration import V1DeviceToleration from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource @@ -228,6 +263,7 @@ from kubernetes.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource from kubernetes.client.models.v1_event_source import V1EventSource from kubernetes.client.models.v1_eviction import V1Eviction +from kubernetes.client.models.v1_exact_device_request import V1ExactDeviceRequest from kubernetes.client.models.v1_exec_action import V1ExecAction from kubernetes.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning @@ -235,6 +271,7 @@ from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource from kubernetes.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes from kubernetes.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement +from kubernetes.client.models.v1_file_key_selector import V1FileKeySelector from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource @@ -244,12 +281,14 @@ from kubernetes.client.models.v1_flow_schema_list import V1FlowSchemaList from kubernetes.client.models.v1_flow_schema_spec import V1FlowSchemaSpec from kubernetes.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes.client.models.v1_for_node import V1ForNode from kubernetes.client.models.v1_for_zone import V1ForZone from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from kubernetes.client.models.v1_grpc_action import V1GRPCAction from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource +from kubernetes.client.models.v1_group_resource import V1GroupResource from kubernetes.client.models.v1_group_subject import V1GroupSubject from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction @@ -263,6 +302,9 @@ from kubernetes.client.models.v1_host_alias import V1HostAlias from kubernetes.client.models.v1_host_ip import V1HostIP from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes.client.models.v1_ip_address import V1IPAddress +from kubernetes.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes.client.models.v1_ip_address_spec import V1IPAddressSpec from kubernetes.client.models.v1_ip_block import V1IPBlock from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource @@ -325,6 +367,7 @@ from kubernetes.client.models.v1_namespace_list import V1NamespaceList from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus +from kubernetes.client.models.v1_network_device_data import V1NetworkDeviceData from kubernetes.client.models.v1_network_policy import V1NetworkPolicy from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule @@ -348,6 +391,7 @@ from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm from kubernetes.client.models.v1_node_spec import V1NodeSpec from kubernetes.client.models.v1_node_status import V1NodeStatus +from kubernetes.client.models.v1_node_swap_status import V1NodeSwapStatus from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes from kubernetes.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule @@ -355,10 +399,12 @@ from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector from kubernetes.client.models.v1_object_meta import V1ObjectMeta from kubernetes.client.models.v1_object_reference import V1ObjectReference +from kubernetes.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration from kubernetes.client.models.v1_overhead import V1Overhead from kubernetes.client.models.v1_owner_reference import V1OwnerReference from kubernetes.client.models.v1_param_kind import V1ParamKind from kubernetes.client.models.v1_param_ref import V1ParamRef +from kubernetes.client.models.v1_parent_reference import V1ParentReference from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition @@ -375,6 +421,7 @@ from kubernetes.client.models.v1_pod_affinity import V1PodAffinity from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity +from kubernetes.client.models.v1_pod_certificate_projection import V1PodCertificateProjection from kubernetes.client.models.v1_pod_condition import V1PodCondition from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption @@ -382,6 +429,7 @@ from kubernetes.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList from kubernetes.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec from kubernetes.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus +from kubernetes.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus from kubernetes.client.models.v1_pod_failure_policy import V1PodFailurePolicy from kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement from kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern @@ -430,16 +478,26 @@ from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes -from kubernetes.client.models.v1_resource_claim import V1ResourceClaim +from kubernetes.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference +from kubernetes.client.models.v1_resource_claim_list import V1ResourceClaimList +from kubernetes.client.models.v1_resource_claim_spec import V1ResourceClaimSpec +from kubernetes.client.models.v1_resource_claim_status import V1ResourceClaimStatus +from kubernetes.client.models.v1_resource_claim_template import V1ResourceClaimTemplate +from kubernetes.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList +from kubernetes.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector from kubernetes.client.models.v1_resource_health import V1ResourceHealth from kubernetes.client.models.v1_resource_policy_rule import V1ResourcePolicyRule +from kubernetes.client.models.v1_resource_pool import V1ResourcePool from kubernetes.client.models.v1_resource_quota import V1ResourceQuota from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements from kubernetes.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.client.models.v1_resource_slice import V1ResourceSlice +from kubernetes.client.models.v1_resource_slice_list import V1ResourceSliceList +from kubernetes.client.models.v1_resource_slice_spec import V1ResourceSliceSpec from kubernetes.client.models.v1_resource_status import V1ResourceStatus from kubernetes.client.models.v1_role import V1Role from kubernetes.client.models.v1_role_binding import V1RoleBinding @@ -484,6 +542,10 @@ from kubernetes.client.models.v1_service_account_subject import V1ServiceAccountSubject from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection from kubernetes.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes.client.models.v1_service_cidr_status import V1ServiceCIDRStatus from kubernetes.client.models.v1_service_list import V1ServiceList from kubernetes.client.models.v1_service_port import V1ServicePort from kubernetes.client.models.v1_service_spec import V1ServiceSpec @@ -548,6 +610,8 @@ from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus +from kubernetes.client.models.v1_volume_attributes_class import V1VolumeAttributesClass +from kubernetes.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList from kubernetes.client.models.v1_volume_device import V1VolumeDevice from kubernetes.client.models.v1_volume_error import V1VolumeError from kubernetes.client.models.v1_volume_mount import V1VolumeMount @@ -561,15 +625,15 @@ from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions +from kubernetes.client.models.v1_workload_reference import V1WorkloadReference from kubernetes.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration from kubernetes.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle from kubernetes.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList from kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec -from kubernetes.client.models.v1alpha1_group_version_resource import V1alpha1GroupVersionResource +from kubernetes.client.models.v1alpha1_gang_scheduling_policy import V1alpha1GangSchedulingPolicy from kubernetes.client.models.v1alpha1_json_patch import V1alpha1JSONPatch from kubernetes.client.models.v1alpha1_match_condition import V1alpha1MatchCondition from kubernetes.client.models.v1alpha1_match_resources import V1alpha1MatchResources -from kubernetes.client.models.v1alpha1_migration_condition import V1alpha1MigrationCondition from kubernetes.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList @@ -580,58 +644,40 @@ from kubernetes.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations from kubernetes.client.models.v1alpha1_param_kind import V1alpha1ParamKind from kubernetes.client.models.v1alpha1_param_ref import V1alpha1ParamRef +from kubernetes.client.models.v1alpha1_pod_group import V1alpha1PodGroup +from kubernetes.client.models.v1alpha1_pod_group_policy import V1alpha1PodGroupPolicy from kubernetes.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVersion from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList -from kubernetes.client.models.v1alpha1_storage_version_migration import V1alpha1StorageVersionMigration -from kubernetes.client.models.v1alpha1_storage_version_migration_list import V1alpha1StorageVersionMigrationList -from kubernetes.client.models.v1alpha1_storage_version_migration_spec import V1alpha1StorageVersionMigrationSpec -from kubernetes.client.models.v1alpha1_storage_version_migration_status import V1alpha1StorageVersionMigrationStatus from kubernetes.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus +from kubernetes.client.models.v1alpha1_typed_local_object_reference import V1alpha1TypedLocalObjectReference from kubernetes.client.models.v1alpha1_variable import V1alpha1Variable -from kubernetes.client.models.v1alpha1_volume_attributes_class import V1alpha1VolumeAttributesClass -from kubernetes.client.models.v1alpha1_volume_attributes_class_list import V1alpha1VolumeAttributesClassList +from kubernetes.client.models.v1alpha1_workload import V1alpha1Workload +from kubernetes.client.models.v1alpha1_workload_list import V1alpha1WorkloadList +from kubernetes.client.models.v1alpha1_workload_spec import V1alpha1WorkloadSpec from kubernetes.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate from kubernetes.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList from kubernetes.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec -from kubernetes.client.models.v1alpha3_allocated_device_status import V1alpha3AllocatedDeviceStatus -from kubernetes.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult -from kubernetes.client.models.v1alpha3_basic_device import V1alpha3BasicDevice -from kubernetes.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector -from kubernetes.client.models.v1alpha3_device import V1alpha3Device -from kubernetes.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration -from kubernetes.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult -from kubernetes.client.models.v1alpha3_device_attribute import V1alpha3DeviceAttribute -from kubernetes.client.models.v1alpha3_device_claim import V1alpha3DeviceClaim -from kubernetes.client.models.v1alpha3_device_claim_configuration import V1alpha3DeviceClaimConfiguration -from kubernetes.client.models.v1alpha3_device_class import V1alpha3DeviceClass -from kubernetes.client.models.v1alpha3_device_class_configuration import V1alpha3DeviceClassConfiguration -from kubernetes.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList -from kubernetes.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec -from kubernetes.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint -from kubernetes.client.models.v1alpha3_device_request import V1alpha3DeviceRequest -from kubernetes.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult -from kubernetes.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector -from kubernetes.client.models.v1alpha3_network_device_data import V1alpha3NetworkDeviceData -from kubernetes.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration -from kubernetes.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim -from kubernetes.client.models.v1alpha3_resource_claim_consumer_reference import V1alpha3ResourceClaimConsumerReference -from kubernetes.client.models.v1alpha3_resource_claim_list import V1alpha3ResourceClaimList -from kubernetes.client.models.v1alpha3_resource_claim_spec import V1alpha3ResourceClaimSpec -from kubernetes.client.models.v1alpha3_resource_claim_status import V1alpha3ResourceClaimStatus -from kubernetes.client.models.v1alpha3_resource_claim_template import V1alpha3ResourceClaimTemplate -from kubernetes.client.models.v1alpha3_resource_claim_template_list import V1alpha3ResourceClaimTemplateList -from kubernetes.client.models.v1alpha3_resource_claim_template_spec import V1alpha3ResourceClaimTemplateSpec -from kubernetes.client.models.v1alpha3_resource_pool import V1alpha3ResourcePool -from kubernetes.client.models.v1alpha3_resource_slice import V1alpha3ResourceSlice -from kubernetes.client.models.v1alpha3_resource_slice_list import V1alpha3ResourceSliceList -from kubernetes.client.models.v1alpha3_resource_slice_spec import V1alpha3ResourceSliceSpec +from kubernetes.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus +from kubernetes.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector from kubernetes.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus from kubernetes.client.models.v1beta1_allocation_result import V1beta1AllocationResult -from kubernetes.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation +from kubernetes.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration from kubernetes.client.models.v1beta1_basic_device import V1beta1BasicDevice from kubernetes.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy +from kubernetes.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange +from kubernetes.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements +from kubernetes.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes.client.models.v1beta1_counter import V1beta1Counter +from kubernetes.client.models.v1beta1_counter_set import V1beta1CounterSet from kubernetes.client.models.v1beta1_device import V1beta1Device from kubernetes.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration from kubernetes.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult @@ -644,21 +690,39 @@ from kubernetes.client.models.v1beta1_device_class_list import V1beta1DeviceClassList from kubernetes.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec from kubernetes.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption from kubernetes.client.models.v1beta1_device_request import V1beta1DeviceRequest from kubernetes.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult from kubernetes.client.models.v1beta1_device_selector import V1beta1DeviceSelector -from kubernetes.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning +from kubernetes.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes.client.models.v1beta1_device_toleration import V1beta1DeviceToleration from kubernetes.client.models.v1beta1_ip_address import V1beta1IPAddress from kubernetes.client.models.v1beta1_ip_address_list import V1beta1IPAddressList from kubernetes.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes.client.models.v1beta1_json_patch import V1beta1JSONPatch +from kubernetes.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec from kubernetes.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes.client.models.v1beta1_match_resources import V1beta1MatchResources +from kubernetes.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec +from kubernetes.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList +from kubernetes.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec +from kubernetes.client.models.v1beta1_mutation import V1beta1Mutation from kubernetes.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations from kubernetes.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData from kubernetes.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration from kubernetes.client.models.v1beta1_param_kind import V1beta1ParamKind from kubernetes.client.models.v1beta1_param_ref import V1beta1ParamRef from kubernetes.client.models.v1beta1_parent_reference import V1beta1ParentReference +from kubernetes.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest +from kubernetes.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList +from kubernetes.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec +from kubernetes.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus from kubernetes.client.models.v1beta1_resource_claim import V1beta1ResourceClaim from kubernetes.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference from kubernetes.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList @@ -671,24 +735,59 @@ from kubernetes.client.models.v1beta1_resource_slice import V1beta1ResourceSlice from kubernetes.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList from kubernetes.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview -from kubernetes.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus from kubernetes.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR from kubernetes.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList from kubernetes.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec from kubernetes.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus -from kubernetes.client.models.v1beta1_type_checking import V1beta1TypeChecking -from kubernetes.client.models.v1beta1_validating_admission_policy import V1beta1ValidatingAdmissionPolicy -from kubernetes.client.models.v1beta1_validating_admission_policy_binding import V1beta1ValidatingAdmissionPolicyBinding -from kubernetes.client.models.v1beta1_validating_admission_policy_binding_list import V1beta1ValidatingAdmissionPolicyBindingList -from kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec import V1beta1ValidatingAdmissionPolicyBindingSpec -from kubernetes.client.models.v1beta1_validating_admission_policy_list import V1beta1ValidatingAdmissionPolicyList -from kubernetes.client.models.v1beta1_validating_admission_policy_spec import V1beta1ValidatingAdmissionPolicySpec -from kubernetes.client.models.v1beta1_validating_admission_policy_status import V1beta1ValidatingAdmissionPolicyStatus -from kubernetes.client.models.v1beta1_validation import V1beta1Validation +from kubernetes.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration +from kubernetes.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList +from kubernetes.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec +from kubernetes.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus from kubernetes.client.models.v1beta1_variable import V1beta1Variable from kubernetes.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass from kubernetes.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy +from kubernetes.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange +from kubernetes.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements +from kubernetes.client.models.v1beta2_counter import V1beta2Counter +from kubernetes.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes.client.models.v1beta2_device import V1beta2Device +from kubernetes.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec from kubernetes.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource from kubernetes.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus from kubernetes.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference diff --git a/kubernetes/client/api/__init__.py b/kubernetes/client/api/__init__.py index 769f9a2f67..96fa9d53b9 100644 --- a/kubernetes/client/api/__init__.py +++ b/kubernetes/client/api/__init__.py @@ -17,7 +17,6 @@ from kubernetes.client.api.apps_v1_api import AppsV1Api from kubernetes.client.api.authentication_api import AuthenticationApi from kubernetes.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api from kubernetes.client.api.authorization_api import AuthorizationApi from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api from kubernetes.client.api.autoscaling_api import AutoscalingApi @@ -28,9 +27,11 @@ from kubernetes.client.api.certificates_api import CertificatesApi from kubernetes.client.api.certificates_v1_api import CertificatesV1Api from kubernetes.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes.client.api.certificates_v1beta1_api import CertificatesV1beta1Api from kubernetes.client.api.coordination_api import CoordinationApi from kubernetes.client.api.coordination_v1_api import CoordinationV1Api from kubernetes.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes.client.api.coordination_v1beta1_api import CoordinationV1beta1Api from kubernetes.client.api.core_api import CoreApi from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi @@ -54,14 +55,16 @@ from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api from kubernetes.client.api.resource_api import ResourceApi +from kubernetes.client.api.resource_v1_api import ResourceV1Api from kubernetes.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes.client.api.resource_v1beta2_api import ResourceV1beta2Api from kubernetes.client.api.scheduling_api import SchedulingApi from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api +from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api from kubernetes.client.api.storage_api import StorageApi from kubernetes.client.api.storage_v1_api import StorageV1Api -from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api from kubernetes.client.api.storagemigration_api import StoragemigrationApi -from kubernetes.client.api.storagemigration_v1alpha1_api import StoragemigrationV1alpha1Api +from kubernetes.client.api.storagemigration_v1beta1_api import StoragemigrationV1beta1Api from kubernetes.client.api.version_api import VersionApi diff --git a/kubernetes/client/api/admissionregistration_api.py b/kubernetes/client/api/admissionregistration_api.py index 98e4c493bf..27972c729b 100644 --- a/kubernetes/client/api/admissionregistration_api.py +++ b/kubernetes/client/api/admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index 2c86d51ca4..b580fc3480 100644 --- a/kubernetes/client/api/admissionregistration_v1_api.py +++ b/kubernetes/client/api/admissionregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/client/api/admissionregistration_v1alpha1_api.py index 7ae59436c9..d0a41aa82e 100644 --- a/kubernetes/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/api/admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1beta1_api.py b/kubernetes/client/api/admissionregistration_v1beta1_api.py index 30b795490e..9fcc00d5f9 100644 --- a/kubernetes/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/api/admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -36,17 +36,17 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def create_validating_admission_policy(self, body, **kwargs): # noqa: E501 - """create_validating_admission_policy # noqa: E501 + def create_mutating_admission_policy(self, body, **kwargs): # noqa: E501 + """create_mutating_admission_policy # noqa: E501 - create a ValidatingAdmissionPolicy # noqa: E501 + create a MutatingAdmissionPolicy # 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_validating_admission_policy(body, async_req=True) + >>> thread = api.create_mutating_admission_policy(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1beta1ValidatingAdmissionPolicy body: (required) + :param V1beta1MutatingAdmissionPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -58,24 +58,24 @@ def create_validating_admission_policy(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy + :return: V1beta1MutatingAdmissionPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.create_validating_admission_policy_with_http_info(body, **kwargs) # noqa: E501 + return self.create_mutating_admission_policy_with_http_info(body, **kwargs) # noqa: E501 - def create_validating_admission_policy_with_http_info(self, body, **kwargs): # noqa: E501 - """create_validating_admission_policy # noqa: E501 + def create_mutating_admission_policy_with_http_info(self, body, **kwargs): # noqa: E501 + """create_mutating_admission_policy # noqa: E501 - create a ValidatingAdmissionPolicy # noqa: E501 + create a MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(body, async_req=True) + >>> thread = api.create_mutating_admission_policy_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1beta1ValidatingAdmissionPolicy body: (required) + :param V1beta1MutatingAdmissionPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -89,7 +89,7 @@ def create_validating_admission_policy_with_http_info(self, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -116,14 +116,14 @@ def create_validating_admission_policy_with_http_info(self, body, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_validating_admission_policy" % key + " to method create_mutating_admission_policy" % 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_validating_admission_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_mutating_admission_policy`") # noqa: E501 collection_formats = {} @@ -155,14 +155,14 @@ def create_validating_admission_policy_with_http_info(self, body, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies', 'POST', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -170,17 +170,17 @@ def create_validating_admission_policy_with_http_info(self, body, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def create_validating_admission_policy_binding(self, body, **kwargs): # noqa: E501 - """create_validating_admission_policy_binding # noqa: E501 + def create_mutating_admission_policy_binding(self, body, **kwargs): # noqa: E501 + """create_mutating_admission_policy_binding # noqa: E501 - create a ValidatingAdmissionPolicyBinding # noqa: E501 + create a MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(body, async_req=True) + >>> thread = api.create_mutating_admission_policy_binding(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1beta1ValidatingAdmissionPolicyBinding body: (required) + :param V1beta1MutatingAdmissionPolicyBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -192,24 +192,24 @@ def create_validating_admission_policy_binding(self, body, **kwargs): # noqa: E number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyBinding + :return: V1beta1MutatingAdmissionPolicyBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.create_validating_admission_policy_binding_with_http_info(body, **kwargs) # noqa: E501 + return self.create_mutating_admission_policy_binding_with_http_info(body, **kwargs) # noqa: E501 - def create_validating_admission_policy_binding_with_http_info(self, body, **kwargs): # noqa: E501 - """create_validating_admission_policy_binding # noqa: E501 + def create_mutating_admission_policy_binding_with_http_info(self, body, **kwargs): # noqa: E501 + """create_mutating_admission_policy_binding # noqa: E501 - create a ValidatingAdmissionPolicyBinding # noqa: E501 + create a MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(body, async_req=True) + >>> thread = api.create_mutating_admission_policy_binding_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1beta1ValidatingAdmissionPolicyBinding body: (required) + :param V1beta1MutatingAdmissionPolicyBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -223,7 +223,7 @@ def create_validating_admission_policy_binding_with_http_info(self, body, **kwar number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -250,14 +250,14 @@ def create_validating_admission_policy_binding_with_http_info(self, body, **kwar if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_validating_admission_policy_binding" % key + " to method create_mutating_admission_policy_binding" % 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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_mutating_admission_policy_binding`") # noqa: E501 collection_formats = {} @@ -289,14 +289,14 @@ def create_validating_admission_policy_binding_with_http_info(self, body, **kwar auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings', 'POST', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyBinding', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyBinding', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -304,13 +304,13 @@ def create_validating_admission_policy_binding_with_http_info(self, body, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_validating_admission_policy(self, **kwargs): # noqa: E501 - """delete_collection_validating_admission_policy # noqa: E501 + def delete_collection_mutating_admission_policy(self, **kwargs): # noqa: E501 + """delete_collection_mutating_admission_policy # noqa: E501 - delete collection of ValidatingAdmissionPolicy # noqa: E501 + delete collection of MutatingAdmissionPolicy # 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_validating_admission_policy(async_req=True) + >>> thread = api.delete_collection_mutating_admission_policy(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -341,15 +341,15 @@ def delete_collection_validating_admission_policy(self, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_collection_validating_admission_policy_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_mutating_admission_policy_with_http_info(**kwargs) # noqa: E501 - def delete_collection_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_validating_admission_policy # noqa: E501 + def delete_collection_mutating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_mutating_admission_policy # noqa: E501 - delete collection of ValidatingAdmissionPolicy # noqa: E501 + delete collection of MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(async_req=True) + >>> thread = api.delete_collection_mutating_admission_policy_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -414,7 +414,7 @@ def delete_collection_validating_admission_policy_with_http_info(self, **kwargs) if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_validating_admission_policy" % key + " to method delete_collection_mutating_admission_policy" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -469,7 +469,7 @@ def delete_collection_validating_admission_policy_with_http_info(self, **kwargs) auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies', 'DELETE', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies', 'DELETE', path_params, query_params, header_params, @@ -484,13 +484,13 @@ def delete_collection_validating_admission_policy_with_http_info(self, **kwargs) _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_validating_admission_policy_binding(self, **kwargs): # noqa: E501 - """delete_collection_validating_admission_policy_binding # noqa: E501 + def delete_collection_mutating_admission_policy_binding(self, **kwargs): # noqa: E501 + """delete_collection_mutating_admission_policy_binding # noqa: E501 - delete collection of ValidatingAdmissionPolicyBinding # noqa: E501 + delete collection of MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(async_req=True) + >>> thread = api.delete_collection_mutating_admission_policy_binding(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -521,15 +521,15 @@ def delete_collection_validating_admission_policy_binding(self, **kwargs): # no returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_collection_validating_admission_policy_binding_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_mutating_admission_policy_binding_with_http_info(**kwargs) # noqa: E501 - def delete_collection_validating_admission_policy_binding_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_validating_admission_policy_binding # noqa: E501 + def delete_collection_mutating_admission_policy_binding_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_mutating_admission_policy_binding # noqa: E501 - delete collection of ValidatingAdmissionPolicyBinding # noqa: E501 + delete collection of MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(async_req=True) + >>> thread = api.delete_collection_mutating_admission_policy_binding_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -594,7 +594,7 @@ def delete_collection_validating_admission_policy_binding_with_http_info(self, * if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_validating_admission_policy_binding" % key + " to method delete_collection_mutating_admission_policy_binding" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -649,7 +649,7 @@ def delete_collection_validating_admission_policy_binding_with_http_info(self, * auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings', 'DELETE', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings', 'DELETE', path_params, query_params, header_params, @@ -664,17 +664,17 @@ def delete_collection_validating_admission_policy_binding_with_http_info(self, * _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_validating_admission_policy(self, name, **kwargs): # noqa: E501 - """delete_validating_admission_policy # noqa: E501 + def delete_mutating_admission_policy(self, name, **kwargs): # noqa: E501 + """delete_mutating_admission_policy # noqa: E501 - delete a ValidatingAdmissionPolicy # noqa: E501 + delete a MutatingAdmissionPolicy # 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_validating_admission_policy(name, async_req=True) + >>> thread = api.delete_mutating_admission_policy(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -694,19 +694,19 @@ def delete_validating_admission_policy(self, name, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_validating_admission_policy_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_mutating_admission_policy_with_http_info(name, **kwargs) # noqa: E501 - def delete_validating_admission_policy_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_validating_admission_policy # noqa: E501 + def delete_mutating_admission_policy_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_mutating_admission_policy # noqa: E501 - delete a ValidatingAdmissionPolicy # noqa: E501 + delete a MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(name, async_req=True) + >>> thread = api.delete_mutating_admission_policy_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -753,14 +753,14 @@ def delete_validating_admission_policy_with_http_info(self, name, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_validating_admission_policy" % key + " to method delete_mutating_admission_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_validating_admission_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_mutating_admission_policy`") # noqa: E501 collection_formats = {} @@ -798,7 +798,7 @@ def delete_validating_admission_policy_with_http_info(self, name, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}', 'DELETE', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}', 'DELETE', path_params, query_params, header_params, @@ -813,17 +813,17 @@ def delete_validating_admission_policy_with_http_info(self, name, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_validating_admission_policy_binding(self, name, **kwargs): # noqa: E501 - """delete_validating_admission_policy_binding # noqa: E501 + def delete_mutating_admission_policy_binding(self, name, **kwargs): # noqa: E501 + """delete_mutating_admission_policy_binding # noqa: E501 - delete a ValidatingAdmissionPolicyBinding # noqa: E501 + delete a MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(name, async_req=True) + >>> thread = api.delete_mutating_admission_policy_binding(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -843,19 +843,19 @@ def delete_validating_admission_policy_binding(self, name, **kwargs): # noqa: E returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_validating_admission_policy_binding_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_mutating_admission_policy_binding_with_http_info(name, **kwargs) # noqa: E501 - def delete_validating_admission_policy_binding_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_validating_admission_policy_binding # noqa: E501 + def delete_mutating_admission_policy_binding_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_mutating_admission_policy_binding # noqa: E501 - delete a ValidatingAdmissionPolicyBinding # noqa: E501 + delete a MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(name, async_req=True) + >>> thread = api.delete_mutating_admission_policy_binding_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -902,14 +902,14 @@ def delete_validating_admission_policy_binding_with_http_info(self, name, **kwar if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_validating_admission_policy_binding" % key + " to method delete_mutating_admission_policy_binding" % 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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_mutating_admission_policy_binding`") # noqa: E501 collection_formats = {} @@ -947,7 +947,7 @@ def delete_validating_admission_policy_binding_with_http_info(self, name, **kwar auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}', 'DELETE', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}', 'DELETE', path_params, query_params, header_params, @@ -1067,13 +1067,13 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_validating_admission_policy(self, **kwargs): # noqa: E501 - """list_validating_admission_policy # noqa: E501 + def list_mutating_admission_policy(self, **kwargs): # noqa: E501 + """list_mutating_admission_policy # noqa: E501 - list or watch objects of kind ValidatingAdmissionPolicy # noqa: E501 + list or watch objects of kind MutatingAdmissionPolicy # 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_validating_admission_policy(async_req=True) + >>> thread = api.list_mutating_admission_policy(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -1095,20 +1095,20 @@ def list_validating_admission_policy(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyList + :return: V1beta1MutatingAdmissionPolicyList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_validating_admission_policy_with_http_info(**kwargs) # noqa: E501 + return self.list_mutating_admission_policy_with_http_info(**kwargs) # noqa: E501 - def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 - """list_validating_admission_policy # noqa: E501 + def list_mutating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 + """list_mutating_admission_policy # noqa: E501 - list or watch objects of kind ValidatingAdmissionPolicy # noqa: E501 + list or watch objects of kind MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(async_req=True) + >>> thread = api.list_mutating_admission_policy_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -1132,7 +1132,7 @@ def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1165,7 +1165,7 @@ def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_validating_admission_policy" % key + " to method list_mutating_admission_policy" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -1212,14 +1212,14 @@ def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E5 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies', 'GET', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyList', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1227,13 +1227,13 @@ def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_validating_admission_policy_binding(self, **kwargs): # noqa: E501 - """list_validating_admission_policy_binding # noqa: E501 + def list_mutating_admission_policy_binding(self, **kwargs): # noqa: E501 + """list_mutating_admission_policy_binding # noqa: E501 - list or watch objects of kind ValidatingAdmissionPolicyBinding # noqa: E501 + list or watch objects of kind MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(async_req=True) + >>> thread = api.list_mutating_admission_policy_binding(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -1255,20 +1255,20 @@ def list_validating_admission_policy_binding(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyBindingList + :return: V1beta1MutatingAdmissionPolicyBindingList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_validating_admission_policy_binding_with_http_info(**kwargs) # noqa: E501 + return self.list_mutating_admission_policy_binding_with_http_info(**kwargs) # noqa: E501 - def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # noqa: E501 - """list_validating_admission_policy_binding # noqa: E501 + def list_mutating_admission_policy_binding_with_http_info(self, **kwargs): # noqa: E501 + """list_mutating_admission_policy_binding # noqa: E501 - list or watch objects of kind ValidatingAdmissionPolicyBinding # noqa: E501 + list or watch objects of kind MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(async_req=True) + >>> thread = api.list_mutating_admission_policy_binding_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -1292,7 +1292,7 @@ def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyBindingList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyBindingList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1325,7 +1325,7 @@ def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_validating_admission_policy_binding" % key + " to method list_mutating_admission_policy_binding" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -1372,14 +1372,14 @@ def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings', 'GET', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyBindingList', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyBindingList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1387,17 +1387,17 @@ def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_validating_admission_policy(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy # noqa: E501 + def patch_mutating_admission_policy(self, name, body, **kwargs): # noqa: E501 + """patch_mutating_admission_policy # noqa: E501 - partially update the specified ValidatingAdmissionPolicy # noqa: E501 + partially update the specified MutatingAdmissionPolicy # 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_validating_admission_policy(name, body, async_req=True) + >>> thread = api.patch_mutating_admission_policy(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1411,24 +1411,24 @@ def patch_validating_admission_policy(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy + :return: V1beta1MutatingAdmissionPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.patch_validating_admission_policy_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_mutating_admission_policy_with_http_info(name, body, **kwargs) # noqa: E501 - def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy # noqa: E501 + def patch_mutating_admission_policy_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_mutating_admission_policy # noqa: E501 - partially update the specified ValidatingAdmissionPolicy # noqa: E501 + partially update the specified MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(name, body, async_req=True) + >>> thread = api.patch_mutating_admission_policy_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1444,7 +1444,7 @@ def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs) number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1473,18 +1473,18 @@ def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs) if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_validating_admission_policy" % key + " to method patch_mutating_admission_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_validating_admission_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_mutating_admission_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_validating_admission_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_mutating_admission_policy`") # noqa: E501 collection_formats = {} @@ -1524,14 +1524,14 @@ def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs) auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}', 'PATCH', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1539,17 +1539,17 @@ def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs) _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_validating_admission_policy_binding(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy_binding # noqa: E501 + def patch_mutating_admission_policy_binding(self, name, body, **kwargs): # noqa: E501 + """patch_mutating_admission_policy_binding # noqa: E501 - partially update the specified ValidatingAdmissionPolicyBinding # noqa: E501 + partially update the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(name, body, async_req=True) + >>> thread = api.patch_mutating_admission_policy_binding(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1563,24 +1563,24 @@ def patch_validating_admission_policy_binding(self, name, body, **kwargs): # no number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyBinding + :return: V1beta1MutatingAdmissionPolicyBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.patch_validating_admission_policy_binding_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_mutating_admission_policy_binding_with_http_info(name, body, **kwargs) # noqa: E501 - def patch_validating_admission_policy_binding_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy_binding # noqa: E501 + def patch_mutating_admission_policy_binding_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_mutating_admission_policy_binding # noqa: E501 - partially update the specified ValidatingAdmissionPolicyBinding # noqa: E501 + partially update the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(name, body, async_req=True) + >>> thread = api.patch_mutating_admission_policy_binding_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1596,7 +1596,7 @@ def patch_validating_admission_policy_binding_with_http_info(self, name, body, * number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1625,18 +1625,18 @@ def patch_validating_admission_policy_binding_with_http_info(self, name, body, * if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_validating_admission_policy_binding" % key + " to method patch_mutating_admission_policy_binding" % 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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_mutating_admission_policy_binding`") # 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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_mutating_admission_policy_binding`") # noqa: E501 collection_formats = {} @@ -1676,14 +1676,14 @@ def patch_validating_admission_policy_binding_with_http_info(self, name, body, * auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}', 'PATCH', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyBinding', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyBinding', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1691,169 +1691,17 @@ def patch_validating_admission_policy_binding_with_http_info(self, name, body, * _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_validating_admission_policy_status(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy_status # noqa: E501 + def read_mutating_admission_policy(self, name, **kwargs): # noqa: E501 + """read_mutating_admission_policy # noqa: E501 - partially update status of the specified ValidatingAdmissionPolicy # noqa: E501 + read the specified MutatingAdmissionPolicy # 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_validating_admission_policy_status(name, body, async_req=True) + >>> thread = api.read_mutating_admission_policy(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.patch_validating_admission_policy_status_with_http_info(name, body, **kwargs) # noqa: E501 - - def patch_validating_admission_policy_status_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_validating_admission_policy_status # noqa: E501 - - partially update status of the specified ValidatingAdmissionPolicy # 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_validating_admission_policy_status_with_http_info(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_validating_admission_policy_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_validating_admission_policy_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_validating_admission_policy_status`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_validating_admission_policy(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy # noqa: E501 - - read the specified ValidatingAdmissionPolicy # 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_validating_admission_policy(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1862,24 +1710,24 @@ def read_validating_admission_policy(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy + :return: V1beta1MutatingAdmissionPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_validating_admission_policy_with_http_info(name, **kwargs) # noqa: E501 + return self.read_mutating_admission_policy_with_http_info(name, **kwargs) # noqa: E501 - def read_validating_admission_policy_with_http_info(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy # noqa: E501 + def read_mutating_admission_policy_with_http_info(self, name, **kwargs): # noqa: E501 + """read_mutating_admission_policy # noqa: E501 - read the specified ValidatingAdmissionPolicy # noqa: E501 + read the specified MutatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(name, async_req=True) + >>> thread = api.read_mutating_admission_policy_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) + :param str name: name of the MutatingAdmissionPolicy (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers @@ -1890,7 +1738,7 @@ def read_validating_admission_policy_with_http_info(self, name, **kwargs): # no number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1914,14 +1762,14 @@ def read_validating_admission_policy_with_http_info(self, name, **kwargs): # no if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_validating_admission_policy" % key + " to method read_mutating_admission_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 `read_validating_admission_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_mutating_admission_policy`") # noqa: E501 collection_formats = {} @@ -1947,14 +1795,14 @@ def read_validating_admission_policy_with_http_info(self, name, **kwargs): # no auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}', 'GET', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1962,17 +1810,17 @@ def read_validating_admission_policy_with_http_info(self, name, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_validating_admission_policy_binding(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy_binding # noqa: E501 + def read_mutating_admission_policy_binding(self, name, **kwargs): # noqa: E501 + """read_mutating_admission_policy_binding # noqa: E501 - read the specified ValidatingAdmissionPolicyBinding # noqa: E501 + read the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding(name, async_req=True) + >>> thread = api.read_mutating_admission_policy_binding(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1981,24 +1829,24 @@ def read_validating_admission_policy_binding(self, name, **kwargs): # noqa: E50 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyBinding + :return: V1beta1MutatingAdmissionPolicyBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_validating_admission_policy_binding_with_http_info(name, **kwargs) # noqa: E501 + return self.read_mutating_admission_policy_binding_with_http_info(name, **kwargs) # noqa: E501 - def read_validating_admission_policy_binding_with_http_info(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy_binding # noqa: E501 + def read_mutating_admission_policy_binding_with_http_info(self, name, **kwargs): # noqa: E501 + """read_mutating_admission_policy_binding # noqa: E501 - read the specified ValidatingAdmissionPolicyBinding # noqa: E501 + read the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_binding_with_http_info(name, async_req=True) + >>> thread = api.read_mutating_admission_policy_binding_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers @@ -2009,7 +1857,7 @@ def read_validating_admission_policy_binding_with_http_info(self, name, **kwargs number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2033,14 +1881,14 @@ def read_validating_admission_policy_binding_with_http_info(self, name, **kwargs if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_validating_admission_policy_binding" % key + " to method read_mutating_admission_policy_binding" % 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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_mutating_admission_policy_binding`") # noqa: E501 collection_formats = {} @@ -2066,276 +1914,14 @@ def read_validating_admission_policy_binding_with_http_info(self, name, **kwargs auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyBinding', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_validating_admission_policy_status(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy_status # noqa: E501 - - read status of the specified ValidatingAdmissionPolicy # 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_validating_admission_policy_status(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.read_validating_admission_policy_status_with_http_info(name, **kwargs) # noqa: E501 - - def read_validating_admission_policy_status_with_http_info(self, name, **kwargs): # noqa: E501 - """read_validating_admission_policy_status # noqa: E501 - - read status of the specified ValidatingAdmissionPolicy # 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_validating_admission_policy_status_with_http_info(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method read_validating_admission_policy_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_validating_admission_policy_status`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def replace_validating_admission_policy(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy # noqa: E501 - - replace the specified ValidatingAdmissionPolicy # 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_validating_admission_policy(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param V1beta1ValidatingAdmissionPolicy body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.replace_validating_admission_policy_with_http_info(name, body, **kwargs) # noqa: E501 - - def replace_validating_admission_policy_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy # noqa: E501 - - replace the specified ValidatingAdmissionPolicy # 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_validating_admission_policy_with_http_info(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param V1beta1ValidatingAdmissionPolicy body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_validating_admission_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_validating_admission_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_validating_admission_policy`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}', 'PUT', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyBinding', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2343,18 +1929,18 @@ def replace_validating_admission_policy_with_http_info(self, name, body, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_validating_admission_policy_binding(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy_binding # noqa: E501 + def replace_mutating_admission_policy(self, name, body, **kwargs): # noqa: E501 + """replace_mutating_admission_policy # noqa: E501 - replace the specified ValidatingAdmissionPolicyBinding # noqa: E501 + replace the specified MutatingAdmissionPolicy # 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_validating_admission_policy_binding(name, body, async_req=True) + >>> thread = api.replace_mutating_admission_policy(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) - :param V1beta1ValidatingAdmissionPolicyBinding body: (required) + :param str name: name of the MutatingAdmissionPolicy (required) + :param V1beta1MutatingAdmissionPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -2366,25 +1952,25 @@ def replace_validating_admission_policy_binding(self, name, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicyBinding + :return: V1beta1MutatingAdmissionPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_validating_admission_policy_binding_with_http_info(name, body, **kwargs) # noqa: E501 + return self.replace_mutating_admission_policy_with_http_info(name, body, **kwargs) # noqa: E501 - def replace_validating_admission_policy_binding_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy_binding # noqa: E501 + def replace_mutating_admission_policy_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_mutating_admission_policy # noqa: E501 - replace the specified ValidatingAdmissionPolicyBinding # noqa: E501 + replace the specified MutatingAdmissionPolicy # 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_validating_admission_policy_binding_with_http_info(name, body, async_req=True) + >>> thread = api.replace_mutating_admission_policy_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicyBinding (required) - :param V1beta1ValidatingAdmissionPolicyBinding body: (required) + :param str name: name of the MutatingAdmissionPolicy (required) + :param V1beta1MutatingAdmissionPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -2398,7 +1984,7 @@ def replace_validating_admission_policy_binding_with_http_info(self, name, body, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2426,18 +2012,18 @@ def replace_validating_admission_policy_binding_with_http_info(self, name, body, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_validating_admission_policy_binding" % key + " to method replace_mutating_admission_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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_mutating_admission_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_validating_admission_policy_binding`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_mutating_admission_policy`") # noqa: E501 collection_formats = {} @@ -2471,14 +2057,14 @@ def replace_validating_admission_policy_binding_with_http_info(self, name, body, auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}', 'PUT', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicyBinding', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2486,18 +2072,18 @@ def replace_validating_admission_policy_binding_with_http_info(self, name, body, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_validating_admission_policy_status(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy_status # noqa: E501 + def replace_mutating_admission_policy_binding(self, name, body, **kwargs): # noqa: E501 + """replace_mutating_admission_policy_binding # noqa: E501 - replace status of the specified ValidatingAdmissionPolicy # noqa: E501 + replace the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_status(name, body, async_req=True) + >>> thread = api.replace_mutating_admission_policy_binding(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param V1beta1ValidatingAdmissionPolicy body: (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) + :param V1beta1MutatingAdmissionPolicyBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -2509,25 +2095,25 @@ def replace_validating_admission_policy_status(self, name, body, **kwargs): # n number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1beta1ValidatingAdmissionPolicy + :return: V1beta1MutatingAdmissionPolicyBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_validating_admission_policy_status_with_http_info(name, body, **kwargs) # noqa: E501 + return self.replace_mutating_admission_policy_binding_with_http_info(name, body, **kwargs) # noqa: E501 - def replace_validating_admission_policy_status_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_validating_admission_policy_status # noqa: E501 + def replace_mutating_admission_policy_binding_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_mutating_admission_policy_binding # noqa: E501 - replace status of the specified ValidatingAdmissionPolicy # noqa: E501 + replace the specified MutatingAdmissionPolicyBinding # 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_validating_admission_policy_status_with_http_info(name, body, async_req=True) + >>> thread = api.replace_mutating_admission_policy_binding_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ValidatingAdmissionPolicy (required) - :param V1beta1ValidatingAdmissionPolicy body: (required) + :param str name: name of the MutatingAdmissionPolicyBinding (required) + :param V1beta1MutatingAdmissionPolicyBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -2541,7 +2127,7 @@ def replace_validating_admission_policy_status_with_http_info(self, name, body, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1beta1ValidatingAdmissionPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1MutatingAdmissionPolicyBinding, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2569,18 +2155,18 @@ def replace_validating_admission_policy_status_with_http_info(self, name, body, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_validating_admission_policy_status" % key + " to method replace_mutating_admission_policy_binding" % 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_validating_admission_policy_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_mutating_admission_policy_binding`") # 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_validating_admission_policy_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_mutating_admission_policy_binding`") # noqa: E501 collection_formats = {} @@ -2614,14 +2200,14 @@ def replace_validating_admission_policy_status_with_http_info(self, name, body, auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status', 'PUT', + '/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1ValidatingAdmissionPolicy', # noqa: E501 + response_type='V1beta1MutatingAdmissionPolicyBinding', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/apiextensions_api.py b/kubernetes/client/api/apiextensions_api.py index 203566e605..3ffc26b5ec 100644 --- a/kubernetes/client/api/apiextensions_api.py +++ b/kubernetes/client/api/apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiextensions_v1_api.py b/kubernetes/client/api/apiextensions_v1_api.py index 30bf08aec7..5e73868141 100644 --- a/kubernetes/client/api/apiextensions_v1_api.py +++ b/kubernetes/client/api/apiextensions_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiregistration_api.py b/kubernetes/client/api/apiregistration_api.py index 836f3f2536..1bb435a00b 100644 --- a/kubernetes/client/api/apiregistration_api.py +++ b/kubernetes/client/api/apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiregistration_v1_api.py b/kubernetes/client/api/apiregistration_v1_api.py index 2305fd35f5..63ef4eaad8 100644 --- a/kubernetes/client/api/apiregistration_v1_api.py +++ b/kubernetes/client/api/apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apis_api.py b/kubernetes/client/api/apis_api.py index d6584f050d..850b9770d7 100644 --- a/kubernetes/client/api/apis_api.py +++ b/kubernetes/client/api/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_api.py b/kubernetes/client/api/apps_api.py index f4d1cc0364..05dbaf0166 100644 --- a/kubernetes/client/api/apps_api.py +++ b/kubernetes/client/api/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_v1_api.py b/kubernetes/client/api/apps_v1_api.py index d5fefb9fea..9b373fea32 100644 --- a/kubernetes/client/api/apps_v1_api.py +++ b/kubernetes/client/api/apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_api.py b/kubernetes/client/api/authentication_api.py index 0ccc193e64..a05e2ad1c7 100644 --- a/kubernetes/client/api/authentication_api.py +++ b/kubernetes/client/api/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1_api.py b/kubernetes/client/api/authentication_v1_api.py index 9e7a5ba067..ebc5f74e99 100644 --- a/kubernetes/client/api/authentication_v1_api.py +++ b/kubernetes/client/api/authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1beta1_api.py b/kubernetes/client/api/authentication_v1beta1_api.py deleted file mode 100644 index 64a7e05d92..0000000000 --- a/kubernetes/client/api/authentication_v1beta1_api.py +++ /dev/null @@ -1,276 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.32 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from kubernetes.client.api_client import ApiClient -from kubernetes.client.exceptions import ( # noqa: F401 - ApiTypeError, - ApiValueError -) - - -class AuthenticationV1beta1Api(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_self_subject_review(self, body, **kwargs): # noqa: E501 - """create_self_subject_review # noqa: E501 - - create a SelfSubjectReview # 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_self_subject_review(body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param V1beta1SelfSubjectReview body: (required) - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1beta1SelfSubjectReview - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.create_self_subject_review_with_http_info(body, **kwargs) # noqa: E501 - - def create_self_subject_review_with_http_info(self, body, **kwargs): # noqa: E501 - """create_self_subject_review # noqa: E501 - - create a SelfSubjectReview # 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_self_subject_review_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param V1beta1SelfSubjectReview body: (required) - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1beta1SelfSubjectReview, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'body', - 'dry_run', - 'field_manager', - 'field_validation', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_self_subject_review" % 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_self_subject_review`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - 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 - - return self.api_client.call_api( - '/apis/authentication.k8s.io/v1beta1/selfsubjectreviews', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1SelfSubjectReview', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1APIResourceList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 - - def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/authentication.k8s.io/v1beta1/', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1APIResourceList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/kubernetes/client/api/authorization_api.py b/kubernetes/client/api/authorization_api.py index 10a4ccf5a6..0c599c4468 100644 --- a/kubernetes/client/api/authorization_api.py +++ b/kubernetes/client/api/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_v1_api.py b/kubernetes/client/api/authorization_v1_api.py index a49ae2be6b..653ddca302 100644 --- a/kubernetes/client/api/authorization_v1_api.py +++ b/kubernetes/client/api/authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_api.py b/kubernetes/client/api/autoscaling_api.py index f2831549ad..7d5ec76eaf 100644 --- a/kubernetes/client/api/autoscaling_api.py +++ b/kubernetes/client/api/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_v1_api.py b/kubernetes/client/api/autoscaling_v1_api.py index e5b86d9bf1..bd131c21c0 100644 --- a/kubernetes/client/api/autoscaling_v1_api.py +++ b/kubernetes/client/api/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_v2_api.py b/kubernetes/client/api/autoscaling_v2_api.py index b0f0635775..7405e9bc0f 100644 --- a/kubernetes/client/api/autoscaling_v2_api.py +++ b/kubernetes/client/api/autoscaling_v2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/batch_api.py b/kubernetes/client/api/batch_api.py index 035597d34e..156eafcba2 100644 --- a/kubernetes/client/api/batch_api.py +++ b/kubernetes/client/api/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/batch_v1_api.py b/kubernetes/client/api/batch_v1_api.py index e77856a32d..aaf45f957d 100644 --- a/kubernetes/client/api/batch_v1_api.py +++ b/kubernetes/client/api/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_api.py b/kubernetes/client/api/certificates_api.py index 2799df0539..a47bc5a92a 100644 --- a/kubernetes/client/api/certificates_api.py +++ b/kubernetes/client/api/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1_api.py b/kubernetes/client/api/certificates_v1_api.py index e100a727c2..55c1de776f 100644 --- a/kubernetes/client/api/certificates_v1_api.py +++ b/kubernetes/client/api/certificates_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1alpha1_api.py b/kubernetes/client/api/certificates_v1alpha1_api.py index 6e35b16d8b..c60ce89584 100644 --- a/kubernetes/client/api/certificates_v1alpha1_api.py +++ b/kubernetes/client/api/certificates_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1beta1_api.py b/kubernetes/client/api/certificates_v1beta1_api.py new file mode 100644 index 0000000000..7632bb77a8 --- /dev/null +++ b/kubernetes/client/api/certificates_v1beta1_api.py @@ -0,0 +1,2880 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.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 async_req bool: execute request asynchronously + :param V1beta1ClusterTrustBundle body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1ClusterTrustBundle + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param V1beta1ClusterTrustBundle body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_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 = {} + + 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 + + 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_type='V1beta1ClusterTrustBundle', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_pod_certificate_request(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_pod_certificate_request # noqa: E501 + + create a PodCertificateRequest # 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_pod_certificate_request(namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_namespaced_pod_certificate_request_with_http_info(namespace, body, **kwargs) # noqa: E501 + + def create_namespaced_pod_certificate_request_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_pod_certificate_request # noqa: E501 + + create a PodCertificateRequest # 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_pod_certificate_request_with_http_info(namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_pod_certificate_request" % 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_pod_certificate_request`") # 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_pod_certificate_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_pod_certificate_request(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_pod_certificate_request # noqa: E501 + + delete collection of PodCertificateRequest # 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_pod_certificate_request(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_pod_certificate_request_with_http_info(namespace, **kwargs) # noqa: E501 + + def delete_collection_namespaced_pod_certificate_request_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_pod_certificate_request # noqa: E501 + + delete collection of PodCertificateRequest # 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_pod_certificate_request_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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_pod_certificate_request" % 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_pod_certificate_request`") # 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_pod_certificate_request(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_pod_certificate_request # noqa: E501 + + delete a PodCertificateRequest # 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_pod_certificate_request(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_pod_certificate_request_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_pod_certificate_request_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_pod_certificate_request # noqa: E501 + + delete a PodCertificateRequest # 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_pod_certificate_request_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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_pod_certificate_request" % 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_pod_certificate_request`") # 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_pod_certificate_request`") # 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1ClusterTrustBundleList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1ClusterTrustBundleList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1beta1ClusterTrustBundleList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_pod_certificate_request(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_pod_certificate_request # noqa: E501 + + list or watch objects of kind PodCertificateRequest # 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_pod_certificate_request(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequestList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_pod_certificate_request_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_pod_certificate_request_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_pod_certificate_request # noqa: E501 + + list or watch objects of kind PodCertificateRequest # 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_pod_certificate_request_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequestList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_pod_certificate_request" % 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_pod_certificate_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequestList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_pod_certificate_request_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_pod_certificate_request_for_all_namespaces # noqa: E501 + + list or watch objects of kind PodCertificateRequest # 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_pod_certificate_request_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequestList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_pod_certificate_request_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_pod_certificate_request_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_pod_certificate_request_for_all_namespaces # noqa: E501 + + list or watch objects of kind PodCertificateRequest # 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_pod_certificate_request_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequestList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_pod_certificate_request_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/podcertificaterequests', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequestList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1ClusterTrustBundle + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1ClusterTrustBundle', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_pod_certificate_request(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_pod_certificate_request # noqa: E501 + + partially update the specified PodCertificateRequest # 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_pod_certificate_request(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_pod_certificate_request_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_pod_certificate_request_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_pod_certificate_request # noqa: E501 + + partially update the specified PodCertificateRequest # 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_pod_certificate_request_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_pod_certificate_request" % 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_pod_certificate_request`") # 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_pod_certificate_request`") # 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_pod_certificate_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_pod_certificate_request_status(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_pod_certificate_request_status # noqa: E501 + + partially update status of the specified PodCertificateRequest # 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_pod_certificate_request_status(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_pod_certificate_request_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_pod_certificate_request_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_pod_certificate_request_status # noqa: E501 + + partially update status of the specified PodCertificateRequest # 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_pod_certificate_request_status_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_pod_certificate_request_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_pod_certificate_request_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_pod_certificate_request_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_pod_certificate_request_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1ClusterTrustBundle + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_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 = {} + + 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 + + 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_type='V1beta1ClusterTrustBundle', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_pod_certificate_request(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_pod_certificate_request # noqa: E501 + + read the specified PodCertificateRequest # 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_pod_certificate_request(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_pod_certificate_request_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_pod_certificate_request_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_pod_certificate_request # noqa: E501 + + read the specified PodCertificateRequest # 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_pod_certificate_request_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_pod_certificate_request" % 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_pod_certificate_request`") # 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_pod_certificate_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_pod_certificate_request_status(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_pod_certificate_request_status # noqa: E501 + + read status of the specified PodCertificateRequest # 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_pod_certificate_request_status(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_pod_certificate_request_status_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_pod_certificate_request_status_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_pod_certificate_request_status # noqa: E501 + + read status of the specified PodCertificateRequest # 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_pod_certificate_request_status_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_pod_certificate_request_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_pod_certificate_request_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_pod_certificate_request_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param V1beta1ClusterTrustBundle body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1ClusterTrustBundle + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ClusterTrustBundle (required) + :param V1beta1ClusterTrustBundle body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_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 = {} + + 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 + + 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_type='V1beta1ClusterTrustBundle', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_pod_certificate_request(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_pod_certificate_request # noqa: E501 + + replace the specified PodCertificateRequest # 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_pod_certificate_request(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_pod_certificate_request_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_pod_certificate_request_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_pod_certificate_request # noqa: E501 + + replace the specified PodCertificateRequest # 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_pod_certificate_request_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_pod_certificate_request" % 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_pod_certificate_request`") # 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_pod_certificate_request`") # 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_pod_certificate_request`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_pod_certificate_request_status(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_pod_certificate_request_status # noqa: E501 + + replace status of the specified PodCertificateRequest # 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_pod_certificate_request_status(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1PodCertificateRequest + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_pod_certificate_request_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_pod_certificate_request_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_pod_certificate_request_status # noqa: E501 + + replace status of the specified PodCertificateRequest # 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_pod_certificate_request_status_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PodCertificateRequest (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1PodCertificateRequest body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1PodCertificateRequest, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_pod_certificate_request_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_pod_certificate_request_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_pod_certificate_request_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_pod_certificate_request_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificaterequests/{name}/status', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodCertificateRequest', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/coordination_api.py b/kubernetes/client/api/coordination_api.py index a09515d3be..b7a8179bae 100644 --- a/kubernetes/client/api/coordination_api.py +++ b/kubernetes/client/api/coordination_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1_api.py b/kubernetes/client/api/coordination_v1_api.py index 375760fcfc..c22ffd87f0 100644 --- a/kubernetes/client/api/coordination_v1_api.py +++ b/kubernetes/client/api/coordination_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1alpha2_api.py b/kubernetes/client/api/coordination_v1alpha2_api.py index 7a7aebc7a9..a8064e2800 100644 --- a/kubernetes/client/api/coordination_v1alpha2_api.py +++ b/kubernetes/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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1beta1_api.py b/kubernetes/client/api/coordination_v1beta1_api.py new file mode 100644 index 0000000000..b6054b2218 --- /dev/null +++ b/kubernetes/client/api/coordination_v1beta1_api.py @@ -0,0 +1,1402 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1LeaseCandidate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_namespaced_lease_candidate_with_http_info(namespace, body, **kwargs) # noqa: E501 + + def create_namespaced_lease_candidate_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_lease_candidate # noqa: E501 + + create a LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_namespaced_lease_candidate_with_http_info(namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1LeaseCandidate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_lease_candidate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `create_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_lease_candidate(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_lease_candidate # noqa: E501 + + delete collection of LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_namespaced_lease_candidate(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_lease_candidate_with_http_info(namespace, **kwargs) # noqa: E501 + + def delete_collection_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_lease_candidate # noqa: E501 + + delete collection of LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_namespaced_lease_candidate_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_lease_candidate(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_lease_candidate # noqa: E501 + + delete a LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_namespaced_lease_candidate(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_lease_candidate_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_lease_candidate # noqa: E501 + + delete a LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_namespaced_lease_candidate_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_lease_candidate_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_lease_candidate_for_all_namespaces # noqa: E501 + + list or watch objects of kind LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_lease_candidate_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_lease_candidate_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_lease_candidate_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_lease_candidate_for_all_namespaces # noqa: E501 + + list or watch objects of kind LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_lease_candidate_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_lease_candidate_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_lease_candidate(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_lease_candidate # noqa: E501 + + list or watch objects of kind LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_namespaced_lease_candidate(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_lease_candidate_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_lease_candidate # noqa: E501 + + list or watch objects of kind LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_namespaced_lease_candidate_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_lease_candidate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `list_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_lease_candidate(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_lease_candidate # noqa: E501 + + partially update the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_namespaced_lease_candidate(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_lease_candidate_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_lease_candidate_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_lease_candidate # noqa: E501 + + partially update the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_namespaced_lease_candidate_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_lease_candidate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `patch_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_lease_candidate(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_lease_candidate # noqa: E501 + + read the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_namespaced_lease_candidate(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_lease_candidate_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_lease_candidate # noqa: E501 + + read the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_namespaced_lease_candidate_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_lease_candidate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_lease_candidate(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_lease_candidate # noqa: E501 + + replace the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_namespaced_lease_candidate(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1LeaseCandidate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_lease_candidate_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_lease_candidate_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_lease_candidate # noqa: E501 + + replace the specified LeaseCandidate # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_namespaced_lease_candidate_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta1LeaseCandidate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_lease_candidate" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta1LeaseCandidate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/core_api.py b/kubernetes/client/api/core_api.py index 768de5b5cc..6026d27a28 100644 --- a/kubernetes/client/api/core_api.py +++ b/kubernetes/client/api/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/core_v1_api.py b/kubernetes/client/api/core_v1_api.py index 8fecb0a0f5..9609abcce5 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/custom_objects_api.py b/kubernetes/client/api/custom_objects_api.py index 08eda56466..23de498104 100644 --- a/kubernetes/client/api/custom_objects_api.py +++ b/kubernetes/client/api/custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -2234,19 +2234,19 @@ def list_cluster_custom_object_with_http_info(self, group, version, plural, **kw _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_custom_object_for_all_namespaces(self, group, version, plural, **kwargs): # noqa: E501 + def list_custom_object_for_all_namespaces(self, group, version, resource_plural, **kwargs): # noqa: E501 """list_custom_object_for_all_namespaces # noqa: E501 list or watch namespace scoped custom objects # 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_custom_object_for_all_namespaces(group, version, plural, async_req=True) + >>> thread = api.list_custom_object_for_all_namespaces(group, version, resource_plural, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously :param str group: The custom resource's group name (required) :param str version: The custom resource's version (required) - :param str plural: The custom resource's plural name. For TPRs this would be lowercase plural kind. (required) + :param str resource_plural: The custom resource's plural name. For TPRs this would be lowercase plural kind. (required) :param str pretty: If 'true', then the output is pretty printed. :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2269,21 +2269,21 @@ def list_custom_object_for_all_namespaces(self, group, version, plural, **kwargs returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_custom_object_for_all_namespaces_with_http_info(group, version, plural, **kwargs) # noqa: E501 + return self.list_custom_object_for_all_namespaces_with_http_info(group, version, resource_plural, **kwargs) # noqa: E501 - def list_custom_object_for_all_namespaces_with_http_info(self, group, version, plural, **kwargs): # noqa: E501 + def list_custom_object_for_all_namespaces_with_http_info(self, group, version, resource_plural, **kwargs): # noqa: E501 """list_custom_object_for_all_namespaces # noqa: E501 list or watch namespace scoped custom objects # 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_custom_object_for_all_namespaces_with_http_info(group, version, plural, async_req=True) + >>> thread = api.list_custom_object_for_all_namespaces_with_http_info(group, version, resource_plural, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously :param str group: The custom resource's group name (required) :param str version: The custom resource's version (required) - :param str plural: The custom resource's plural name. For TPRs this would be lowercase plural kind. (required) + :param str resource_plural: The custom resource's plural name. For TPRs this would be lowercase plural kind. (required) :param str pretty: If 'true', then the output is pretty printed. :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2313,7 +2313,7 @@ def list_custom_object_for_all_namespaces_with_http_info(self, group, version, p all_params = [ 'group', 'version', - 'plural', + 'resource_plural', 'pretty', 'allow_watch_bookmarks', '_continue', @@ -2350,10 +2350,10 @@ def list_custom_object_for_all_namespaces_with_http_info(self, group, version, p if self.api_client.client_side_validation and ('version' not in local_var_params or # noqa: E501 local_var_params['version'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `version` when calling `list_custom_object_for_all_namespaces`") # noqa: E501 - # verify the required parameter 'plural' is set - if self.api_client.client_side_validation and ('plural' not in local_var_params or # noqa: E501 - local_var_params['plural'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `plural` when calling `list_custom_object_for_all_namespaces`") # noqa: E501 + # verify the required parameter 'resource_plural' is set + if self.api_client.client_side_validation and ('resource_plural' not in local_var_params or # noqa: E501 + local_var_params['resource_plural'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `resource_plural` when calling `list_custom_object_for_all_namespaces`") # noqa: E501 collection_formats = {} @@ -2362,8 +2362,8 @@ def list_custom_object_for_all_namespaces_with_http_info(self, group, version, p path_params['group'] = local_var_params['group'] # noqa: E501 if 'version' in local_var_params: path_params['version'] = local_var_params['version'] # noqa: E501 - if 'plural' in local_var_params: - path_params['plural'] = local_var_params['plural'] # noqa: E501 + if 'resource_plural' in local_var_params: + path_params['resource_plural'] = local_var_params['resource_plural'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -2401,7 +2401,7 @@ def list_custom_object_for_all_namespaces_with_http_info(self, group, version, p auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/{group}/{version}/{plural}#‎', 'GET', + '/apis/{group}/{version}/{resource_plural}', 'GET', path_params, query_params, header_params, diff --git a/kubernetes/client/api/discovery_api.py b/kubernetes/client/api/discovery_api.py index 7000dab308..2c29efcb79 100644 --- a/kubernetes/client/api/discovery_api.py +++ b/kubernetes/client/api/discovery_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/discovery_v1_api.py b/kubernetes/client/api/discovery_v1_api.py index 69e865f2bc..249ea36365 100644 --- a/kubernetes/client/api/discovery_v1_api.py +++ b/kubernetes/client/api/discovery_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/events_api.py b/kubernetes/client/api/events_api.py index 5e79cf1a6d..13ecc3195e 100644 --- a/kubernetes/client/api/events_api.py +++ b/kubernetes/client/api/events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/events_v1_api.py b/kubernetes/client/api/events_v1_api.py index f13fea22fb..80b321d864 100644 --- a/kubernetes/client/api/events_v1_api.py +++ b/kubernetes/client/api/events_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/flowcontrol_apiserver_api.py b/kubernetes/client/api/flowcontrol_apiserver_api.py index a8107bacf0..8becff4f61 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py index e98ef374c7..0a71510644 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/internal_apiserver_api.py b/kubernetes/client/api/internal_apiserver_api.py index c84768aa8f..376e1ed905 100644 --- a/kubernetes/client/api/internal_apiserver_api.py +++ b/kubernetes/client/api/internal_apiserver_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py index 24b41f29bf..6e9274d170 100644 --- a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/logs_api.py b/kubernetes/client/api/logs_api.py index 3b4ff1c96b..e549db831a 100644 --- a/kubernetes/client/api/logs_api.py +++ b/kubernetes/client/api/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_api.py b/kubernetes/client/api/networking_api.py index 658e9638be..e1bf9f54ed 100644 --- a/kubernetes/client/api/networking_api.py +++ b/kubernetes/client/api/networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_v1_api.py b/kubernetes/client/api/networking_v1_api.py index 0dec5b2e0b..688a735a6d 100644 --- a/kubernetes/client/api/networking_v1_api.py +++ b/kubernetes/client/api/networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -170,6 +170,140 @@ def create_ingress_class_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + 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 async_req bool: execute request asynchronously + :param V1IPAddress body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IPAddress + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param V1IPAddress body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_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 = {} + + 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 + + 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_type='V1IPAddress', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def create_namespaced_ingress(self, namespace, body, **kwargs): # noqa: E501 """create_namespaced_ingress # noqa: E501 @@ -456,31 +590,21 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -488,38 +612,28 @@ def delete_collection_ingress_class(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Status + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -529,7 +643,7 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -537,21 +651,11 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 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( [ @@ -566,10 +670,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 = {} @@ -578,32 +686,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 = {} @@ -621,14 +709,14 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Status', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -636,17 +724,16 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -674,19 +761,18 @@ def delete_collection_namespaced_ingress(self, namespace, **kwargs): # noqa: E5 returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -719,7 +805,6 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg local_var_params = locals() all_params = [ - 'namespace', 'pretty', '_continue', 'dry_run', @@ -749,20 +834,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 @@ -810,7 +889,7 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 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, @@ -825,17 +904,16 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -863,19 +941,18 @@ def delete_collection_namespaced_network_policy(self, namespace, **kwargs): # n returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -908,7 +985,6 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, local_var_params = locals() all_params = [ - 'namespace', 'pretty', '_continue', 'dry_run', @@ -938,20 +1014,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 @@ -999,7 +1069,7 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, auth_settings = ['BearerToken'] # noqa: E501 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, @@ -1014,23 +1084,31 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1044,25 +1122,33 @@ def delete_ingress_class(self, name, **kwargs): # noqa: E501 returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers @@ -1081,13 +1167,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( @@ -1103,34 +1197,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 = {} @@ -1148,7 +1258,7 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 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, @@ -1163,24 +1273,31 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1194,26 +1311,33 @@ def delete_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers @@ -1232,14 +1356,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( @@ -1255,40 +1386,50 @@ 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 = {} @@ -1306,7 +1447,7 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 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, @@ -1321,24 +1462,30 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1352,26 +1499,32 @@ def delete_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers @@ -1390,14 +1543,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( @@ -1413,40 +1572,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 = {} @@ -1464,7 +1627,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] # noqa: E501 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, @@ -1479,16 +1642,24 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 + 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 async_req bool: execute request asynchronously + :param str name: name of the IngressClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -1496,33 +1667,2512 @@ def get_api_resources(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1APIResourceList + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + 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 async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will + :param str name: name of the IngressClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + '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' + ] + ) + + 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_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_ip_address(self, name, **kwargs): # noqa: E501 + """delete_ip_address # 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.delete_ip_address(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the IPAddress (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_ip_address_with_http_info(name, **kwargs) # noqa: E501 + + def delete_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_ip_address # 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.delete_ip_address_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the IPAddress (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + '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' + ] + ) + + 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_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 '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 = {} + + 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 + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ipaddresses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_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.delete_namespaced_ingress(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_ingress_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_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.delete_namespaced_ingress_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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_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 '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 = {} + + 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 + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_network_policy # 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.delete_namespaced_network_policy(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the NetworkPolicy (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_network_policy # 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.delete_namespaced_network_policy_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the NetworkPolicy (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_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 async_req bool: execute request asynchronously + :param str name: name of the ServiceCIDR (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_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 async_req bool: execute request asynchronously + :param str name: name of the ServiceCIDR (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IngressClassList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IngressClassList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1IngressClassList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IngressList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1IngressList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IPAddressList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IPAddressList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1IPAddressList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IngressList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_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 = {} + + 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 + + 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_type='V1IngressList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1NetworkPolicyList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_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 = {} + + 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 + + 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_type='V1NetworkPolicyList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1NetworkPolicyList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1NetworkPolicyList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ServiceCIDRList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ServiceCIDRList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = {} + + 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 + + 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_type='V1ServiceCIDRList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_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 async_req bool: execute request asynchronously + :param str name: name of the IngressClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IngressClass + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the IngressClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1IngressClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_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 async_req bool: execute request asynchronously + :param str name: name of the IPAddress (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1IPAddress + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the IPAddress (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1IPAddress', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_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 async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Ingress + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1Ingress', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_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 async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + :return: V1Ingress + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1530,6 +4180,14 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' ] all_params.extend( [ @@ -1544,16 +4202,42 @@ 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 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 = {} @@ -1561,22 +4245,28 @@ 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 + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1/', 'GET', + '/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_type='V1APIResourceList', # noqa: E501 + response_type='V1Ingress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1584,27 +4274,24 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_ingress_class(self, **kwargs): # noqa: E501 - """list_ingress_class # noqa: E501 + def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_network_policy # noqa: E501 - list or watch objects of kind IngressClass # 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.list_ingress_class(async_req=True) + >>> thread = api.patch_namespaced_network_policy(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str name: name of the NetworkPolicy (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -1612,34 +4299,31 @@ def list_ingress_class(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressClassList + :return: V1NetworkPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_ingress_class_with_http_info(**kwargs) # noqa: E501 + return self.patch_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 - """list_ingress_class # noqa: E501 + def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_network_policy # noqa: E501 - list or watch objects of kind IngressClass # 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.list_ingress_class_with_http_info(async_req=True) + >>> thread = api.patch_namespaced_network_policy_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str name: name of the NetworkPolicy (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1649,7 +4333,7 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressClassList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1657,17 +4341,14 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ + 'name', + 'namespace', + '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( [ @@ -1682,38 +4363,42 @@ 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 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 '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 = {} @@ -1721,22 +4406,28 @@ 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 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses', 'GET', + '/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_type='V1IngressClassList', # noqa: E501 + response_type='V1NetworkPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1744,27 +4435,23 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_ingress_for_all_namespaces # noqa: E501 + def patch_service_cidr(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr # noqa: E501 - list or watch objects of kind Ingress # 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.list_ingress_for_all_namespaces(async_req=True) + >>> thread = api.patch_service_cidr(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str name: name of the ServiceCIDR (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -1772,34 +4459,30 @@ def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressList + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_ingress_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + return self.patch_service_cidr_with_http_info(name, body, **kwargs) # noqa: E501 - def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_ingress_for_all_namespaces # noqa: E501 + def patch_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr # noqa: E501 - list or watch objects of kind Ingress # 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.list_ingress_for_all_namespaces_with_http_info(async_req=True) + >>> thread = api.patch_service_cidr_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str name: name of the ServiceCIDR (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1809,7 +4492,7 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1817,17 +4500,13 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 local_var_params = locals() all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', + 'name', + 'body', 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'dry_run', + 'field_manager', + 'field_validation', + 'force' ] all_params.extend( [ @@ -1842,38 +4521,36 @@ 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 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 '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 '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 = {} @@ -1881,22 +4558,28 @@ 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 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingresses', 'GET', + '/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_type='V1IngressList', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1904,28 +4587,23 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_ingress # noqa: E501 + def patch_service_cidr_status(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr_status # noqa: E501 - list or watch objects of kind Ingress # 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.list_namespaced_ingress(namespace, async_req=True) + >>> thread = api.patch_service_cidr_status(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the ServiceCIDR (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -1933,35 +4611,30 @@ def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressList + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_namespaced_ingress_with_http_info(namespace, **kwargs) # noqa: E501 + return self.patch_service_cidr_status_with_http_info(name, body, **kwargs) # noqa: E501 - def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_ingress # noqa: E501 + def patch_service_cidr_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr_status # noqa: E501 - list or watch objects of kind Ingress # 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.list_namespaced_ingress_with_http_info(namespace, async_req=True) + >>> thread = api.patch_service_cidr_status_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the ServiceCIDR (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1971,7 +4644,7 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1979,18 +4652,13 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: 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( [ @@ -2005,44 +4673,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 = {} @@ -2050,22 +4710,28 @@ 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1IngressList', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2073,28 +4739,18 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IngressClass (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2102,35 +4758,25 @@ def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1NetworkPolicyList + :return: V1IngressClass If the method is called asynchronously, returns the request thread. """ 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 + return self.read_ingress_class_with_http_info(name, **kwargs) # noqa: E501 - list or watch objects of kind NetworkPolicy # noqa: E501 + def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_ingress_class # 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IngressClass (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2140,7 +4786,7 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2148,18 +4794,8 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # 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( [ @@ -2174,44 +4810,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 = {} @@ -2221,20 +4837,20 @@ 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 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1NetworkPolicyList', # noqa: E501 + response_type='V1IngressClass', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2242,27 +4858,18 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str name: name of the IPAddress (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2270,34 +4877,25 @@ def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1NetworkPolicyList + :return: V1IPAddress If the method is called asynchronously, returns the request thread. """ 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 + def read_ip_address_with_http_info(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_with_http_info(async_req=True) + >>> thread = api.read_ip_address_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str name: name of the IPAddress (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2307,7 +4905,7 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2315,17 +4913,8 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no 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( [ @@ -2340,38 +4929,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 = {} @@ -2381,20 +4956,20 @@ 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 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1NetworkPolicyList', # noqa: E501 + response_type='V1IPAddress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2402,23 +4977,19 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) - :param object body: (required) + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2426,30 +4997,26 @@ def patch_ingress_class(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressClass + :return: V1Ingress If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) - :param object body: (required) + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2459,7 +5026,7 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2468,12 +5035,8 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 all_params = [ 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'namespace', + 'pretty' ] all_params.extend( [ @@ -2488,36 +5051,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 = {} @@ -2525,28 +5082,22 @@ 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1IngressClass', # noqa: E501 + response_type='V1Ingress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2554,24 +5105,19 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2584,26 +5130,21 @@ def patch_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E5 returns the request thread. """ 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 async_req bool: execute request asynchronously :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2623,12 +5164,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( [ @@ -2643,22 +5179,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 = {} @@ -2671,14 +5203,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 = {} @@ -2686,21 +5210,15 @@ 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 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, @@ -2715,24 +5233,19 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) + :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2740,31 +5253,26 @@ def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): # n number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Ingress + :return: V1NetworkPolicy If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) + :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2774,7 +5282,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2784,12 +5292,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( [ @@ -2804,22 +5307,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 = {} @@ -2832,14 +5331,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 = {} @@ -2847,28 +5338,22 @@ 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Ingress', # noqa: E501 + response_type='V1NetworkPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -2876,24 +5361,18 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) + :param str name: name of the ServiceCIDR (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -2901,31 +5380,25 @@ def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): # n number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1NetworkPolicy + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) + :param str name: name of the ServiceCIDR (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2935,7 +5408,7 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2944,13 +5417,7 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, all_params = [ 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'pretty' ] all_params.extend( [ @@ -2965,42 +5432,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 = {} @@ -3008,28 +5457,22 @@ 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1NetworkPolicy', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3037,17 +5480,17 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) + :param str name: name of the ServiceCIDR (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -3056,24 +5499,24 @@ def read_ingress_class(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressClass + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) + :param str name: name of the ServiceCIDR (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers @@ -3084,7 +5527,7 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3108,14 +5551,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 = {} @@ -3141,14 +5584,14 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1IngressClass', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3156,19 +5599,22 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IngressClass (required) + :param V1IngressClass body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -3176,26 +5622,29 @@ def read_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Ingress + :return: V1IngressClass If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IngressClass (required) + :param V1IngressClass body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3205,7 +5654,7 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3214,8 +5663,11 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # all_params = [ 'name', - 'namespace', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -3230,30 +5682,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 = {} @@ -3261,6 +5717,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 @@ -3269,14 +5727,14 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Ingress', # noqa: E501 + response_type='V1IngressClass', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3284,19 +5742,22 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IPAddress (required) + :param V1IPAddress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -3304,26 +5765,29 @@ def read_namespaced_ingress_status(self, name, namespace, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Ingress + :return: V1IPAddress If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the IPAddress (required) + :param V1IPAddress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3333,7 +5797,7 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3342,8 +5806,11 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg all_params = [ 'name', - 'namespace', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -3358,30 +5825,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 = {} @@ -3389,6 +5860,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 @@ -3397,14 +5870,14 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Ingress', # noqa: E501 + response_type='V1IPAddress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3412,19 +5885,23 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) + :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -3432,26 +5909,30 @@ def read_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1NetworkPolicy + :return: V1Ingress If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) + :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3461,7 +5942,7 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3471,7 +5952,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( [ @@ -3486,18 +5971,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 = {} @@ -3510,6 +5999,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 = {} @@ -3517,6 +6012,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 @@ -3525,14 +6022,14 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1NetworkPolicy', # noqa: E501 + response_type='V1Ingress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3540,18 +6037,19 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) - :param V1IngressClass body: (required) + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3563,25 +6061,26 @@ def replace_ingress_class(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1IngressClass + :return: V1Ingress If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the IngressClass (required) - :param V1IngressClass body: (required) + :param str name: name of the Ingress (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3595,7 +6094,7 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3604,6 +6103,7 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E all_params = [ 'name', + 'namespace', 'body', 'pretty', 'dry_run', @@ -3623,24 +6123,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 @@ -3668,14 +6174,14 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1IngressClass', # noqa: E501 + response_type='V1Ingress', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3683,19 +6189,19 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) + :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Ingress body: (required) + :param V1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3707,26 +6213,26 @@ def replace_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Ingress + :return: V1NetworkPolicy If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) + :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Ingress body: (required) + :param V1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3740,7 +6246,7 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3769,22 +6275,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 = {} @@ -3820,14 +6326,14 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Ingress', # noqa: E501 + response_type='V1NetworkPolicy', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3835,19 +6341,18 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Ingress body: (required) + :param str name: name of the ServiceCIDR (required) + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3859,26 +6364,25 @@ def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Ingress + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the Ingress (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Ingress body: (required) + :param str name: name of the ServiceCIDR (required) + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -3892,7 +6396,7 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3901,7 +6405,6 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body all_params = [ 'name', - 'namespace', 'body', 'pretty', 'dry_run', @@ -3921,30 +6424,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 @@ -3972,14 +6469,14 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Ingress', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3987,19 +6484,18 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1NetworkPolicy body: (required) + :param str name: name of the ServiceCIDR (required) + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -4011,26 +6507,25 @@ def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1NetworkPolicy + :return: V1ServiceCIDR If the method is called asynchronously, returns the request thread. """ 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 async_req bool: execute request asynchronously - :param str name: name of the NetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1NetworkPolicy body: (required) + :param str name: name of the ServiceCIDR (required) + :param V1ServiceCIDR body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -4044,7 +6539,7 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4053,7 +6548,6 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body all_params = [ 'name', - 'namespace', 'body', 'pretty', 'dry_run', @@ -4073,30 +6567,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 @@ -4124,14 +6612,14 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 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, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1NetworkPolicy', # noqa: E501 + response_type='V1ServiceCIDR', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/networking_v1beta1_api.py b/kubernetes/client/api/networking_v1beta1_api.py index 65903bc228..64850722f4 100644 --- a/kubernetes/client/api/networking_v1beta1_api.py +++ b/kubernetes/client/api/networking_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/node_api.py b/kubernetes/client/api/node_api.py index 1452463a10..69803fbdad 100644 --- a/kubernetes/client/api/node_api.py +++ b/kubernetes/client/api/node_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/node_v1_api.py b/kubernetes/client/api/node_v1_api.py index ef657f3957..87186b902d 100644 --- a/kubernetes/client/api/node_v1_api.py +++ b/kubernetes/client/api/node_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/openid_api.py b/kubernetes/client/api/openid_api.py index b060645eb0..974d007fa2 100644 --- a/kubernetes/client/api/openid_api.py +++ b/kubernetes/client/api/openid_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/policy_api.py b/kubernetes/client/api/policy_api.py index b1e6ebf04c..7ea4ea7d6a 100644 --- a/kubernetes/client/api/policy_api.py +++ b/kubernetes/client/api/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/policy_v1_api.py b/kubernetes/client/api/policy_v1_api.py index 9f4a17b17a..302886f728 100644 --- a/kubernetes/client/api/policy_v1_api.py +++ b/kubernetes/client/api/policy_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/rbac_authorization_api.py b/kubernetes/client/api/rbac_authorization_api.py index ff702b96e9..acc5de99c2 100644 --- a/kubernetes/client/api/rbac_authorization_api.py +++ b/kubernetes/client/api/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/rbac_authorization_v1_api.py b/kubernetes/client/api/rbac_authorization_v1_api.py index d7cb26c758..b5839684c5 100644 --- a/kubernetes/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/resource_api.py b/kubernetes/client/api/resource_api.py index a7a61f264d..f04b3d46af 100644 --- a/kubernetes/client/api/resource_api.py +++ b/kubernetes/client/api/resource_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/resource_v1_api.py b/kubernetes/client/api/resource_v1_api.py new file mode 100644 index 0000000000..59dad6c89e --- /dev/null +++ b/kubernetes/client/api/resource_v1_api.py @@ -0,0 +1,5177 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ResourceV1Api(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 async_req bool: execute request asynchronously + :param V1DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_device_class_with_http_info(body, **kwargs) # noqa: E501 + + def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 + """create_device_class # noqa: E501 + + create a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_device_class_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim" % 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_resource_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 async_req bool: execute request asynchronously + :param V1ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param V1ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_resource_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_device_class(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_device_class_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_resource_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_device_class(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_device_class(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClassList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_device_class_with_http_info(**kwargs) # noqa: E501 + + def list_device_class_with_http_info(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClassList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClassList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim" % 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplateList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_claim_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceclaims', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_claim_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplateList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceclaimtemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSliceList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSliceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_device_class(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim" % 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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_resource_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_device_class(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim" % 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_resource_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_device_class(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/deviceclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim" % 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ResourceV1ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param ResourceV1ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ResourceV1ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceV1ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param V1ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param V1ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_resource_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 = {} + + 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 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1/resourceslices/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/resource_v1alpha3_api.py b/kubernetes/client/api/resource_v1alpha3_api.py index 2c2d8fb113..6eb2c6dcc1 100644 --- a/kubernetes/client/api/resource_v1alpha3_api.py +++ b/kubernetes/client/api/resource_v1alpha3_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -36,17 +36,17 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def create_device_class(self, body, **kwargs): # noqa: E501 - """create_device_class # noqa: E501 + def create_device_taint_rule(self, body, **kwargs): # noqa: E501 + """create_device_taint_rule # noqa: E501 - create a DeviceClass # 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_class(body, async_req=True) + >>> thread = api.create_device_taint_rule(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha3DeviceClass body: (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -58,24 +58,24 @@ def create_device_class(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3DeviceClass + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.create_device_class_with_http_info(body, **kwargs) # noqa: E501 + return self.create_device_taint_rule_with_http_info(body, **kwargs) # noqa: E501 - def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 - """create_device_class # noqa: E501 + def create_device_taint_rule_with_http_info(self, body, **kwargs): # noqa: E501 + """create_device_taint_rule # noqa: E501 - create a DeviceClass # 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_class_with_http_info(body, async_req=True) + >>> thread = api.create_device_taint_rule_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha3DeviceClass body: (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -89,7 +89,7 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -116,14 +116,14 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_device_class" % key + " 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_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_device_taint_rule`") # noqa: E501 collection_formats = {} @@ -155,14 +155,14 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'POST', + '/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_type='V1alpha3DeviceClass', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -170,3513 +170,31 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_resource_claim(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_resource_claim # noqa: E501 + def delete_collection_device_taint_rule(self, **kwargs): # noqa: E501 + """delete_collection_device_taint_rule # noqa: E501 - create a 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.create_namespaced_resource_claim(namespace, body, async_req=True) + >>> thread = api.delete_collection_device_taint_rule(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaim - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_namespaced_resource_claim" % 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaimTemplate body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplate - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaimTemplate body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_namespaced_resource_claim_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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - 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 async_req bool: execute request asynchronously - :param V1alpha3ResourceSlice body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceSlice - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param V1alpha3ResourceSlice body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method create_resource_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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceSlice', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_device_class(self, **kwargs): # noqa: E501 - """delete_collection_device_class # noqa: E501 - - delete collection of DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_device_class(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_device_class_with_http_info(**kwargs) # noqa: E501 - - def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_device_class # noqa: E501 - - delete collection of DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_device_class_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_namespaced_resource_claim(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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_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 async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_resource_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 async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - 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_type='V1Status', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_device_class(self, name, **kwargs): # noqa: E501 - """delete_device_class # noqa: E501 - - delete a DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_device_class(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3DeviceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_device_class_with_http_info(name, **kwargs) # noqa: E501 - - def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_device_class # noqa: E501 - - delete a DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_device_class_with_http_info(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty', - 'dry_run', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3DeviceClass', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_namespaced_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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaim - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty', - 'dry_run', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplate - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty', - 'dry_run', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceSlice - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool 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 - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty', - 'dry_run', - 'grace_period_seconds', - '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' - ] - ) - - 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceSlice', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1APIResourceList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 - - def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 - - get available resources # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - 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_type='V1APIResourceList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_device_class(self, **kwargs): # noqa: E501 - """list_device_class # noqa: E501 - - list or watch objects of kind DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_device_class(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3DeviceClassList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_device_class_with_http_info(**kwargs) # noqa: E501 - - def list_device_class_with_http_info(self, **kwargs): # noqa: E501 - """list_device_class # noqa: E501 - - list or watch objects of kind DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_device_class_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClassList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_device_class" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3DeviceClassList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_namespaced_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimList - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_namespaced_resource_claim" % 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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplateList - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_namespaced_resource_claim_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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimTemplateList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_resource_claim_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 async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimList - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_resource_claim_for_all_namespaces" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceclaims', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_resource_claim_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 async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplateList - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_resource_claim_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 = {} - - 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 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimTemplateList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - 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 async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceSliceList - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method list_resource_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 = {} - - 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 - - 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_type='V1alpha3ResourceSliceList', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_device_class(self, name, body, **kwargs): # noqa: E501 - """patch_device_class # noqa: E501 - - partially update the specified DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_device_class(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3DeviceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.patch_device_class_with_http_info(name, body, **kwargs) # noqa: E501 - - def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_device_class # noqa: E501 - - partially update the specified DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_device_class_with_http_info(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_device_class" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_device_class`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_device_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3DeviceClass', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_namespaced_resource_claim(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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaim - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_resource_claim" % 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 = {} - - 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaim - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_resource_claim_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 = {} - - 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplate - If the method is called asynchronously, - returns the request thread. - """ - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_resource_claim_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 = {} - - 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - 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 async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -3684,30 +202,38 @@ def patch_resource_slice(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceSlice + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.patch_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + return self.delete_collection_device_taint_rule_with_http_info(**kwargs) # noqa: E501 - def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_resource_slice # noqa: E501 + def delete_collection_device_taint_rule_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_device_taint_rule # noqa: E501 - partially update the specified ResourceSlice # 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.patch_resource_slice_with_http_info(name, body, async_req=True) + >>> thread = api.delete_collection_device_taint_rule_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3717,7 +243,7 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3725,150 +251,21 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 local_var_params = locals() all_params = [ - 'name', - 'body', 'pretty', + '_continue', 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_resource_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 = {} - - 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'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - 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_type='V1alpha3ResourceSlice', # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_device_class(self, name, **kwargs): # noqa: E501 - """read_device_class # noqa: E501 - - read the specified DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.read_device_class(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: V1alpha3DeviceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 - - def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 - """read_device_class # noqa: E501 - - read the specified DeviceClass # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.read_device_class_with_http_info(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _return_http_data_only: response data without head status code - and headers - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty' + '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( [ @@ -3883,24 +280,44 @@ 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 delete_collection_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 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 '_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 = {} @@ -3908,6 +325,8 @@ def read_device_class_with_http_info(self, name, **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 @@ -3916,14 +335,14 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3DeviceClass', # noqa: E501 + response_type='V1Status', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3931,19 +350,24 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_namespaced_resource_claim(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim # noqa: E501 + def delete_device_taint_rule(self, name, **kwargs): # noqa: E501 + """delete_device_taint_rule # noqa: E501 - read the specified ResourceClaim # 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.read_namespaced_resource_claim(name, namespace, async_req=True) + >>> thread = api.delete_device_taint_rule(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -3951,26 +375,31 @@ def read_namespaced_resource_claim(self, name, namespace, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaim + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_resource_claim_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.delete_device_taint_rule_with_http_info(name, **kwargs) # noqa: E501 - def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim # noqa: E501 + def delete_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_device_taint_rule # noqa: E501 - read the specified ResourceClaim # 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.read_namespaced_resource_claim_with_http_info(name, namespace, async_req=True) + >>> thread = api.delete_device_taint_rule_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3980,7 +409,7 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3989,8 +418,13 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg all_params = [ 'name', - 'namespace', - 'pretty' + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' ] all_params.extend( [ @@ -4005,30 +439,34 @@ def read_namespaced_resource_claim_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_resource_claim" % 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 `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 + raise ApiValueError("Missing the required parameter `name` when calling `delete_device_taint_rule`") # 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 = {} @@ -4036,6 +474,8 @@ def read_namespaced_resource_claim_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 @@ -4044,14 +484,14 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4059,19 +499,16 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_namespaced_resource_claim_status(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim_status # noqa: E501 + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 - read status of the specified ResourceClaim # 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.read_namespaced_resource_claim_status(name, namespace, async_req=True) + >>> thread = api.get_api_resources(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4079,26 +516,23 @@ def read_namespaced_resource_claim_status(self, name, namespace, **kwargs): # n number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaim + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_resource_claim_status_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.get_api_resources_with_http_info(**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 + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 - read status of the specified ResourceClaim # 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.read_namespaced_resource_claim_status_with_http_info(name, namespace, async_req=True) + >>> thread = api.get_api_resources_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4108,7 +542,7 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4116,9 +550,6 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, local_var_params = locals() all_params = [ - 'name', - 'namespace', - 'pretty' ] all_params.extend( [ @@ -4133,30 +564,16 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_resource_claim_status" % key + " to method get_api_resources" % 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 = {} @@ -4172,14 +589,14 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'GET', + '/apis/resource.k8s.io/v1alpha3/', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 + response_type='V1APIResourceList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4187,19 +604,27 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_namespaced_resource_claim_template(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim_template # noqa: E501 + def list_device_taint_rule(self, **kwargs): # noqa: E501 + """list_device_taint_rule # noqa: E501 - read the specified ResourceClaimTemplate # 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.read_namespaced_resource_claim_template(name, namespace, async_req=True) + >>> thread = api.list_device_taint_rule(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4207,26 +632,34 @@ def read_namespaced_resource_claim_template(self, name, namespace, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplate + :return: V1alpha3DeviceTaintRuleList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_resource_claim_template_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.list_device_taint_rule_with_http_info(**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 + def list_device_taint_rule_with_http_info(self, **kwargs): # noqa: E501 + """list_device_taint_rule # noqa: E501 - read the specified ResourceClaimTemplate # 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.read_namespaced_resource_claim_template_with_http_info(name, namespace, async_req=True) + >>> thread = api.list_device_taint_rule_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4236,7 +669,7 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRuleList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4244,9 +677,17 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace local_var_params = locals() all_params = [ - 'name', - 'namespace', - 'pretty' + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' ] all_params.extend( [ @@ -4261,30 +702,38 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_resource_claim_template" % key + " to method list_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_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 + 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 = {} @@ -4294,20 +743,20 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace 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 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 + response_type='V1alpha3DeviceTaintRuleList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4315,18 +764,23 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_resource_slice(self, name, **kwargs): # noqa: E501 - """read_resource_slice # noqa: E501 + def patch_device_taint_rule(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule # noqa: E501 - read the specified ResourceSlice # 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.read_resource_slice(name, async_req=True) + >>> thread = api.patch_device_taint_rule(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) + :param str name: name of the DeviceTaintRule (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4334,25 +788,30 @@ def read_resource_slice(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceSlice + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_resource_slice_with_http_info(name, **kwargs) # noqa: E501 + return self.patch_device_taint_rule_with_http_info(name, body, **kwargs) # noqa: E501 - def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 - """read_resource_slice # noqa: E501 + def patch_device_taint_rule_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule # noqa: E501 - read the specified ResourceSlice # 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.read_resource_slice_with_http_info(name, async_req=True) + >>> thread = api.patch_device_taint_rule_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) + :param str name: name of the DeviceTaintRule (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4362,7 +821,7 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4371,7 +830,12 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 all_params = [ 'name', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' ] all_params.extend( [ @@ -4386,14 +850,18 @@ def read_resource_slice_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_resource_slice" % 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 `read_resource_slice`") # 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_taint_rule`") # noqa: E501 collection_formats = {} @@ -4404,6 +872,14 @@ def read_resource_slice_with_http_info(self, name, **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 '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 = {} @@ -4411,22 +887,28 @@ def read_resource_slice_with_http_info(self, name, **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 + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceSlice', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4434,22 +916,23 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_device_class(self, name, body, **kwargs): # noqa: E501 - """replace_device_class # noqa: E501 + def patch_device_taint_rule_status(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule_status # noqa: E501 - replace the specified DeviceClass # noqa: E501 + partially update status of 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_class(name, body, async_req=True) + >>> thread = api.patch_device_taint_rule_status(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param V1alpha3DeviceClass body: (required) + :param str name: name of the DeviceTaintRule (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4457,29 +940,30 @@ def replace_device_class(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3DeviceClass + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_device_taint_rule_status_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 + def patch_device_taint_rule_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule_status # noqa: E501 - replace the specified DeviceClass # noqa: E501 + partially update status of 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_class_with_http_info(name, body, async_req=True) + >>> thread = api.patch_device_taint_rule_status_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the DeviceClass (required) - :param V1alpha3DeviceClass body: (required) + :param str name: name of the DeviceTaintRule (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4489,7 +973,7 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4502,7 +986,8 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 'pretty', 'dry_run', 'field_manager', - 'field_validation' + 'field_validation', + 'force' ] all_params.extend( [ @@ -4517,18 +1002,18 @@ def replace_device_class_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 replace_device_class" % key + " to method patch_device_taint_rule_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_device_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_device_taint_rule_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_device_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_device_taint_rule_status`") # noqa: E501 collection_formats = {} @@ -4545,6 +1030,8 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 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 = {} @@ -4558,18 +1045,22 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3DeviceClass', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4577,23 +1068,18 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_namespaced_resource_claim(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim # noqa: E501 + def read_device_taint_rule(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule # noqa: E501 - replace the specified ResourceClaim # 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.replace_namespaced_resource_claim(name, namespace, body, async_req=True) + >>> thread = api.read_device_taint_rule(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4601,30 +1087,25 @@ def replace_namespaced_resource_claim(self, name, namespace, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaim + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_resource_claim_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.read_device_taint_rule_with_http_info(name, **kwargs) # noqa: E501 - def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim # noqa: E501 + def read_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule # noqa: E501 - replace the specified ResourceClaim # 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.replace_namespaced_resource_claim_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.read_device_taint_rule_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4634,7 +1115,7 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4643,12 +1124,7 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body all_params = [ 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' + 'pretty' ] all_params.extend( [ @@ -4663,40 +1139,24 @@ def replace_namespaced_resource_claim_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_resource_claim" % 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 `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 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_taint_rule`") # 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 = {} @@ -4704,8 +1164,6 @@ def replace_namespaced_resource_claim_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 @@ -4714,14 +1172,14 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4729,23 +1187,18 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_namespaced_resource_claim_status(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim_status # noqa: E501 + def read_device_taint_rule_status(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule_status # noqa: E501 - replace status of the specified ResourceClaim # noqa: E501 + read status of 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_namespaced_resource_claim_status(name, namespace, body, async_req=True) + >>> thread = api.read_device_taint_rule_status(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -4753,30 +1206,25 @@ def replace_namespaced_resource_claim_status(self, name, namespace, body, **kwar number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaim + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_resource_claim_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.read_device_taint_rule_status_with_http_info(name, **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 + def read_device_taint_rule_status_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule_status # noqa: E501 - replace status of the specified ResourceClaim # noqa: E501 + read status of 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_namespaced_resource_claim_status_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.read_device_taint_rule_status_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaim (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaim body: (required) + :param str name: name of the DeviceTaintRule (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4786,7 +1234,7 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4795,12 +1243,7 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac all_params = [ 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' + 'pretty' ] all_params.extend( [ @@ -4815,40 +1258,24 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_resource_claim_status" % key + " to method read_device_taint_rule_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 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_taint_rule_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 = {} @@ -4856,8 +1283,6 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac 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 @@ -4866,14 +1291,14 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'PUT', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceClaim', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4881,19 +1306,18 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_namespaced_resource_claim_template(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim_template # noqa: E501 + def replace_device_taint_rule(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule # noqa: E501 - replace the specified ResourceClaimTemplate # 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_namespaced_resource_claim_template(name, namespace, body, async_req=True) + >>> thread = api.replace_device_taint_rule(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaimTemplate body: (required) + :param str name: name of the DeviceTaintRule (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -4905,26 +1329,25 @@ def replace_namespaced_resource_claim_template(self, name, namespace, body, **kw number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceClaimTemplate + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_resource_claim_template_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.replace_device_taint_rule_with_http_info(name, 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 + def replace_device_taint_rule_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule # noqa: E501 - replace the specified ResourceClaimTemplate # 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_namespaced_resource_claim_template_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.replace_device_taint_rule_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimTemplate (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha3ResourceClaimTemplate body: (required) + :param str name: name of the DeviceTaintRule (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -4938,7 +1361,7 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4947,7 +1370,6 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp all_params = [ 'name', - 'namespace', 'body', 'pretty', 'dry_run', @@ -4967,30 +1389,24 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_resource_claim_template" % key + " 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_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 + 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_namespaced_resource_claim_template`") # 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 - 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 @@ -5018,14 +1434,14 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PUT', + '/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_type='V1alpha3ResourceClaimTemplate', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -5033,18 +1449,18 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_resource_slice(self, name, body, **kwargs): # noqa: E501 - """replace_resource_slice # noqa: E501 + def replace_device_taint_rule_status(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule_status # noqa: E501 - replace the specified ResourceSlice # noqa: E501 + replace status of 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_resource_slice(name, body, async_req=True) + >>> thread = api.replace_device_taint_rule_status(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param V1alpha3ResourceSlice body: (required) + :param str name: name of the DeviceTaintRule (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -5056,25 +1472,25 @@ def replace_resource_slice(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha3ResourceSlice + :return: V1alpha3DeviceTaintRule If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + return self.replace_device_taint_rule_status_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 + def replace_device_taint_rule_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule_status # noqa: E501 - replace the specified ResourceSlice # noqa: E501 + replace status of 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_resource_slice_with_http_info(name, body, async_req=True) + >>> thread = api.replace_device_taint_rule_status_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the ResourceSlice (required) - :param V1alpha3ResourceSlice body: (required) + :param str name: name of the DeviceTaintRule (required) + :param V1alpha3DeviceTaintRule body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -5088,7 +1504,7 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -5116,18 +1532,18 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_resource_slice" % key + " to method replace_device_taint_rule_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_resource_slice`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_device_taint_rule_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_resource_slice`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_device_taint_rule_status`") # noqa: E501 collection_formats = {} @@ -5161,14 +1577,14 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha3ResourceSlice', # noqa: E501 + response_type='V1alpha3DeviceTaintRule', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/resource_v1beta1_api.py b/kubernetes/client/api/resource_v1beta1_api.py index a6c4afb095..80daa9586a 100644 --- a/kubernetes/client/api/resource_v1beta1_api.py +++ b/kubernetes/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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/resource_v1beta2_api.py b/kubernetes/client/api/resource_v1beta2_api.py new file mode 100644 index 0000000000..0cff766697 --- /dev/null +++ b/kubernetes/client/api/resource_v1beta2_api.py @@ -0,0 +1,5177 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.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 async_req bool: execute request asynchronously + :param V1beta2DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_device_class_with_http_info(body, **kwargs) # noqa: E501 + + def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 + """create_device_class # noqa: E501 + + create a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_device_class_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1beta2DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim" % 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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_resource_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 async_req bool: execute request asynchronously + :param V1beta2ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param V1beta2ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_resource_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 = {} + + 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 + + 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_type='V1beta2ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_device_class(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_device_class_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_resource_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_resource_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_device_class(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1beta2DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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 = {} + + 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 + + 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_type='V1beta2ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_device_class(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClassList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_device_class_with_http_info(**kwargs) # noqa: E501 + + def list_device_class_with_http_info(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClassList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2DeviceClassList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim" % 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 = {} + + 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 + + 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_type='V1beta2ResourceClaimList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplateList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_claim_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2ResourceClaimList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_claim_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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplateList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplateList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_resource_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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSliceList + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_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 = {} + + 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 + + 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_type='V1beta2ResourceSliceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_device_class(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim" % 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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_resource_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 = {} + + 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'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_device_class(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim" % 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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_resource_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 = {} + + 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 + + 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_type='V1beta2ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_device_class(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1beta2DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1beta2DeviceClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + 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_type='V1beta2DeviceClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim(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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim" % 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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaim + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaim (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaim body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaim', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_namespaced_resource_claim_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceClaimTemplate + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceClaimTemplate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1beta2ResourceClaimTemplate body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_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 = {} + + 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 + + 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_type='V1beta2ResourceClaimTemplate', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_resource_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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param V1beta2ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1beta2ResourceSlice + If the method is called asynchronously, + returns the request thread. + """ + 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 async_req bool: execute request asynchronously + :param str name: name of the ResourceSlice (required) + :param V1beta2ResourceSlice body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_resource_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 = {} + + 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 + + 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_type='V1beta2ResourceSlice', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/scheduling_api.py b/kubernetes/client/api/scheduling_api.py index 10f5271656..9ad70216c3 100644 --- a/kubernetes/client/api/scheduling_api.py +++ b/kubernetes/client/api/scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/scheduling_v1_api.py b/kubernetes/client/api/scheduling_v1_api.py index f67ba99ef5..989899afa7 100644 --- a/kubernetes/client/api/scheduling_v1_api.py +++ b/kubernetes/client/api/scheduling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1alpha1_api.py b/kubernetes/client/api/scheduling_v1alpha1_api.py similarity index 73% rename from kubernetes/client/api/storage_v1alpha1_api.py rename to kubernetes/client/api/scheduling_v1alpha1_api.py index 0075c1960a..6c2f47a5f6 100644 --- a/kubernetes/client/api/storage_v1alpha1_api.py +++ b/kubernetes/client/api/scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ ) -class StorageV1alpha1Api(object): +class SchedulingV1alpha1Api(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -36,17 +36,18 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def create_volume_attributes_class(self, body, **kwargs): # noqa: E501 - """create_volume_attributes_class # noqa: E501 + def create_namespaced_workload(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_workload # noqa: E501 - create a VolumeAttributesClass # noqa: E501 + create a Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_volume_attributes_class(body, async_req=True) + >>> thread = api.create_namespaced_workload(namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1VolumeAttributesClass body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1Workload body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -58,24 +59,25 @@ def create_volume_attributes_class(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClass + :return: V1alpha1Workload If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.create_volume_attributes_class_with_http_info(body, **kwargs) # noqa: E501 + return self.create_namespaced_workload_with_http_info(namespace, body, **kwargs) # noqa: E501 - def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa: E501 - """create_volume_attributes_class # noqa: E501 + def create_namespaced_workload_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_workload # noqa: E501 - create a VolumeAttributesClass # noqa: E501 + create a Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_volume_attributes_class_with_http_info(body, async_req=True) + >>> thread = api.create_namespaced_workload_with_http_info(namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1VolumeAttributesClass body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1Workload body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -89,7 +91,7 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -97,6 +99,7 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa local_var_params = locals() all_params = [ + 'namespace', 'body', 'pretty', 'dry_run', @@ -116,18 +119,24 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method create_volume_attributes_class" % key + " to method create_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # 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_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_workload`") # noqa: E501 collection_formats = {} path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -155,14 +164,14 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses', 'POST', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClass', # noqa: E501 + response_type='V1alpha1Workload', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -170,16 +179,17 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_volume_attributes_class(self, **kwargs): # noqa: E501 - """delete_collection_volume_attributes_class # noqa: E501 + def delete_collection_namespaced_workload(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_workload # noqa: E501 - delete collection of VolumeAttributesClass # noqa: E501 + delete collection of Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_volume_attributes_class(async_req=True) + >>> thread = api.delete_collection_namespaced_workload(namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -207,18 +217,19 @@ def delete_collection_volume_attributes_class(self, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_collection_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_namespaced_workload_with_http_info(namespace, **kwargs) # noqa: E501 - def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_volume_attributes_class # noqa: E501 + def delete_collection_namespaced_workload_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_workload # noqa: E501 - delete collection of VolumeAttributesClass # noqa: E501 + delete collection of Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_volume_attributes_class_with_http_info(async_req=True) + >>> thread = api.delete_collection_namespaced_workload_with_http_info(namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -251,6 +262,7 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # local_var_params = locals() all_params = [ + 'namespace', 'pretty', '_continue', 'dry_run', @@ -280,14 +292,20 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_volume_attributes_class" % key + " to method delete_collection_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 collection_formats = {} path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -335,7 +353,7 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses', 'DELETE', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'DELETE', path_params, query_params, header_params, @@ -350,17 +368,18 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_volume_attributes_class(self, name, **kwargs): # noqa: E501 - """delete_volume_attributes_class # noqa: E501 + def delete_namespaced_workload(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_workload # noqa: E501 - delete a VolumeAttributesClass # noqa: E501 + delete a Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attributes_class(name, async_req=True) + >>> thread = api.delete_namespaced_workload(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -375,24 +394,25 @@ def delete_volume_attributes_class(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClass + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_namespaced_workload_with_http_info(name, namespace, **kwargs) # noqa: E501 - def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_volume_attributes_class # noqa: E501 + def delete_namespaced_workload_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_workload # noqa: E501 - delete a VolumeAttributesClass # noqa: E501 + delete a Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attributes_class_with_http_info(name, async_req=True) + >>> thread = api.delete_namespaced_workload_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -409,7 +429,7 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -418,6 +438,7 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa all_params = [ 'name', + 'namespace', 'pretty', 'dry_run', 'grace_period_seconds', @@ -439,20 +460,26 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_volume_attributes_class" % key + " to method delete_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_namespaced_workload`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 collection_formats = {} path_params = {} if 'name' in local_var_params: path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -484,14 +511,14 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}', 'DELETE', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClass', # noqa: E501 + response_type='V1Status', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -589,7 +616,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/', 'GET', + '/apis/scheduling.k8s.io/v1alpha1/', 'GET', path_params, query_params, header_params, @@ -604,16 +631,17 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_volume_attributes_class(self, **kwargs): # noqa: E501 - """list_volume_attributes_class # noqa: E501 + def list_namespaced_workload(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_workload # noqa: E501 - list or watch objects of kind VolumeAttributesClass # noqa: E501 + list or watch objects of kind Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_volume_attributes_class(async_req=True) + >>> thread = api.list_namespaced_workload(namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -632,23 +660,24 @@ def list_volume_attributes_class(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClassList + :return: V1alpha1WorkloadList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 + return self.list_namespaced_workload_with_http_info(namespace, **kwargs) # noqa: E501 - def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 - """list_volume_attributes_class # noqa: E501 + def list_namespaced_workload_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_workload # noqa: E501 - list or watch objects of kind VolumeAttributesClass # noqa: E501 + list or watch objects of kind Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_volume_attributes_class_with_http_info(async_req=True) + >>> thread = api.list_namespaced_workload_with_http_info(namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -669,7 +698,7 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClassList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha1WorkloadList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -677,6 +706,7 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ + 'namespace', 'pretty', 'allow_watch_bookmarks', '_continue', @@ -702,14 +732,20 @@ def list_volume_attributes_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_volume_attributes_class" % key + " to method list_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 collection_formats = {} path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -749,14 +785,174 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses', 'GET', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1WorkloadList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_workload_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_workload_for_all_namespaces # noqa: E501 + + list or watch objects of kind Workload # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workload_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1WorkloadList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_workload_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_workload_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_workload_for_all_namespaces # noqa: E501 + + list or watch objects of kind Workload # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_workload_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1WorkloadList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_workload_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/scheduling.k8s.io/v1alpha1/workloads', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClassList', # noqa: E501 + response_type='V1alpha1WorkloadList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -764,17 +960,18 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 - """patch_volume_attributes_class # noqa: E501 + def patch_namespaced_workload(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_workload # noqa: E501 - partially update the specified VolumeAttributesClass # noqa: E501 + partially update the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_volume_attributes_class(name, body, async_req=True) + >>> thread = api.patch_namespaced_workload(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -788,24 +985,25 @@ def patch_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClass + :return: V1alpha1Workload If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.patch_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_namespaced_workload_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_volume_attributes_class # noqa: E501 + def patch_namespaced_workload_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_workload # noqa: E501 - partially update the specified VolumeAttributesClass # noqa: E501 + partially update the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_volume_attributes_class_with_http_info(name, body, async_req=True) + >>> thread = api.patch_namespaced_workload_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -821,7 +1019,7 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -830,6 +1028,7 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # all_params = [ 'name', + 'namespace', 'body', 'pretty', 'dry_run', @@ -850,24 +1049,30 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_volume_attributes_class" % key + " to method patch_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_workload`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_workload`") # noqa: E501 collection_formats = {} path_params = {} if 'name' in local_var_params: path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -901,14 +1106,14 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}', 'PATCH', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClass', # noqa: E501 + response_type='V1alpha1Workload', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -916,17 +1121,18 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def read_volume_attributes_class(self, name, **kwargs): # noqa: E501 - """read_volume_attributes_class # noqa: E501 + def read_namespaced_workload(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_workload # noqa: E501 - read the specified VolumeAttributesClass # noqa: E501 + read the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.read_volume_attributes_class(name, async_req=True) + >>> thread = api.read_namespaced_workload(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -935,24 +1141,25 @@ def read_volume_attributes_class(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClass + :return: V1alpha1Workload If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.read_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + return self.read_namespaced_workload_with_http_info(name, namespace, **kwargs) # noqa: E501 - def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 - """read_volume_attributes_class # noqa: E501 + def read_namespaced_workload_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_workload # noqa: E501 - read the specified VolumeAttributesClass # noqa: E501 + read the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.read_volume_attributes_class_with_http_info(name, async_req=True) + >>> thread = api.read_namespaced_workload_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param _return_http_data_only: response data without head status code and headers @@ -963,7 +1170,7 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -972,6 +1179,7 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: all_params = [ 'name', + 'namespace', 'pretty' ] all_params.extend( @@ -987,20 +1195,26 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_volume_attributes_class" % key + " to method read_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `read_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_workload`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 collection_formats = {} path_params = {} if 'name' in local_var_params: path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -1020,14 +1234,14 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}', 'GET', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClass', # noqa: E501 + response_type='V1alpha1Workload', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1035,18 +1249,19 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def replace_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 - """replace_volume_attributes_class # noqa: E501 + def replace_namespaced_workload(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_workload # noqa: E501 - replace the specified VolumeAttributesClass # noqa: E501 + replace the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.replace_volume_attributes_class(name, body, async_req=True) + >>> thread = api.replace_namespaced_workload(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) - :param V1alpha1VolumeAttributesClass body: (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1Workload body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1058,25 +1273,26 @@ def replace_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1VolumeAttributesClass + :return: V1alpha1Workload If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.replace_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.replace_namespaced_workload_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_volume_attributes_class # noqa: E501 + def replace_namespaced_workload_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_workload # noqa: E501 - replace the specified VolumeAttributesClass # noqa: E501 + replace the specified Workload # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.replace_volume_attributes_class_with_http_info(name, body, async_req=True) + >>> thread = api.replace_namespaced_workload_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttributesClass (required) - :param V1alpha1VolumeAttributesClass body: (required) + :param str name: name of the Workload (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1Workload body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1090,7 +1306,7 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha1Workload, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1099,6 +1315,7 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): all_params = [ 'name', + 'namespace', 'body', 'pretty', 'dry_run', @@ -1118,24 +1335,30 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_volume_attributes_class" % key + " to method replace_namespaced_workload" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `replace_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_workload`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('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_workload`") # noqa: E501 # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `replace_volume_attributes_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_workload`") # noqa: E501 collection_formats = {} path_params = {} if 'name' in local_var_params: path_params['name'] = local_var_params['name'] # noqa: E501 + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 @@ -1163,14 +1386,14 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}', 'PUT', + '/apis/scheduling.k8s.io/v1alpha1/namespaces/{namespace}/workloads/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1VolumeAttributesClass', # noqa: E501 + response_type='V1alpha1Workload', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/storage_api.py b/kubernetes/client/api/storage_api.py index 3a5250093f..7d01af97d6 100644 --- a/kubernetes/client/api/storage_api.py +++ b/kubernetes/client/api/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1_api.py b/kubernetes/client/api/storage_v1_api.py index 23ee903ef7..1b680eaff9 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -715,6 +715,140 @@ def create_volume_attachment_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def create_volume_attributes_class(self, body, **kwargs): # noqa: E501 + """create_volume_attributes_class # noqa: E501 + + create a VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_volume_attributes_class(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1VolumeAttributesClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_volume_attributes_class_with_http_info(body, **kwargs) # noqa: E501 + + def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa: E501 + """create_volume_attributes_class # noqa: E501 + + create a VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_volume_attributes_class_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1VolumeAttributesClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattributesclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttributesClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def delete_collection_csi_driver(self, **kwargs): # noqa: E501 """delete_collection_csi_driver # noqa: E501 @@ -1624,23 +1758,30 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_csi_driver(self, name, **kwargs): # noqa: E501 - """delete_csi_driver # noqa: E501 + def delete_collection_volume_attributes_class(self, **kwargs): # noqa: E501 + """delete_collection_volume_attributes_class # noqa: E501 - delete a CSIDriver # noqa: E501 + delete collection of VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_csi_driver(name, async_req=True) + >>> thread = api.delete_collection_volume_attributes_class(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSIDriver (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -1649,30 +1790,37 @@ def delete_csi_driver(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1CSIDriver + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_csi_driver_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_collection_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 - def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_csi_driver # noqa: E501 + def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_volume_attributes_class # noqa: E501 - delete a CSIDriver # noqa: E501 + delete collection of VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_csi_driver_with_http_info(name, async_req=True) + >>> thread = api.delete_collection_volume_attributes_class_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSIDriver (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool 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 + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers @@ -1683,7 +1831,7 @@ def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1CSIDriver, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1691,13 +1839,20 @@ def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'name', '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( @@ -1713,34 +1868,44 @@ def delete_csi_driver_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_csi_driver" % key + " to method delete_collection_volume_attributes_class" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_csi_driver`") # 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 '_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 = {} @@ -1758,14 +1923,14 @@ def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/csidrivers/{name}', 'DELETE', + '/apis/storage.k8s.io/v1/volumeattributesclasses', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1CSIDriver', # noqa: E501 + response_type='V1Status', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1773,17 +1938,17 @@ def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_csi_node(self, name, **kwargs): # noqa: E501 - """delete_csi_node # noqa: E501 + def delete_csi_driver(self, name, **kwargs): # noqa: E501 + """delete_csi_driver # noqa: E501 - delete a CSINode # noqa: E501 + delete a CSIDriver # 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_csi_node(name, async_req=True) + >>> thread = api.delete_csi_driver(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSINode (required) + :param str name: name of the CSIDriver (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -1798,24 +1963,24 @@ def delete_csi_node(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1CSINode + :return: V1CSIDriver If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_csi_node_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_csi_driver_with_http_info(name, **kwargs) # noqa: E501 - def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_csi_node # noqa: E501 + def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_csi_driver # noqa: E501 - delete a CSINode # noqa: E501 + delete a CSIDriver # 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_csi_node_with_http_info(name, async_req=True) + >>> thread = api.delete_csi_driver_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSINode (required) + :param str name: name of the CSIDriver (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -1832,7 +1997,7 @@ def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1CSIDriver, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1862,14 +2027,14 @@ def delete_csi_node_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_csi_node" % key + " to method delete_csi_driver" % 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_csi_node`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_csi_driver`") # noqa: E501 collection_formats = {} @@ -1907,14 +2072,14 @@ def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/csinodes/{name}', 'DELETE', + '/apis/storage.k8s.io/v1/csidrivers/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1CSINode', # noqa: E501 + response_type='V1CSIDriver', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1922,18 +2087,17 @@ def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_csi_storage_capacity(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_csi_storage_capacity # noqa: E501 + def delete_csi_node(self, name, **kwargs): # noqa: E501 + """delete_csi_node # noqa: E501 - delete a CSIStorageCapacity # noqa: E501 + delete a CSINode # 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_csi_storage_capacity(name, namespace, async_req=True) + >>> thread = api.delete_csi_node(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSIStorageCapacity (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the CSINode (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -1948,25 +2112,24 @@ def delete_namespaced_csi_storage_capacity(self, name, namespace, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1Status + :return: V1CSINode If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_namespaced_csi_storage_capacity_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.delete_csi_node_with_http_info(name, **kwargs) # noqa: E501 - def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_csi_storage_capacity # noqa: E501 + def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_csi_node # noqa: E501 - delete a CSIStorageCapacity # noqa: E501 + delete a CSINode # 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_csi_storage_capacity_with_http_info(name, namespace, async_req=True) + >>> thread = api.delete_csi_node_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the CSIStorageCapacity (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the CSINode (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -1983,7 +2146,7 @@ def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1992,7 +2155,6 @@ def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, all_params = [ 'name', - 'namespace', 'pretty', 'dry_run', 'grace_period_seconds', @@ -2014,26 +2176,178 @@ def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_csi_storage_capacity" % key + " to method delete_csi_node" % 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_csi_storage_capacity`") # 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_csi_storage_capacity`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_csi_node`") # 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 = {} + + 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 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csinodes/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSINode', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_csi_storage_capacity(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_csi_storage_capacity # noqa: E501 + + delete a CSIStorageCapacity # 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_csi_storage_capacity(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSIStorageCapacity (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_csi_storage_capacity_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_csi_storage_capacity # noqa: E501 + + delete a CSIStorageCapacity # 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_csi_storage_capacity_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSIStorageCapacity (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + 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_csi_storage_capacity" % 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_csi_storage_capacity`") # 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_csi_storage_capacity`") # 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 @@ -2378,6 +2692,155 @@ def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def delete_volume_attributes_class(self, name, **kwargs): # noqa: E501 + """delete_volume_attributes_class # noqa: E501 + + delete a VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attributes_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + + def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_volume_attributes_class # noqa: E501 + + delete a VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attributes_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool 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 + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + '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' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if '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 = {} + + 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 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattributesclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttributesClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def get_api_resources(self, **kwargs): # noqa: E501 """get_api_resources # noqa: E501 @@ -2838,22 +3301,184 @@ def list_csi_storage_capacity_for_all_namespaces(self, **kwargs): # noqa: E501 kwargs['_return_http_data_only'] = True return self.list_csi_storage_capacity_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 - def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_csi_storage_capacity_for_all_namespaces # noqa: E501 + def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_csi_storage_capacity_for_all_namespaces # noqa: E501 + + list or watch objects of kind CSIStorageCapacity # 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_csi_storage_capacity_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSIStorageCapacityList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_csi_storage_capacity_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csistoragecapacities', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSIStorageCapacityList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_csi_storage_capacity(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_csi_storage_capacity # noqa: E501 + + list or watch objects of kind CSIStorageCapacity # 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_csi_storage_capacity(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSIStorageCapacityList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_csi_storage_capacity_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_csi_storage_capacity # noqa: E501 list or watch objects of kind CSIStorageCapacity # 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_csi_storage_capacity_for_all_namespaces_with_http_info(async_req=True) + >>> thread = api.list_namespaced_csi_storage_capacity_with_http_info(namespace, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. @@ -2876,12 +3501,13 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): local_var_params = locals() all_params = [ + 'namespace', + 'pretty', 'allow_watch_bookmarks', '_continue', 'field_selector', 'label_selector', 'limit', - 'pretty', 'resource_version', 'resource_version_match', 'send_initial_events', @@ -2901,16 +3527,24 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_csi_storage_capacity_for_all_namespaces" % key + " to method list_namespaced_csi_storage_capacity" % 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_csi_storage_capacity`") # 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 @@ -2921,8 +3555,6 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): 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 @@ -2948,7 +3580,7 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/csistoragecapacities', 'GET', + '/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities', 'GET', path_params, query_params, header_params, @@ -2963,17 +3595,16 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_namespaced_csi_storage_capacity(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_csi_storage_capacity # noqa: E501 + def list_storage_class(self, **kwargs): # noqa: E501 + """list_storage_class # noqa: E501 - list or watch objects of kind CSIStorageCapacity # noqa: E501 + list or watch objects of kind StorageClass # 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_csi_storage_capacity(namespace, async_req=True) + >>> thread = api.list_storage_class(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2992,24 +3623,23 @@ def list_namespaced_csi_storage_capacity(self, namespace, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1CSIStorageCapacityList + :return: V1StorageClassList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_namespaced_csi_storage_capacity_with_http_info(namespace, **kwargs) # noqa: E501 + return self.list_storage_class_with_http_info(**kwargs) # noqa: E501 - def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_csi_storage_capacity # noqa: E501 + def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 + """list_storage_class # noqa: E501 - list or watch objects of kind CSIStorageCapacity # noqa: E501 + list or watch objects of kind StorageClass # 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_csi_storage_capacity_with_http_info(namespace, async_req=True) + >>> thread = api.list_storage_class_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -3030,7 +3660,7 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1CSIStorageCapacityList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1StorageClassList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3038,7 +3668,6 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg local_var_params = locals() all_params = [ - 'namespace', 'pretty', 'allow_watch_bookmarks', '_continue', @@ -3064,20 +3693,14 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_namespaced_csi_storage_capacity" % key + " to method list_storage_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_csi_storage_capacity`") # 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 @@ -3117,14 +3740,14 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities', 'GET', + '/apis/storage.k8s.io/v1/storageclasses', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1CSIStorageCapacityList', # noqa: E501 + response_type='V1StorageClassList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3132,13 +3755,13 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_storage_class(self, **kwargs): # noqa: E501 - """list_storage_class # noqa: E501 + def list_volume_attachment(self, **kwargs): # noqa: E501 + """list_volume_attachment # noqa: E501 - list or watch objects of kind StorageClass # noqa: E501 + list or watch objects of kind VolumeAttachment # 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_storage_class(async_req=True) + >>> thread = api.list_volume_attachment(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -3160,20 +3783,20 @@ def list_storage_class(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1StorageClassList + :return: V1VolumeAttachmentList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_storage_class_with_http_info(**kwargs) # noqa: E501 + return self.list_volume_attachment_with_http_info(**kwargs) # noqa: E501 - def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 - """list_storage_class # noqa: E501 + def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 + """list_volume_attachment # noqa: E501 - list or watch objects of kind StorageClass # noqa: E501 + list or watch objects of kind VolumeAttachment # 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_storage_class_with_http_info(async_req=True) + >>> thread = api.list_volume_attachment_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -3197,7 +3820,7 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1StorageClassList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1VolumeAttachmentList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3230,7 +3853,7 @@ def list_storage_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_storage_class" % key + " to method list_volume_attachment" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -3277,14 +3900,14 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/storageclasses', 'GET', + '/apis/storage.k8s.io/v1/volumeattachments', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1StorageClassList', # noqa: E501 + response_type='V1VolumeAttachmentList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -3292,13 +3915,13 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def list_volume_attachment(self, **kwargs): # noqa: E501 - """list_volume_attachment # noqa: E501 + def list_volume_attributes_class(self, **kwargs): # noqa: E501 + """list_volume_attributes_class # noqa: E501 - list or watch objects of kind VolumeAttachment # noqa: E501 + list or watch objects of kind VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_volume_attachment(async_req=True) + >>> thread = api.list_volume_attributes_class(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -3320,20 +3943,20 @@ def list_volume_attachment(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1VolumeAttachmentList + :return: V1VolumeAttributesClassList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.list_volume_attachment_with_http_info(**kwargs) # noqa: E501 + return self.list_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 - def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 - """list_volume_attachment # noqa: E501 + def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 + """list_volume_attributes_class # noqa: E501 - list or watch objects of kind VolumeAttachment # noqa: E501 + list or watch objects of kind VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_volume_attachment_with_http_info(async_req=True) + >>> thread = api.list_volume_attributes_class_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -3357,7 +3980,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1VolumeAttachmentList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1VolumeAttributesClassList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3390,7 +4013,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_volume_attachment" % key + " to method list_volume_attributes_class" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -3437,14 +4060,14 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments', 'GET', + '/apis/storage.k8s.io/v1/volumeattributesclasses', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1VolumeAttachmentList', # noqa: E501 + response_type='V1VolumeAttributesClassList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -4103,10 +4726,162 @@ def patch_volume_attachment(self, name, body, **kwargs): # noqa: E501 def patch_volume_attachment_with_http_info(self, name, body, **kwargs): # noqa: E501 """patch_volume_attachment # noqa: E501 - partially update the specified VolumeAttachment # noqa: E501 + partially update the specified VolumeAttachment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_volume_attachment_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1VolumeAttachment, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_volume_attachment" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attachment`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attachment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattachments/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttachment', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_volume_attachment_status(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attachment_status # noqa: E501 + + partially update status of the specified VolumeAttachment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_volume_attachment_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_volume_attachment_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attachment_status # noqa: E501 + + partially update status of the specified VolumeAttachment # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_volume_attachment_with_http_info(name, body, async_req=True) + >>> thread = api.patch_volume_attachment_status_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -4155,18 +4930,18 @@ def patch_volume_attachment_with_http_info(self, name, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_volume_attachment" % key + " to method patch_volume_attachment_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_volume_attachment`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attachment_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_volume_attachment`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attachment_status`") # noqa: E501 collection_formats = {} @@ -4206,7 +4981,7 @@ def patch_volume_attachment_with_http_info(self, name, body, **kwargs): # noqa: auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments/{name}', 'PATCH', + '/apis/storage.k8s.io/v1/volumeattachments/{name}/status', 'PATCH', path_params, query_params, header_params, @@ -4221,17 +4996,17 @@ def patch_volume_attachment_with_http_info(self, name, body, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_volume_attachment_status(self, name, body, **kwargs): # noqa: E501 - """patch_volume_attachment_status # noqa: E501 + def patch_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attributes_class # noqa: E501 - partially update status of the specified VolumeAttachment # noqa: E501 + partially update the specified VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_volume_attachment_status(name, body, async_req=True) + >>> thread = api.patch_volume_attributes_class(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttachment (required) + :param str name: name of the VolumeAttributesClass (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4245,24 +5020,24 @@ def patch_volume_attachment_status(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1VolumeAttachment + :return: V1VolumeAttributesClass If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.patch_volume_attachment_status_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 - def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_volume_attachment_status # noqa: E501 + def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attributes_class # noqa: E501 - partially update status of the specified VolumeAttachment # noqa: E501 + partially update the specified VolumeAttributesClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_volume_attachment_status_with_http_info(name, body, async_req=True) + >>> thread = api.patch_volume_attributes_class_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttachment (required) + :param str name: name of the VolumeAttributesClass (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4278,7 +5053,7 @@ def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1VolumeAttachment, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4307,18 +5082,18 @@ def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_volume_attachment_status" % key + " to method patch_volume_attributes_class" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attachment_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attributes_class`") # noqa: E501 # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attachment_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attributes_class`") # noqa: E501 collection_formats = {} @@ -4358,14 +5133,14 @@ def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments/{name}/status', 'PATCH', + '/apis/storage.k8s.io/v1/volumeattributesclasses/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1VolumeAttachment', # noqa: E501 + response_type='V1VolumeAttributesClass', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -5096,6 +5871,125 @@ def read_volume_attachment_status_with_http_info(self, name, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def read_volume_attributes_class(self, name, **kwargs): # noqa: E501 + """read_volume_attributes_class # noqa: E501 + + read the specified VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_volume_attributes_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + + def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_volume_attributes_class # noqa: E501 + + read the specified VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_volume_attributes_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattributesclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttributesClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_csi_driver(self, name, body, **kwargs): # noqa: E501 """replace_csi_driver # noqa: E501 @@ -5962,3 +6856,146 @@ def replace_volume_attachment_status_with_http_info(self, name, body, **kwargs): _preload_content=local_var_params.get('_preload_content', True), _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + + def replace_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 + """replace_volume_attributes_class # noqa: E501 + + replace the specified VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_volume_attributes_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param V1VolumeAttributesClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_volume_attributes_class # noqa: E501 + + replace the specified VolumeAttributesClass # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_volume_attributes_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param V1VolumeAttributesClass body: (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_volume_attributes_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattributesclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttributesClass', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/storage_v1beta1_api.py b/kubernetes/client/api/storage_v1beta1_api.py index 80337f36be..a6b27dcfbd 100644 --- a/kubernetes/client/api/storage_v1beta1_api.py +++ b/kubernetes/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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storagemigration_api.py b/kubernetes/client/api/storagemigration_api.py index 64a302ae0f..c45bf5bac5 100644 --- a/kubernetes/client/api/storagemigration_api.py +++ b/kubernetes/client/api/storagemigration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storagemigration_v1alpha1_api.py b/kubernetes/client/api/storagemigration_v1beta1_api.py similarity index 97% rename from kubernetes/client/api/storagemigration_v1alpha1_api.py rename to kubernetes/client/api/storagemigration_v1beta1_api.py index 14d51134be..22bb49a17e 100644 --- a/kubernetes/client/api/storagemigration_v1alpha1_api.py +++ b/kubernetes/client/api/storagemigration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ ) -class StoragemigrationV1alpha1Api(object): +class StoragemigrationV1beta1Api(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -46,7 +46,7 @@ def create_storage_version_migration(self, body, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -58,7 +58,7 @@ def create_storage_version_migration(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -75,7 +75,7 @@ def create_storage_version_migration_with_http_info(self, body, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -89,7 +89,7 @@ def create_storage_version_migration_with_http_info(self, body, **kwargs): # no number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -155,14 +155,14 @@ def create_storage_version_migration_with_http_info(self, body, **kwargs): # no auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations', 'POST', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -335,7 +335,7 @@ def delete_collection_storage_version_migration_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations', 'DELETE', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations', 'DELETE', path_params, query_params, header_params, @@ -484,7 +484,7 @@ def delete_storage_version_migration_with_http_info(self, name, **kwargs): # no auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}', 'DELETE', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}', 'DELETE', path_params, query_params, header_params, @@ -589,7 +589,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/', 'GET', + '/apis/storagemigration.k8s.io/v1beta1/', 'GET', path_params, query_params, header_params, @@ -632,7 +632,7 @@ def list_storage_version_migration(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigrationList + :return: V1beta1StorageVersionMigrationList If the method is called asynchronously, returns the request thread. """ @@ -669,7 +669,7 @@ def list_storage_version_migration_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigrationList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigrationList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -749,14 +749,14 @@ def list_storage_version_migration_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations', 'GET', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigrationList', # noqa: E501 + response_type='V1beta1StorageVersionMigrationList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -788,7 +788,7 @@ def patch_storage_version_migration(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -821,7 +821,7 @@ def patch_storage_version_migration_with_http_info(self, name, body, **kwargs): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -901,14 +901,14 @@ def patch_storage_version_migration_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}', 'PATCH', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -940,7 +940,7 @@ def patch_storage_version_migration_status(self, name, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -973,7 +973,7 @@ def patch_storage_version_migration_status_with_http_info(self, name, body, **kw number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1053,14 +1053,14 @@ def patch_storage_version_migration_status_with_http_info(self, name, body, **kw auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status', 'PATCH', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1087,7 +1087,7 @@ def read_storage_version_migration(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -1115,7 +1115,7 @@ def read_storage_version_migration_with_http_info(self, name, **kwargs): # noqa number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1172,14 +1172,14 @@ def read_storage_version_migration_with_http_info(self, name, **kwargs): # noqa auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}', 'GET', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1206,7 +1206,7 @@ def read_storage_version_migration_status(self, name, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -1234,7 +1234,7 @@ def read_storage_version_migration_status_with_http_info(self, name, **kwargs): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1291,14 +1291,14 @@ def read_storage_version_migration_status_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status', 'GET', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1317,7 +1317,7 @@ def replace_storage_version_migration(self, name, body, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str name: name of the StorageVersionMigration (required) - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1329,7 +1329,7 @@ def replace_storage_version_migration(self, name, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -1347,7 +1347,7 @@ def replace_storage_version_migration_with_http_info(self, name, body, **kwargs) :param async_req bool: execute request asynchronously :param str name: name of the StorageVersionMigration (required) - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1361,7 +1361,7 @@ def replace_storage_version_migration_with_http_info(self, name, body, **kwargs) number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1434,14 +1434,14 @@ def replace_storage_version_migration_with_http_info(self, name, body, **kwargs) auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}', 'PUT', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1460,7 +1460,7 @@ def replace_storage_version_migration_status(self, name, body, **kwargs): # noq :param async_req bool: execute request asynchronously :param str name: name of the StorageVersionMigration (required) - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1472,7 +1472,7 @@ def replace_storage_version_migration_status(self, name, body, **kwargs): # noq number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1StorageVersionMigration + :return: V1beta1StorageVersionMigration If the method is called asynchronously, returns the request thread. """ @@ -1490,7 +1490,7 @@ def replace_storage_version_migration_status_with_http_info(self, name, body, ** :param async_req bool: execute request asynchronously :param str name: name of the StorageVersionMigration (required) - :param V1alpha1StorageVersionMigration body: (required) + :param V1beta1StorageVersionMigration body: (required) :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1504,7 +1504,7 @@ def replace_storage_version_migration_status_with_http_info(self, name, body, ** number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1StorageVersionMigration, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1577,14 +1577,14 @@ def replace_storage_version_migration_status_with_http_info(self, name, body, ** auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status', 'PUT', + '/apis/storagemigration.k8s.io/v1beta1/storageversionmigrations/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1StorageVersionMigration', # noqa: E501 + response_type='V1beta1StorageVersionMigration', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/version_api.py b/kubernetes/client/api/version_api.py index d8cee530b2..6ccccefcef 100644 --- a/kubernetes/client/api/version_api.py +++ b/kubernetes/client/api/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 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 >>> thread = api.get_code(async_req=True) @@ -63,7 +63,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 >>> thread = api.get_code_with_http_info(async_req=True) diff --git a/kubernetes/client/api/well_known_api.py b/kubernetes/client/api/well_known_api.py index ab4c5370ea..778afcacae 100644 --- a/kubernetes/client/api/well_known_api.py +++ b/kubernetes/client/api/well_known_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index 53d94ce40b..7ac940facd 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 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.0.0+snapshot/python' + self.user_agent = 'OpenAPI-Generator/35.0.0+snapshot/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index e1c0ff2dc5..02d60486b5 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -20,6 +20,7 @@ import six from six.moves import http_client as httplib +import os class Configuration(object): @@ -158,6 +159,15 @@ def __init__(self, host="http://localhost", """ self.proxy = None +# Load proxy from environment variables (if set) + if os.getenv("HTTPS_PROXY"): self.proxy = os.getenv("HTTPS_PROXY") + if os.getenv("https_proxy"): self.proxy = os.getenv("https_proxy") + if os.getenv("HTTP_PROXY"): self.proxy = os.getenv("HTTP_PROXY") + if os.getenv("http_proxy"): self.proxy = os.getenv("http_proxy") + self.no_proxy = None + # Load no_proxy from environment variables (if set) + if os.getenv("NO_PROXY"): self.no_proxy = os.getenv("NO_PROXY") + if os.getenv("no_proxy"): self.no_proxy = os.getenv("no_proxy") """Proxy URL """ self.no_proxy = None @@ -353,8 +363,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: release-1.32\n"\ - "SDK Package Version: 32.0.0+snapshot".\ + "Version of the API: release-1.35\n"\ + "SDK Package Version: 35.0.0+snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes/client/exceptions.py b/kubernetes/client/exceptions.py index cea5212948..ce4d8afa15 100644 --- a/kubernetes/client/exceptions.py +++ b/kubernetes/client/exceptions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index d8adadd13a..e39158b6a3 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -24,12 +24,14 @@ from kubernetes.client.models.core_v1_event import CoreV1Event from kubernetes.client.models.core_v1_event_list import CoreV1EventList from kubernetes.client.models.core_v1_event_series import CoreV1EventSeries +from kubernetes.client.models.core_v1_resource_claim import CoreV1ResourceClaim from kubernetes.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort from kubernetes.client.models.events_v1_event import EventsV1Event from kubernetes.client.models.events_v1_event_list import EventsV1EventList from kubernetes.client.models.events_v1_event_series import EventsV1EventSeries from kubernetes.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject from kubernetes.client.models.rbac_v1_subject import RbacV1Subject +from kubernetes.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim from kubernetes.client.models.storage_v1_token_request import StorageV1TokenRequest from kubernetes.client.models.v1_api_group import V1APIGroup from kubernetes.client.models.v1_api_group_list import V1APIGroupList @@ -44,6 +46,8 @@ from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource from kubernetes.client.models.v1_affinity import V1Affinity from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule +from kubernetes.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus +from kubernetes.client.models.v1_allocation_result import V1AllocationResult from kubernetes.client.models.v1_app_armor_profile import V1AppArmorProfile from kubernetes.client.models.v1_attached_volume import V1AttachedVolume from kubernetes.client.models.v1_audit_annotation import V1AuditAnnotation @@ -52,6 +56,7 @@ from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource from kubernetes.client.models.v1_binding import V1Binding from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.client.models.v1_cel_device_selector import V1CELDeviceSelector from kubernetes.client.models.v1_csi_driver import V1CSIDriver from kubernetes.client.models.v1_csi_driver_list import V1CSIDriverList from kubernetes.client.models.v1_csi_driver_spec import V1CSIDriverSpec @@ -64,6 +69,9 @@ from kubernetes.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource from kubernetes.client.models.v1_capabilities import V1Capabilities +from kubernetes.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy +from kubernetes.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange +from kubernetes.client.models.v1_capacity_requirements import V1CapacityRequirements from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource from kubernetes.client.models.v1_certificate_signing_request import V1CertificateSigningRequest @@ -91,9 +99,12 @@ from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource from kubernetes.client.models.v1_container import V1Container +from kubernetes.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest from kubernetes.client.models.v1_container_image import V1ContainerImage from kubernetes.client.models.v1_container_port import V1ContainerPort from kubernetes.client.models.v1_container_resize_policy import V1ContainerResizePolicy +from kubernetes.client.models.v1_container_restart_rule import V1ContainerRestartRule +from kubernetes.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes from kubernetes.client.models.v1_container_state import V1ContainerState from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated @@ -102,6 +113,8 @@ from kubernetes.client.models.v1_container_user import V1ContainerUser from kubernetes.client.models.v1_controller_revision import V1ControllerRevision from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList +from kubernetes.client.models.v1_counter import V1Counter +from kubernetes.client.models.v1_counter_set import V1CounterSet from kubernetes.client.models.v1_cron_job import V1CronJob from kubernetes.client.models.v1_cron_job_list import V1CronJobList from kubernetes.client.models.v1_cron_job_spec import V1CronJobSpec @@ -133,6 +146,25 @@ from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy +from kubernetes.client.models.v1_device import V1Device +from kubernetes.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration +from kubernetes.client.models.v1_device_allocation_result import V1DeviceAllocationResult +from kubernetes.client.models.v1_device_attribute import V1DeviceAttribute +from kubernetes.client.models.v1_device_capacity import V1DeviceCapacity +from kubernetes.client.models.v1_device_claim import V1DeviceClaim +from kubernetes.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration +from kubernetes.client.models.v1_device_class import V1DeviceClass +from kubernetes.client.models.v1_device_class_configuration import V1DeviceClassConfiguration +from kubernetes.client.models.v1_device_class_list import V1DeviceClassList +from kubernetes.client.models.v1_device_class_spec import V1DeviceClassSpec +from kubernetes.client.models.v1_device_constraint import V1DeviceConstraint +from kubernetes.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption +from kubernetes.client.models.v1_device_request import V1DeviceRequest +from kubernetes.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult +from kubernetes.client.models.v1_device_selector import V1DeviceSelector +from kubernetes.client.models.v1_device_sub_request import V1DeviceSubRequest +from kubernetes.client.models.v1_device_taint import V1DeviceTaint +from kubernetes.client.models.v1_device_toleration import V1DeviceToleration from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource @@ -153,6 +185,7 @@ from kubernetes.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource from kubernetes.client.models.v1_event_source import V1EventSource from kubernetes.client.models.v1_eviction import V1Eviction +from kubernetes.client.models.v1_exact_device_request import V1ExactDeviceRequest from kubernetes.client.models.v1_exec_action import V1ExecAction from kubernetes.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning @@ -160,6 +193,7 @@ from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource from kubernetes.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes from kubernetes.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement +from kubernetes.client.models.v1_file_key_selector import V1FileKeySelector from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource @@ -169,12 +203,14 @@ from kubernetes.client.models.v1_flow_schema_list import V1FlowSchemaList from kubernetes.client.models.v1_flow_schema_spec import V1FlowSchemaSpec from kubernetes.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes.client.models.v1_for_node import V1ForNode from kubernetes.client.models.v1_for_zone import V1ForZone from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from kubernetes.client.models.v1_grpc_action import V1GRPCAction from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource +from kubernetes.client.models.v1_group_resource import V1GroupResource from kubernetes.client.models.v1_group_subject import V1GroupSubject from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction @@ -188,6 +224,9 @@ from kubernetes.client.models.v1_host_alias import V1HostAlias from kubernetes.client.models.v1_host_ip import V1HostIP from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes.client.models.v1_ip_address import V1IPAddress +from kubernetes.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes.client.models.v1_ip_address_spec import V1IPAddressSpec from kubernetes.client.models.v1_ip_block import V1IPBlock from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource @@ -250,6 +289,7 @@ from kubernetes.client.models.v1_namespace_list import V1NamespaceList from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus +from kubernetes.client.models.v1_network_device_data import V1NetworkDeviceData from kubernetes.client.models.v1_network_policy import V1NetworkPolicy from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule @@ -273,6 +313,7 @@ from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm from kubernetes.client.models.v1_node_spec import V1NodeSpec from kubernetes.client.models.v1_node_status import V1NodeStatus +from kubernetes.client.models.v1_node_swap_status import V1NodeSwapStatus from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes from kubernetes.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule @@ -280,10 +321,12 @@ from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector from kubernetes.client.models.v1_object_meta import V1ObjectMeta from kubernetes.client.models.v1_object_reference import V1ObjectReference +from kubernetes.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration from kubernetes.client.models.v1_overhead import V1Overhead from kubernetes.client.models.v1_owner_reference import V1OwnerReference from kubernetes.client.models.v1_param_kind import V1ParamKind from kubernetes.client.models.v1_param_ref import V1ParamRef +from kubernetes.client.models.v1_parent_reference import V1ParentReference from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition @@ -300,6 +343,7 @@ from kubernetes.client.models.v1_pod_affinity import V1PodAffinity from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity +from kubernetes.client.models.v1_pod_certificate_projection import V1PodCertificateProjection from kubernetes.client.models.v1_pod_condition import V1PodCondition from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption @@ -307,6 +351,7 @@ from kubernetes.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList from kubernetes.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec from kubernetes.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus +from kubernetes.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus from kubernetes.client.models.v1_pod_failure_policy import V1PodFailurePolicy from kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement from kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern @@ -355,16 +400,26 @@ from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes -from kubernetes.client.models.v1_resource_claim import V1ResourceClaim +from kubernetes.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference +from kubernetes.client.models.v1_resource_claim_list import V1ResourceClaimList +from kubernetes.client.models.v1_resource_claim_spec import V1ResourceClaimSpec +from kubernetes.client.models.v1_resource_claim_status import V1ResourceClaimStatus +from kubernetes.client.models.v1_resource_claim_template import V1ResourceClaimTemplate +from kubernetes.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList +from kubernetes.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector from kubernetes.client.models.v1_resource_health import V1ResourceHealth from kubernetes.client.models.v1_resource_policy_rule import V1ResourcePolicyRule +from kubernetes.client.models.v1_resource_pool import V1ResourcePool from kubernetes.client.models.v1_resource_quota import V1ResourceQuota from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements from kubernetes.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.client.models.v1_resource_slice import V1ResourceSlice +from kubernetes.client.models.v1_resource_slice_list import V1ResourceSliceList +from kubernetes.client.models.v1_resource_slice_spec import V1ResourceSliceSpec from kubernetes.client.models.v1_resource_status import V1ResourceStatus from kubernetes.client.models.v1_role import V1Role from kubernetes.client.models.v1_role_binding import V1RoleBinding @@ -409,6 +464,10 @@ from kubernetes.client.models.v1_service_account_subject import V1ServiceAccountSubject from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection from kubernetes.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes.client.models.v1_service_cidr_status import V1ServiceCIDRStatus from kubernetes.client.models.v1_service_list import V1ServiceList from kubernetes.client.models.v1_service_port import V1ServicePort from kubernetes.client.models.v1_service_spec import V1ServiceSpec @@ -473,6 +532,8 @@ from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus +from kubernetes.client.models.v1_volume_attributes_class import V1VolumeAttributesClass +from kubernetes.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList from kubernetes.client.models.v1_volume_device import V1VolumeDevice from kubernetes.client.models.v1_volume_error import V1VolumeError from kubernetes.client.models.v1_volume_mount import V1VolumeMount @@ -486,15 +547,15 @@ from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions +from kubernetes.client.models.v1_workload_reference import V1WorkloadReference from kubernetes.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration from kubernetes.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle from kubernetes.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList from kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec -from kubernetes.client.models.v1alpha1_group_version_resource import V1alpha1GroupVersionResource +from kubernetes.client.models.v1alpha1_gang_scheduling_policy import V1alpha1GangSchedulingPolicy from kubernetes.client.models.v1alpha1_json_patch import V1alpha1JSONPatch from kubernetes.client.models.v1alpha1_match_condition import V1alpha1MatchCondition from kubernetes.client.models.v1alpha1_match_resources import V1alpha1MatchResources -from kubernetes.client.models.v1alpha1_migration_condition import V1alpha1MigrationCondition from kubernetes.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList @@ -505,58 +566,40 @@ from kubernetes.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations from kubernetes.client.models.v1alpha1_param_kind import V1alpha1ParamKind from kubernetes.client.models.v1alpha1_param_ref import V1alpha1ParamRef +from kubernetes.client.models.v1alpha1_pod_group import V1alpha1PodGroup +from kubernetes.client.models.v1alpha1_pod_group_policy import V1alpha1PodGroupPolicy from kubernetes.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVersion from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList -from kubernetes.client.models.v1alpha1_storage_version_migration import V1alpha1StorageVersionMigration -from kubernetes.client.models.v1alpha1_storage_version_migration_list import V1alpha1StorageVersionMigrationList -from kubernetes.client.models.v1alpha1_storage_version_migration_spec import V1alpha1StorageVersionMigrationSpec -from kubernetes.client.models.v1alpha1_storage_version_migration_status import V1alpha1StorageVersionMigrationStatus from kubernetes.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus +from kubernetes.client.models.v1alpha1_typed_local_object_reference import V1alpha1TypedLocalObjectReference from kubernetes.client.models.v1alpha1_variable import V1alpha1Variable -from kubernetes.client.models.v1alpha1_volume_attributes_class import V1alpha1VolumeAttributesClass -from kubernetes.client.models.v1alpha1_volume_attributes_class_list import V1alpha1VolumeAttributesClassList +from kubernetes.client.models.v1alpha1_workload import V1alpha1Workload +from kubernetes.client.models.v1alpha1_workload_list import V1alpha1WorkloadList +from kubernetes.client.models.v1alpha1_workload_spec import V1alpha1WorkloadSpec from kubernetes.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate from kubernetes.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList from kubernetes.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec -from kubernetes.client.models.v1alpha3_allocated_device_status import V1alpha3AllocatedDeviceStatus -from kubernetes.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult -from kubernetes.client.models.v1alpha3_basic_device import V1alpha3BasicDevice -from kubernetes.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector -from kubernetes.client.models.v1alpha3_device import V1alpha3Device -from kubernetes.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration -from kubernetes.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult -from kubernetes.client.models.v1alpha3_device_attribute import V1alpha3DeviceAttribute -from kubernetes.client.models.v1alpha3_device_claim import V1alpha3DeviceClaim -from kubernetes.client.models.v1alpha3_device_claim_configuration import V1alpha3DeviceClaimConfiguration -from kubernetes.client.models.v1alpha3_device_class import V1alpha3DeviceClass -from kubernetes.client.models.v1alpha3_device_class_configuration import V1alpha3DeviceClassConfiguration -from kubernetes.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList -from kubernetes.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec -from kubernetes.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint -from kubernetes.client.models.v1alpha3_device_request import V1alpha3DeviceRequest -from kubernetes.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult -from kubernetes.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector -from kubernetes.client.models.v1alpha3_network_device_data import V1alpha3NetworkDeviceData -from kubernetes.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration -from kubernetes.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim -from kubernetes.client.models.v1alpha3_resource_claim_consumer_reference import V1alpha3ResourceClaimConsumerReference -from kubernetes.client.models.v1alpha3_resource_claim_list import V1alpha3ResourceClaimList -from kubernetes.client.models.v1alpha3_resource_claim_spec import V1alpha3ResourceClaimSpec -from kubernetes.client.models.v1alpha3_resource_claim_status import V1alpha3ResourceClaimStatus -from kubernetes.client.models.v1alpha3_resource_claim_template import V1alpha3ResourceClaimTemplate -from kubernetes.client.models.v1alpha3_resource_claim_template_list import V1alpha3ResourceClaimTemplateList -from kubernetes.client.models.v1alpha3_resource_claim_template_spec import V1alpha3ResourceClaimTemplateSpec -from kubernetes.client.models.v1alpha3_resource_pool import V1alpha3ResourcePool -from kubernetes.client.models.v1alpha3_resource_slice import V1alpha3ResourceSlice -from kubernetes.client.models.v1alpha3_resource_slice_list import V1alpha3ResourceSliceList -from kubernetes.client.models.v1alpha3_resource_slice_spec import V1alpha3ResourceSliceSpec +from kubernetes.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus +from kubernetes.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector from kubernetes.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus from kubernetes.client.models.v1beta1_allocation_result import V1beta1AllocationResult -from kubernetes.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation +from kubernetes.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration from kubernetes.client.models.v1beta1_basic_device import V1beta1BasicDevice from kubernetes.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy +from kubernetes.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange +from kubernetes.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements +from kubernetes.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes.client.models.v1beta1_counter import V1beta1Counter +from kubernetes.client.models.v1beta1_counter_set import V1beta1CounterSet from kubernetes.client.models.v1beta1_device import V1beta1Device from kubernetes.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration from kubernetes.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult @@ -569,21 +612,39 @@ from kubernetes.client.models.v1beta1_device_class_list import V1beta1DeviceClassList from kubernetes.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec from kubernetes.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption from kubernetes.client.models.v1beta1_device_request import V1beta1DeviceRequest from kubernetes.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult from kubernetes.client.models.v1beta1_device_selector import V1beta1DeviceSelector -from kubernetes.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning +from kubernetes.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes.client.models.v1beta1_device_toleration import V1beta1DeviceToleration from kubernetes.client.models.v1beta1_ip_address import V1beta1IPAddress from kubernetes.client.models.v1beta1_ip_address_list import V1beta1IPAddressList from kubernetes.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes.client.models.v1beta1_json_patch import V1beta1JSONPatch +from kubernetes.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec from kubernetes.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes.client.models.v1beta1_match_resources import V1beta1MatchResources +from kubernetes.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec +from kubernetes.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList +from kubernetes.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec +from kubernetes.client.models.v1beta1_mutation import V1beta1Mutation from kubernetes.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations from kubernetes.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData from kubernetes.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration from kubernetes.client.models.v1beta1_param_kind import V1beta1ParamKind from kubernetes.client.models.v1beta1_param_ref import V1beta1ParamRef from kubernetes.client.models.v1beta1_parent_reference import V1beta1ParentReference +from kubernetes.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest +from kubernetes.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList +from kubernetes.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec +from kubernetes.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus from kubernetes.client.models.v1beta1_resource_claim import V1beta1ResourceClaim from kubernetes.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference from kubernetes.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList @@ -596,24 +657,59 @@ from kubernetes.client.models.v1beta1_resource_slice import V1beta1ResourceSlice from kubernetes.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList from kubernetes.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview -from kubernetes.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus from kubernetes.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR from kubernetes.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList from kubernetes.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec from kubernetes.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus -from kubernetes.client.models.v1beta1_type_checking import V1beta1TypeChecking -from kubernetes.client.models.v1beta1_validating_admission_policy import V1beta1ValidatingAdmissionPolicy -from kubernetes.client.models.v1beta1_validating_admission_policy_binding import V1beta1ValidatingAdmissionPolicyBinding -from kubernetes.client.models.v1beta1_validating_admission_policy_binding_list import V1beta1ValidatingAdmissionPolicyBindingList -from kubernetes.client.models.v1beta1_validating_admission_policy_binding_spec import V1beta1ValidatingAdmissionPolicyBindingSpec -from kubernetes.client.models.v1beta1_validating_admission_policy_list import V1beta1ValidatingAdmissionPolicyList -from kubernetes.client.models.v1beta1_validating_admission_policy_spec import V1beta1ValidatingAdmissionPolicySpec -from kubernetes.client.models.v1beta1_validating_admission_policy_status import V1beta1ValidatingAdmissionPolicyStatus -from kubernetes.client.models.v1beta1_validation import V1beta1Validation +from kubernetes.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration +from kubernetes.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList +from kubernetes.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec +from kubernetes.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus from kubernetes.client.models.v1beta1_variable import V1beta1Variable from kubernetes.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass from kubernetes.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy +from kubernetes.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange +from kubernetes.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements +from kubernetes.client.models.v1beta2_counter import V1beta2Counter +from kubernetes.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes.client.models.v1beta2_device import V1beta2Device +from kubernetes.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec from kubernetes.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource from kubernetes.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus from kubernetes.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference diff --git a/kubernetes/client/models/admissionregistration_v1_service_reference.py b/kubernetes/client/models/admissionregistration_v1_service_reference.py index 7aada42b21..9334721713 100644 --- a/kubernetes/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py index 8d2cd9abe7..095dc872fe 100644 --- a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_service_reference.py b/kubernetes/client/models/apiextensions_v1_service_reference.py index e2d4381103..ae853b923a 100644 --- a/kubernetes/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes/client/models/apiextensions_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py index 4caa1b3857..2cc41eeef1 100644 --- a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiregistration_v1_service_reference.py b/kubernetes/client/models/apiregistration_v1_service_reference.py index df7ff4ec78..a287761a96 100644 --- a/kubernetes/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/authentication_v1_token_request.py b/kubernetes/client/models/authentication_v1_token_request.py index 2291d70c33..09ac752905 100644 --- a/kubernetes/client/models/authentication_v1_token_request.py +++ b/kubernetes/client/models/authentication_v1_token_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_endpoint_port.py b/kubernetes/client/models/core_v1_endpoint_port.py index 22100f6e91..2923de1604 100644 --- a/kubernetes/client/models/core_v1_endpoint_port.py +++ b/kubernetes/client/models/core_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event.py b/kubernetes/client/models/core_v1_event.py index 0bd8c0292d..3630156f85 100644 --- a/kubernetes/client/models/core_v1_event.py +++ b/kubernetes/client/models/core_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event_list.py b/kubernetes/client/models/core_v1_event_list.py index 99dd1b70d1..dcbb1452f6 100644 --- a/kubernetes/client/models/core_v1_event_list.py +++ b/kubernetes/client/models/core_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event_series.py b/kubernetes/client/models/core_v1_event_series.py index 8b6bb71f95..9a82c59357 100644 --- a/kubernetes/client/models/core_v1_event_series.py +++ b/kubernetes/client/models/core_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_claim.py b/kubernetes/client/models/core_v1_resource_claim.py similarity index 83% rename from kubernetes/client/models/v1_resource_claim.py rename to kubernetes/client/models/core_v1_resource_claim.py index 0240af162d..45cf94b016 100644 --- a/kubernetes/client/models/v1_resource_claim.py +++ b/kubernetes/client/models/core_v1_resource_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1ResourceClaim(object): +class CoreV1ResourceClaim(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -43,7 +43,7 @@ class V1ResourceClaim(object): } def __init__(self, name=None, request=None, local_vars_configuration=None): # noqa: E501 - """V1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 + """CoreV1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -58,22 +58,22 @@ def __init__(self, name=None, request=None, local_vars_configuration=None): # n @property def name(self): - """Gets the name of this V1ResourceClaim. # noqa: E501 + """Gets the name of this CoreV1ResourceClaim. # noqa: E501 Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. # noqa: E501 - :return: The name of this V1ResourceClaim. # noqa: E501 + :return: The name of this CoreV1ResourceClaim. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1ResourceClaim. + """Sets the name of this CoreV1ResourceClaim. Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. # noqa: E501 - :param name: The name of this V1ResourceClaim. # noqa: E501 + :param name: The name of this CoreV1ResourceClaim. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -83,22 +83,22 @@ def name(self, name): @property def request(self): - """Gets the request of this V1ResourceClaim. # noqa: E501 + """Gets the request of this CoreV1ResourceClaim. # noqa: E501 Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 - :return: The request of this V1ResourceClaim. # noqa: E501 + :return: The request of this CoreV1ResourceClaim. # noqa: E501 :rtype: str """ return self._request @request.setter def request(self, request): - """Sets the request of this V1ResourceClaim. + """Sets the request of this CoreV1ResourceClaim. Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 - :param request: The request of this V1ResourceClaim. # noqa: E501 + :param request: The request of this CoreV1ResourceClaim. # noqa: E501 :type: str """ @@ -138,14 +138,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1ResourceClaim): + if not isinstance(other, CoreV1ResourceClaim): 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, V1ResourceClaim): + if not isinstance(other, CoreV1ResourceClaim): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/discovery_v1_endpoint_port.py b/kubernetes/client/models/discovery_v1_endpoint_port.py index 7cf1a420ec..26b63c74b5 100644 --- a/kubernetes/client/models/discovery_v1_endpoint_port.py +++ b/kubernetes/client/models/discovery_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -117,7 +117,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 @@ -128,7 +128,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: int diff --git a/kubernetes/client/models/events_v1_event.py b/kubernetes/client/models/events_v1_event.py index 3810b81bfc..3eb3334ce2 100644 --- a/kubernetes/client/models/events_v1_event.py +++ b/kubernetes/client/models/events_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/events_v1_event_list.py b/kubernetes/client/models/events_v1_event_list.py index 8f5041cf6b..d345988934 100644 --- a/kubernetes/client/models/events_v1_event_list.py +++ b/kubernetes/client/models/events_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/events_v1_event_series.py b/kubernetes/client/models/events_v1_event_series.py index 86ef4c0ea7..18d9ca5e0f 100644 --- a/kubernetes/client/models/events_v1_event_series.py +++ b/kubernetes/client/models/events_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/flowcontrol_v1_subject.py b/kubernetes/client/models/flowcontrol_v1_subject.py index 1b003c0238..85a78db058 100644 --- a/kubernetes/client/models/flowcontrol_v1_subject.py +++ b/kubernetes/client/models/flowcontrol_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/rbac_v1_subject.py b/kubernetes/client/models/rbac_v1_subject.py index fe6e285925..826d55ec52 100644 --- a/kubernetes/client/models/rbac_v1_subject.py +++ b/kubernetes/client/models/rbac_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy.py b/kubernetes/client/models/resource_v1_resource_claim.py similarity index 69% rename from kubernetes/client/models/v1beta1_validating_admission_policy.py rename to kubernetes/client/models/resource_v1_resource_claim.py index 139071daba..5332d2ae49 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy.py +++ b/kubernetes/client/models/resource_v1_resource_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1beta1ValidatingAdmissionPolicy(object): +class ResourceV1ResourceClaim(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,8 +36,8 @@ class V1beta1ValidatingAdmissionPolicy(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1beta1ValidatingAdmissionPolicySpec', - 'status': 'V1beta1ValidatingAdmissionPolicyStatus' + 'spec': 'V1ResourceClaimSpec', + 'status': 'V1ResourceClaimStatus' } attribute_map = { @@ -49,7 +49,7 @@ class V1beta1ValidatingAdmissionPolicy(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 - """V1beta1ValidatingAdmissionPolicy - a model defined in OpenAPI""" # noqa: E501 + """ResourceV1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -67,29 +67,28 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self.kind = kind if metadata is not None: self.metadata = metadata - if spec is not None: - self.spec = spec + self.spec = spec if status is not None: self.status = status @property def api_version(self): - """Gets the api_version of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + """Gets the api_version of this ResourceV1ResourceClaim. # 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 V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :return: The api_version of this ResourceV1ResourceClaim. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1beta1ValidatingAdmissionPolicy. + """Sets the api_version of this ResourceV1ResourceClaim. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :param api_version: The api_version of this ResourceV1ResourceClaim. # noqa: E501 :type: str """ @@ -97,22 +96,22 @@ def api_version(self, api_version): @property def kind(self): - """Gets the kind of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + """Gets the kind of this ResourceV1ResourceClaim. # 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 V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :return: The kind of this ResourceV1ResourceClaim. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1beta1ValidatingAdmissionPolicy. + """Sets the kind of this ResourceV1ResourceClaim. 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 V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :param kind: The kind of this ResourceV1ResourceClaim. # noqa: E501 :type: str """ @@ -120,20 +119,20 @@ def kind(self, kind): @property def metadata(self): - """Gets the metadata of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + """Gets the metadata of this ResourceV1ResourceClaim. # noqa: E501 - :return: The metadata of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :return: The metadata of this ResourceV1ResourceClaim. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1beta1ValidatingAdmissionPolicy. + """Sets the metadata of this ResourceV1ResourceClaim. - :param metadata: The metadata of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + :param metadata: The metadata of this ResourceV1ResourceClaim. # noqa: E501 :type: V1ObjectMeta """ @@ -141,42 +140,44 @@ def metadata(self, metadata): @property def spec(self): - """Gets the spec of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + """Gets the spec of this ResourceV1ResourceClaim. # noqa: E501 - :return: The spec of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 - :rtype: V1beta1ValidatingAdmissionPolicySpec + :return: The spec of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: V1ResourceClaimSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1beta1ValidatingAdmissionPolicy. + """Sets the spec of this ResourceV1ResourceClaim. - :param spec: The spec of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 - :type: V1beta1ValidatingAdmissionPolicySpec + :param spec: The spec of this ResourceV1ResourceClaim. # noqa: E501 + :type: V1ResourceClaimSpec """ + 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 @property def status(self): - """Gets the status of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 + """Gets the status of this ResourceV1ResourceClaim. # noqa: E501 - :return: The status of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 - :rtype: V1beta1ValidatingAdmissionPolicyStatus + :return: The status of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: V1ResourceClaimStatus """ return self._status @status.setter def status(self, status): - """Sets the status of this V1beta1ValidatingAdmissionPolicy. + """Sets the status of this ResourceV1ResourceClaim. - :param status: The status of this V1beta1ValidatingAdmissionPolicy. # noqa: E501 - :type: V1beta1ValidatingAdmissionPolicyStatus + :param status: The status of this ResourceV1ResourceClaim. # noqa: E501 + :type: V1ResourceClaimStatus """ self._status = status @@ -215,14 +216,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1beta1ValidatingAdmissionPolicy): + if not isinstance(other, ResourceV1ResourceClaim): 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, V1beta1ValidatingAdmissionPolicy): + if not isinstance(other, ResourceV1ResourceClaim): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/storage_v1_token_request.py b/kubernetes/client/models/storage_v1_token_request.py index 25b3e88779..1b97bfdd39 100644 --- a/kubernetes/client/models/storage_v1_token_request.py +++ b/kubernetes/client/models/storage_v1_token_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index a2bb84b366..a2f2d436be 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index cec72ff204..8e48424439 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha3_allocated_device_status.py b/kubernetes/client/models/v1_allocated_device_status.py similarity index 67% rename from kubernetes/client/models/v1alpha3_allocated_device_status.py rename to kubernetes/client/models/v1_allocated_device_status.py index b798b8d32e..704bd381ff 100644 --- a/kubernetes/client/models/v1alpha3_allocated_device_status.py +++ b/kubernetes/client/models/v1_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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3AllocatedDeviceStatus(object): +class V1AllocatedDeviceStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -37,8 +37,9 @@ class V1alpha3AllocatedDeviceStatus(object): 'data': 'object', 'device': 'str', 'driver': 'str', - 'network_data': 'V1alpha3NetworkDeviceData', - 'pool': 'str' + 'network_data': 'V1NetworkDeviceData', + 'pool': 'str', + 'share_id': 'str' } attribute_map = { @@ -47,11 +48,12 @@ class V1alpha3AllocatedDeviceStatus(object): 'device': 'device', 'driver': 'driver', 'network_data': 'networkData', - 'pool': 'pool' + 'pool': 'pool', + 'share_id': 'shareID' } - def __init__(self, conditions=None, data=None, device=None, driver=None, network_data=None, pool=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3AllocatedDeviceStatus - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, conditions=None, data=None, device=None, driver=None, network_data=None, pool=None, share_id=None, local_vars_configuration=None): # noqa: E501 + """V1AllocatedDeviceStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -62,6 +64,7 @@ def __init__(self, conditions=None, data=None, device=None, driver=None, network self._driver = None self._network_data = None self._pool = None + self._share_id = None self.discriminator = None if conditions is not None: @@ -73,25 +76,27 @@ def __init__(self, conditions=None, data=None, device=None, driver=None, network if network_data is not None: self.network_data = network_data self.pool = pool + if share_id is not None: + self.share_id = share_id @property def conditions(self): - """Gets the conditions of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the conditions of this V1AllocatedDeviceStatus. # 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 + :return: The conditions of this V1AllocatedDeviceStatus. # noqa: E501 :rtype: list[V1Condition] """ return self._conditions @conditions.setter def conditions(self, conditions): - """Sets the conditions of this V1alpha3AllocatedDeviceStatus. + """Sets the conditions of this V1AllocatedDeviceStatus. - 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 + :param conditions: The conditions of this V1AllocatedDeviceStatus. # noqa: E501 :type: list[V1Condition] """ @@ -99,22 +104,22 @@ def conditions(self, conditions): @property def data(self): - """Gets the data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the data of this V1AllocatedDeviceStatus. # noqa: E501 Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. # noqa: E501 - :return: The data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :return: The data of this V1AllocatedDeviceStatus. # noqa: E501 :rtype: object """ return self._data @data.setter def data(self, data): - """Sets the data of this V1alpha3AllocatedDeviceStatus. + """Sets the data of this V1AllocatedDeviceStatus. Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. # noqa: E501 - :param data: The data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :param data: The data of this V1AllocatedDeviceStatus. # noqa: E501 :type: object """ @@ -122,22 +127,22 @@ def data(self, data): @property def device(self): - """Gets the device of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the device of this V1AllocatedDeviceStatus. # noqa: E501 Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 - :return: The device of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :return: The device of this V1AllocatedDeviceStatus. # noqa: E501 :rtype: str """ return self._device @device.setter def device(self, device): - """Sets the device of this V1alpha3AllocatedDeviceStatus. + """Sets the device of this V1AllocatedDeviceStatus. Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 - :param device: The device of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :param device: The device of this V1AllocatedDeviceStatus. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and device is None: # noqa: E501 @@ -147,22 +152,22 @@ def device(self, device): @property def driver(self): - """Gets the driver of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the driver of this V1AllocatedDeviceStatus. # noqa: E501 - Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 - :return: The driver of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :return: The driver of this V1AllocatedDeviceStatus. # noqa: E501 :rtype: str """ return self._driver @driver.setter def driver(self, driver): - """Sets the driver of this V1alpha3AllocatedDeviceStatus. + """Sets the driver of this V1AllocatedDeviceStatus. - Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 - :param driver: The driver of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :param driver: The driver of this V1AllocatedDeviceStatus. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 @@ -172,43 +177,43 @@ def driver(self, driver): @property def network_data(self): - """Gets the network_data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the network_data of this V1AllocatedDeviceStatus. # noqa: E501 - :return: The network_data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 - :rtype: V1alpha3NetworkDeviceData + :return: The network_data of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: V1NetworkDeviceData """ return self._network_data @network_data.setter def network_data(self, network_data): - """Sets the network_data of this V1alpha3AllocatedDeviceStatus. + """Sets the network_data of this V1AllocatedDeviceStatus. - :param network_data: The network_data of this V1alpha3AllocatedDeviceStatus. # noqa: E501 - :type: V1alpha3NetworkDeviceData + :param network_data: The network_data of this V1AllocatedDeviceStatus. # noqa: E501 + :type: V1NetworkDeviceData """ self._network_data = network_data @property def pool(self): - """Gets the pool of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + """Gets the pool of this V1AllocatedDeviceStatus. # noqa: E501 This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 - :return: The pool of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :return: The pool of this V1AllocatedDeviceStatus. # noqa: E501 :rtype: str """ return self._pool @pool.setter def pool(self, pool): - """Sets the pool of this V1alpha3AllocatedDeviceStatus. + """Sets the pool of this V1AllocatedDeviceStatus. This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 - :param pool: The pool of this V1alpha3AllocatedDeviceStatus. # noqa: E501 + :param pool: The pool of this V1AllocatedDeviceStatus. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 @@ -216,6 +221,29 @@ def pool(self, pool): self._pool = pool + @property + def share_id(self): + """Gets the share_id of this V1AllocatedDeviceStatus. # noqa: E501 + + ShareID uniquely identifies an individual allocation share of the device. # noqa: E501 + + :return: The share_id of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: str + """ + return self._share_id + + @share_id.setter + def share_id(self, share_id): + """Sets the share_id of this V1AllocatedDeviceStatus. + + ShareID uniquely identifies an individual allocation share of the device. # noqa: E501 + + :param share_id: The share_id of this V1AllocatedDeviceStatus. # noqa: E501 + :type: str + """ + + self._share_id = share_id + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -250,14 +278,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3AllocatedDeviceStatus): + if not isinstance(other, V1AllocatedDeviceStatus): 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, V1alpha3AllocatedDeviceStatus): + if not isinstance(other, V1AllocatedDeviceStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_allocation_result.py b/kubernetes/client/models/v1_allocation_result.py new file mode 100644 index 0000000000..a7bb3b5cb0 --- /dev/null +++ b/kubernetes/client/models/v1_allocation_result.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AllocationResult(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_timestamp': 'datetime', + 'devices': 'V1DeviceAllocationResult', + 'node_selector': 'V1NodeSelector' + } + + attribute_map = { + 'allocation_timestamp': 'allocationTimestamp', + 'devices': 'devices', + 'node_selector': 'nodeSelector' + } + + def __init__(self, allocation_timestamp=None, devices=None, node_selector=None, local_vars_configuration=None): # noqa: E501 + """V1AllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocation_timestamp = None + self._devices = None + self._node_selector = None + self.discriminator = None + + if allocation_timestamp is not None: + self.allocation_timestamp = allocation_timestamp + if devices is not None: + self.devices = devices + if node_selector is not None: + self.node_selector = node_selector + + @property + def allocation_timestamp(self): + """Gets the allocation_timestamp of this V1AllocationResult. # noqa: E501 + + AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. # noqa: E501 + + :return: The allocation_timestamp of this V1AllocationResult. # noqa: E501 + :rtype: datetime + """ + return self._allocation_timestamp + + @allocation_timestamp.setter + def allocation_timestamp(self, allocation_timestamp): + """Sets the allocation_timestamp of this V1AllocationResult. + + AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. # noqa: E501 + + :param allocation_timestamp: The allocation_timestamp of this V1AllocationResult. # noqa: E501 + :type: datetime + """ + + self._allocation_timestamp = allocation_timestamp + + @property + def devices(self): + """Gets the devices of this V1AllocationResult. # noqa: E501 + + + :return: The devices of this V1AllocationResult. # noqa: E501 + :rtype: V1DeviceAllocationResult + """ + return self._devices + + @devices.setter + def devices(self, devices): + """Sets the devices of this V1AllocationResult. + + + :param devices: The devices of this V1AllocationResult. # noqa: E501 + :type: V1DeviceAllocationResult + """ + + self._devices = devices + + @property + def node_selector(self): + """Gets the node_selector of this V1AllocationResult. # noqa: E501 + + + :return: The node_selector of this V1AllocationResult. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1AllocationResult. + + + :param node_selector: The node_selector of this V1AllocationResult. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1AllocationResult): + 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, V1AllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index f8c836b7db..bc62071168 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index 799d4eb47e..e6af00115f 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index e1343d26da..61a32b2853 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index 265d97150e..650151ba3f 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index 402ecaa86f..229ec6f2b1 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index 908966f5ca..7544bb32eb 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index 5b167e8210..9b69bf0da8 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index 38ef27f454..ccd211bf50 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index 99472e054c..e7de8d0c85 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index 6274486ec9..cd6ae38c03 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_app_armor_profile.py b/kubernetes/client/models/v1_app_armor_profile.py index 557da358ab..abb8ae4254 100644 --- a/kubernetes/client/models/v1_app_armor_profile.py +++ b/kubernetes/client/models/v1_app_armor_profile.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index fe8fcf864b..07bf404c35 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_audit_annotation.py b/kubernetes/client/models/v1_audit_annotation.py index f4a4db6ab4..d838453a10 100644 --- a/kubernetes/client/models/v1_audit_annotation.py +++ b/kubernetes/client/models/v1_audit_annotation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index bc8520f72b..fb19876f3b 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index d063df4742..43e0d662d8 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index 1052c172d4..1cdab2fa04 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index db7eb875b9..97ec328fdc 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 911c9c2986..adbe3581e7 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_bound_object_reference.py b/kubernetes/client/models/v1_bound_object_reference.py index c82617bf66..0ac221bbd4 100644 --- a/kubernetes/client/models/v1_bound_object_reference.py +++ b/kubernetes/client/models/v1_bound_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index 3420c0e648..5a68c59db9 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_capacity_request_policy.py b/kubernetes/client/models/v1_capacity_request_policy.py new file mode 100644 index 0000000000..32d90ea9b4 --- /dev/null +++ b/kubernetes/client/models/v1_capacity_request_policy.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequestPolicy(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 = { + 'default': 'str', + 'valid_range': 'V1CapacityRequestPolicyRange', + 'valid_values': 'list[str]' + } + + attribute_map = { + 'default': 'default', + 'valid_range': 'validRange', + 'valid_values': 'validValues' + } + + def __init__(self, default=None, valid_range=None, valid_values=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequestPolicy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._default = None + self._valid_range = None + self._valid_values = None + self.discriminator = None + + if default is not None: + self.default = default + if valid_range is not None: + self.valid_range = valid_range + if valid_values is not None: + self.valid_values = valid_values + + @property + def default(self): + """Gets the default of this V1CapacityRequestPolicy. # noqa: E501 + + Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity. # noqa: E501 + + :return: The default of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: str + """ + return self._default + + @default.setter + def default(self, default): + """Sets the default of this V1CapacityRequestPolicy. + + Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity. # noqa: E501 + + :param default: The default of this V1CapacityRequestPolicy. # noqa: E501 + :type: str + """ + + self._default = default + + @property + def valid_range(self): + """Gets the valid_range of this V1CapacityRequestPolicy. # noqa: E501 + + + :return: The valid_range of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: V1CapacityRequestPolicyRange + """ + return self._valid_range + + @valid_range.setter + def valid_range(self, valid_range): + """Sets the valid_range of this V1CapacityRequestPolicy. + + + :param valid_range: The valid_range of this V1CapacityRequestPolicy. # noqa: E501 + :type: V1CapacityRequestPolicyRange + """ + + self._valid_range = valid_range + + @property + def valid_values(self): + """Gets the valid_values of this V1CapacityRequestPolicy. # noqa: E501 + + ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. # noqa: E501 + + :return: The valid_values of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: list[str] + """ + return self._valid_values + + @valid_values.setter + def valid_values(self, valid_values): + """Sets the valid_values of this V1CapacityRequestPolicy. + + ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. # noqa: E501 + + :param valid_values: The valid_values of this V1CapacityRequestPolicy. # noqa: E501 + :type: list[str] + """ + + self._valid_values = valid_values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CapacityRequestPolicy): + 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, V1CapacityRequestPolicy): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_capacity_request_policy_range.py b/kubernetes/client/models/v1_capacity_request_policy_range.py new file mode 100644 index 0000000000..cd6f2c7b86 --- /dev/null +++ b/kubernetes/client/models/v1_capacity_request_policy_range.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequestPolicyRange(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 = { + 'max': 'str', + 'min': 'str', + 'step': 'str' + } + + attribute_map = { + 'max': 'max', + 'min': 'min', + 'step': 'step' + } + + def __init__(self, max=None, min=None, step=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequestPolicyRange - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._max = None + self._min = None + self._step = None + self.discriminator = None + + if max is not None: + self.max = max + self.min = min + if step is not None: + self.step = step + + @property + def max(self): + """Gets the max of this V1CapacityRequestPolicyRange. # noqa: E501 + + Max defines the upper limit for capacity that can be requested. Max must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum. # noqa: E501 + + :return: The max of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this V1CapacityRequestPolicyRange. + + Max defines the upper limit for capacity that can be requested. Max must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum. # noqa: E501 + + :param max: The max of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + + self._max = max + + @property + def min(self): + """Gets the min of this V1CapacityRequestPolicyRange. # noqa: E501 + + Min specifies the minimum capacity allowed for a consumption request. Min must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum. # noqa: E501 + + :return: The min of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._min + + @min.setter + def min(self, min): + """Sets the min of this V1CapacityRequestPolicyRange. + + Min specifies the minimum capacity allowed for a consumption request. Min must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum. # noqa: E501 + + :param min: The min of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and min is None: # noqa: E501 + raise ValueError("Invalid value for `min`, must not be `None`") # noqa: E501 + + self._min = min + + @property + def step(self): + """Gets the step of this V1CapacityRequestPolicyRange. # noqa: E501 + + Step defines the step size between valid capacity amounts within the range. Max (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value. # noqa: E501 + + :return: The step of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._step + + @step.setter + def step(self, step): + """Sets the step of this V1CapacityRequestPolicyRange. + + Step defines the step size between valid capacity amounts within the range. Max (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value. # noqa: E501 + + :param step: The step of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + + self._step = step + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CapacityRequestPolicyRange): + 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, V1CapacityRequestPolicyRange): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_capacity_requirements.py b/kubernetes/client/models/v1_capacity_requirements.py new file mode 100644 index 0000000000..290d315f01 --- /dev/null +++ b/kubernetes/client/models/v1_capacity_requirements.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequirements(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 = { + 'requests': 'dict(str, str)' + } + + attribute_map = { + 'requests': 'requests' + } + + def __init__(self, requests=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequirements - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._requests = None + self.discriminator = None + + if requests is not None: + self.requests = requests + + @property + def requests(self): + """Gets the requests of this V1CapacityRequirements. # noqa: E501 + + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim’s status.devices[*].consumedCapacity field. # noqa: E501 + + :return: The requests of this V1CapacityRequirements. # noqa: E501 + :rtype: dict(str, str) + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1CapacityRequirements. + + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim’s status.devices[*].consumedCapacity field. # noqa: E501 + + :param requests: The requests of this V1CapacityRequirements. # noqa: E501 + :type: dict(str, str) + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CapacityRequirements): + 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, V1CapacityRequirements): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_cel_device_selector.py b/kubernetes/client/models/v1_cel_device_selector.py similarity index 51% rename from kubernetes/client/models/v1alpha3_cel_device_selector.py rename to kubernetes/client/models/v1_cel_device_selector.py index 68b857cfbc..f050e27e2a 100644 --- a/kubernetes/client/models/v1alpha3_cel_device_selector.py +++ b/kubernetes/client/models/v1_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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3CELDeviceSelector(object): +class V1CELDeviceSelector(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -41,7 +41,7 @@ class V1alpha3CELDeviceSelector(object): } def __init__(self, expression=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3CELDeviceSelector - a model defined in OpenAPI""" # noqa: E501 + """V1CELDeviceSelector - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -53,22 +53,22 @@ def __init__(self, expression=None, local_vars_configuration=None): # noqa: E50 @property def expression(self): - """Gets the expression of this V1alpha3CELDeviceSelector. # noqa: E501 + """Gets the expression of this V1CELDeviceSelector. # noqa: E501 - Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 - :return: The expression of this V1alpha3CELDeviceSelector. # noqa: E501 + :return: The expression of this V1CELDeviceSelector. # noqa: E501 :rtype: str """ return self._expression @expression.setter def expression(self, expression): - """Sets the expression of this V1alpha3CELDeviceSelector. + """Sets the expression of this V1CELDeviceSelector. - Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 - :param expression: The expression of this V1alpha3CELDeviceSelector. # noqa: E501 + :param expression: The expression of this V1CELDeviceSelector. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and expression is None: # noqa: E501 @@ -110,14 +110,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3CELDeviceSelector): + if not isinstance(other, V1CELDeviceSelector): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha3CELDeviceSelector): + if not isinstance(other, V1CELDeviceSelector): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index 6d4867f372..cb557a74ce 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index dec7b6307f..47bc71c1c5 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request.py b/kubernetes/client/models/v1_certificate_signing_request.py index 1a2fa74aa9..70e13cc48b 100644 --- a/kubernetes/client/models/v1_certificate_signing_request.py +++ b/kubernetes/client/models/v1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_condition.py b/kubernetes/client/models/v1_certificate_signing_request_condition.py index 61b2366208..d43400ac57 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_list.py b/kubernetes/client/models/v1_certificate_signing_request_list.py index b470f4c8b6..e1bf34098a 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_spec.py b/kubernetes/client/models/v1_certificate_signing_request_spec.py index cac57e07cc..89f2829297 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_status.py b/kubernetes/client/models/v1_certificate_signing_request_status.py index cd5d90caaf..21acbf5374 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py index d0e19db86d..b6d5782217 100644 --- a/kubernetes/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index 24e92c1502..a1ca80f100 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 2d3501e6b8..2b769f6b12 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index 56233b1072..d2484590ad 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 45b46ab167..f561e029fa 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index adf7df8c74..821ac348ab 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index a1c9e0b49f..a7f2e94f51 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py index 8b90e4f682..6c9d1cb0d3 100644 --- a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py +++ b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index 27cbb834eb..4e1cb63a98 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 5a1c23ffb7..08a464f588 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index bfea0dda38..80341c1532 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_condition.py b/kubernetes/client/models/v1_condition.py index e06f9aed97..8f72280187 100644 --- a/kubernetes/client/models/v1_condition.py +++ b/kubernetes/client/models/v1_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 76589f8755..88cac10596 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index b9cb17a5c9..8dba3f131c 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index addd69b4fd..ed7b9403a3 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 3004767948..69f49776a7 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py index b7be3bc4ff..3eff35e1c5 100644 --- a/kubernetes/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index 6752cf0bf5..6ccb07284e 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index c3ba143f38..2e11fb19ae 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 9f026292b1..4a0f81dd7c 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -47,6 +47,7 @@ class V1Container(object): 'resize_policy': 'list[V1ContainerResizePolicy]', 'resources': 'V1ResourceRequirements', 'restart_policy': 'str', + 'restart_policy_rules': 'list[V1ContainerRestartRule]', 'security_context': 'V1SecurityContext', 'startup_probe': 'V1Probe', 'stdin': 'bool', @@ -74,6 +75,7 @@ class V1Container(object): 'resize_policy': 'resizePolicy', 'resources': 'resources', 'restart_policy': 'restartPolicy', + 'restart_policy_rules': 'restartPolicyRules', 'security_context': 'securityContext', 'startup_probe': 'startupProbe', 'stdin': 'stdin', @@ -86,7 +88,7 @@ class V1Container(object): 'working_dir': 'workingDir' } - def __init__(self, args=None, command=None, env=None, env_from=None, image=None, image_pull_policy=None, lifecycle=None, liveness_probe=None, name=None, ports=None, readiness_probe=None, resize_policy=None, resources=None, restart_policy=None, security_context=None, startup_probe=None, stdin=None, stdin_once=None, termination_message_path=None, termination_message_policy=None, tty=None, volume_devices=None, volume_mounts=None, working_dir=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, args=None, command=None, env=None, env_from=None, image=None, image_pull_policy=None, lifecycle=None, liveness_probe=None, name=None, ports=None, readiness_probe=None, resize_policy=None, resources=None, restart_policy=None, restart_policy_rules=None, security_context=None, startup_probe=None, stdin=None, stdin_once=None, termination_message_path=None, termination_message_policy=None, tty=None, volume_devices=None, volume_mounts=None, working_dir=None, local_vars_configuration=None): # noqa: E501 """V1Container - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -106,6 +108,7 @@ def __init__(self, args=None, command=None, env=None, env_from=None, image=None, self._resize_policy = None self._resources = None self._restart_policy = None + self._restart_policy_rules = None self._security_context = None self._startup_probe = None self._stdin = None @@ -145,6 +148,8 @@ def __init__(self, args=None, command=None, env=None, env_from=None, image=None, self.resources = resources if restart_policy is not None: self.restart_policy = restart_policy + if restart_policy_rules is not None: + self.restart_policy_rules = restart_policy_rules if security_context is not None: self.security_context = security_context if startup_probe is not None: @@ -239,7 +244,7 @@ def env(self, env): def env_from(self): """Gets the env_from of this V1Container. # noqa: E501 - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 + List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 :return: The env_from of this V1Container. # noqa: E501 :rtype: list[V1EnvFromSource] @@ -250,7 +255,7 @@ def env_from(self): def env_from(self, env_from): """Sets the env_from of this V1Container. - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 + List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 :param env_from: The env_from of this V1Container. # noqa: E501 :type: list[V1EnvFromSource] @@ -419,7 +424,7 @@ def readiness_probe(self, readiness_probe): def resize_policy(self): """Gets the resize_policy of this V1Container. # noqa: E501 - Resources resize policy for the container. # noqa: E501 + Resources resize policy for the container. This field cannot be set on ephemeral containers. # noqa: E501 :return: The resize_policy of this V1Container. # noqa: E501 :rtype: list[V1ContainerResizePolicy] @@ -430,7 +435,7 @@ def resize_policy(self): def resize_policy(self, resize_policy): """Sets the resize_policy of this V1Container. - Resources resize policy for the container. # noqa: E501 + Resources resize policy for the container. This field cannot be set on ephemeral containers. # noqa: E501 :param resize_policy: The resize_policy of this V1Container. # noqa: E501 :type: list[V1ContainerResizePolicy] @@ -463,7 +468,7 @@ def resources(self, resources): def restart_policy(self): """Gets the restart_policy of this V1Container. # noqa: E501 - RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 + RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 :return: The restart_policy of this V1Container. # noqa: E501 :rtype: str @@ -474,7 +479,7 @@ def restart_policy(self): def restart_policy(self, restart_policy): """Sets the restart_policy of this V1Container. - RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 + RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 :param restart_policy: The restart_policy of this V1Container. # noqa: E501 :type: str @@ -482,6 +487,29 @@ def restart_policy(self, restart_policy): self._restart_policy = restart_policy + @property + def restart_policy_rules(self): + """Gets the restart_policy_rules of this V1Container. # noqa: E501 + + Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. # noqa: E501 + + :return: The restart_policy_rules of this V1Container. # noqa: E501 + :rtype: list[V1ContainerRestartRule] + """ + return self._restart_policy_rules + + @restart_policy_rules.setter + def restart_policy_rules(self, restart_policy_rules): + """Sets the restart_policy_rules of this V1Container. + + Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. # noqa: E501 + + :param restart_policy_rules: The restart_policy_rules of this V1Container. # noqa: E501 + :type: list[V1ContainerRestartRule] + """ + + self._restart_policy_rules = restart_policy_rules + @property def security_context(self): """Gets the security_context of this V1Container. # noqa: E501 diff --git a/kubernetes/client/models/v1_container_extended_resource_request.py b/kubernetes/client/models/v1_container_extended_resource_request.py new file mode 100644 index 0000000000..fd32110e14 --- /dev/null +++ b/kubernetes/client/models/v1_container_extended_resource_request.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerExtendedResourceRequest(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 = { + 'container_name': 'str', + 'request_name': 'str', + 'resource_name': 'str' + } + + attribute_map = { + 'container_name': 'containerName', + 'request_name': 'requestName', + 'resource_name': 'resourceName' + } + + def __init__(self, container_name=None, request_name=None, resource_name=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerExtendedResourceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._container_name = None + self._request_name = None + self._resource_name = None + self.discriminator = None + + self.container_name = container_name + self.request_name = request_name + self.resource_name = resource_name + + @property + def container_name(self): + """Gets the container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the container requesting resources. # noqa: E501 + + :return: The container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._container_name + + @container_name.setter + def container_name(self, container_name): + """Sets the container_name of this V1ContainerExtendedResourceRequest. + + The name of the container requesting resources. # noqa: E501 + + :param container_name: The container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and container_name is None: # noqa: E501 + raise ValueError("Invalid value for `container_name`, must not be `None`") # noqa: E501 + + self._container_name = container_name + + @property + def request_name(self): + """Gets the request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the request in the special ResourceClaim which corresponds to the extended resource. # noqa: E501 + + :return: The request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._request_name + + @request_name.setter + def request_name(self, request_name): + """Sets the request_name of this V1ContainerExtendedResourceRequest. + + The name of the request in the special ResourceClaim which corresponds to the extended resource. # noqa: E501 + + :param request_name: The request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request_name is None: # noqa: E501 + raise ValueError("Invalid value for `request_name`, must not be `None`") # noqa: E501 + + self._request_name = request_name + + @property + def resource_name(self): + """Gets the resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the extended resource in that container which gets backed by DRA. # noqa: E501 + + :return: The resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._resource_name + + @resource_name.setter + def resource_name(self, resource_name): + """Sets the resource_name of this V1ContainerExtendedResourceRequest. + + The name of the extended resource in that container which gets backed by DRA. # noqa: E501 + + :param resource_name: The resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and resource_name is None: # noqa: E501 + raise ValueError("Invalid value for `resource_name`, must not be `None`") # noqa: E501 + + self._resource_name = resource_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1ContainerExtendedResourceRequest): + 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, V1ContainerExtendedResourceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 7823fff24e..6cbca53b2c 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index d275161893..9d4e0e7eb8 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_resize_policy.py b/kubernetes/client/models/v1_container_resize_policy.py index 354b56264d..a8f26c71a4 100644 --- a/kubernetes/client/models/v1_container_resize_policy.py +++ b/kubernetes/client/models/v1_container_resize_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_restart_rule.py b/kubernetes/client/models/v1_container_restart_rule.py new file mode 100644 index 0000000000..63aa8f5ba1 --- /dev/null +++ b/kubernetes/client/models/v1_container_restart_rule.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerRestartRule(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 = { + 'action': 'str', + 'exit_codes': 'V1ContainerRestartRuleOnExitCodes' + } + + attribute_map = { + 'action': 'action', + 'exit_codes': 'exitCodes' + } + + def __init__(self, action=None, exit_codes=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerRestartRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._action = None + self._exit_codes = None + self.discriminator = None + + self.action = action + if exit_codes is not None: + self.exit_codes = exit_codes + + @property + def action(self): + """Gets the action of this V1ContainerRestartRule. # noqa: E501 + + Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. # noqa: E501 + + :return: The action of this V1ContainerRestartRule. # noqa: E501 + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this V1ContainerRestartRule. + + Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. # noqa: E501 + + :param action: The action of this V1ContainerRestartRule. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and action is None: # noqa: E501 + raise ValueError("Invalid value for `action`, must not be `None`") # noqa: E501 + + self._action = action + + @property + def exit_codes(self): + """Gets the exit_codes of this V1ContainerRestartRule. # noqa: E501 + + + :return: The exit_codes of this V1ContainerRestartRule. # noqa: E501 + :rtype: V1ContainerRestartRuleOnExitCodes + """ + return self._exit_codes + + @exit_codes.setter + def exit_codes(self, exit_codes): + """Sets the exit_codes of this V1ContainerRestartRule. + + + :param exit_codes: The exit_codes of this V1ContainerRestartRule. # noqa: E501 + :type: V1ContainerRestartRuleOnExitCodes + """ + + self._exit_codes = exit_codes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1ContainerRestartRule): + 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, V1ContainerRestartRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py b/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py new file mode 100644 index 0000000000..4378962b73 --- /dev/null +++ b/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerRestartRuleOnExitCodes(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 = { + 'operator': 'str', + 'values': 'list[int]' + } + + attribute_map = { + 'operator': 'operator', + 'values': 'values' + } + + def __init__(self, operator=None, values=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerRestartRuleOnExitCodes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._operator = None + self._values = None + self.discriminator = None + + self.operator = operator + if values is not None: + self.values = values + + @property + def operator(self): + """Gets the operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + + Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. # noqa: E501 + + :return: The operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1ContainerRestartRuleOnExitCodes. + + Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. # noqa: E501 + + :param operator: The operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and operator is None: # noqa: E501 + raise ValueError("Invalid value for `operator`, must not be `None`") # noqa: E501 + + self._operator = operator + + @property + def values(self): + """Gets the values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + + Specifies the set of values to check for container exit codes. At most 255 elements are allowed. # noqa: E501 + + :return: The values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :rtype: list[int] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this V1ContainerRestartRuleOnExitCodes. + + Specifies the set of values to check for container exit codes. At most 255 elements are allowed. # noqa: E501 + + :param values: The values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :type: list[int] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1ContainerRestartRuleOnExitCodes): + 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, V1ContainerRestartRuleOnExitCodes): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index d3c1b8e4c8..c585804496 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index b01d40b72a..700e79799b 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index e95d3e0410..e7d53277ea 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index 79438afee5..ad909d18de 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index 4807e08460..e51eb55851 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -45,6 +45,7 @@ class V1ContainerStatus(object): 'restart_count': 'int', 'started': 'bool', 'state': 'V1ContainerState', + 'stop_signal': 'str', 'user': 'V1ContainerUser', 'volume_mounts': 'list[V1VolumeMountStatus]' } @@ -62,11 +63,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() @@ -84,6 +86,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 @@ -107,6 +110,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: @@ -392,6 +397,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: str + """ + + self._stop_signal = stop_signal + @property def user(self): """Gets the user of this V1ContainerStatus. # noqa: E501 diff --git a/kubernetes/client/models/v1_container_user.py b/kubernetes/client/models/v1_container_user.py index e37895b879..56215ca9f4 100644 --- a/kubernetes/client/models/v1_container_user.py +++ b/kubernetes/client/models/v1_container_user.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index ad3f7d17a0..0d06e4df1f 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index 574b3b1ae6..d20ff4a166 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_counter.py b/kubernetes/client/models/v1_counter.py new file mode 100644 index 0000000000..666b0e7ab8 --- /dev/null +++ b/kubernetes/client/models/v1_counter.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Counter(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 + """V1Counter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._value = None + self.discriminator = None + + self.value = value + + @property + def value(self): + """Gets the value of this V1Counter. # noqa: E501 + + Value defines how much of a certain device counter is available. # noqa: E501 + + :return: The value of this V1Counter. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1Counter. + + Value defines how much of a certain device counter is available. # noqa: E501 + + :param value: The value of this V1Counter. # noqa: E501 + :type: 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): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1Counter): + 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, V1Counter): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_counter_set.py b/kubernetes/client/models/v1_counter_set.py new file mode 100644 index 0000000000..ee17b2e4a7 --- /dev/null +++ b/kubernetes/client/models/v1_counter_set.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CounterSet(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, V1Counter)', + 'name': 'str' + } + + attribute_map = { + 'counters': 'counters', + 'name': 'name' + } + + def __init__(self, counters=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1CounterSet - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._counters = None + self._name = None + self.discriminator = None + + self.counters = counters + self.name = name + + @property + def counters(self): + """Gets the counters of this V1CounterSet. # noqa: E501 + + Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501 + + :return: The counters of this V1CounterSet. # noqa: E501 + :rtype: dict(str, V1Counter) + """ + return self._counters + + @counters.setter + def counters(self, counters): + """Sets the counters of this V1CounterSet. + + Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501 + + :param counters: The counters of this V1CounterSet. # noqa: E501 + :type: dict(str, V1Counter) + """ + 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 V1CounterSet. # noqa: E501 + + Name defines the name of the counter set. It must be a DNS label. # noqa: E501 + + :return: The name of this V1CounterSet. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CounterSet. + + Name defines the name of the counter set. It must be a DNS label. # noqa: E501 + + :param name: The name of this V1CounterSet. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CounterSet): + 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, V1CounterSet): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_cron_job.py b/kubernetes/client/models/v1_cron_job.py index 4f82415c52..bcfad839f8 100644 --- a/kubernetes/client/models/v1_cron_job.py +++ b/kubernetes/client/models/v1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_list.py b/kubernetes/client/models/v1_cron_job_list.py index b23dd439cd..55d7204807 100644 --- a/kubernetes/client/models/v1_cron_job_list.py +++ b/kubernetes/client/models/v1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_spec.py b/kubernetes/client/models/v1_cron_job_spec.py index bb507750f0..f63400c05c 100644 --- a/kubernetes/client/models/v1_cron_job_spec.py +++ b/kubernetes/client/models/v1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_status.py b/kubernetes/client/models/v1_cron_job_status.py index a500426b75..5e1d5d36b3 100644 --- a/kubernetes/client/models/v1_cron_job_status.py +++ b/kubernetes/client/models/v1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index 721cedca98..7a8dd76ea2 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver.py b/kubernetes/client/models/v1_csi_driver.py index f3b59dbfb9..9b0766991a 100644 --- a/kubernetes/client/models/v1_csi_driver.py +++ b/kubernetes/client/models/v1_csi_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver_list.py b/kubernetes/client/models/v1_csi_driver_list.py index 6591f6beac..d8dafa0ca9 100644 --- a/kubernetes/client/models/v1_csi_driver_list.py +++ b/kubernetes/client/models/v1_csi_driver_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver_spec.py b/kubernetes/client/models/v1_csi_driver_spec.py index 332661c479..0346cd7e13 100644 --- a/kubernetes/client/models/v1_csi_driver_spec.py +++ b/kubernetes/client/models/v1_csi_driver_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -35,9 +35,11 @@ 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', + 'service_account_token_in_secrets': 'bool', 'storage_capacity': 'bool', 'token_requests': 'list[StorageV1TokenRequest]', 'volume_lifecycle_modes': 'list[str]' @@ -46,15 +48,17 @@ 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', + 'service_account_token_in_secrets': 'serviceAccountTokenInSecrets', 'storage_capacity': 'storageCapacity', 'token_requests': 'tokenRequests', '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, service_account_token_in_secrets=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() @@ -62,9 +66,11 @@ 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 + self._service_account_token_in_secrets = None self._storage_capacity = None self._token_requests = None self._volume_lifecycle_modes = None @@ -74,12 +80,16 @@ 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: self.requires_republish = requires_republish if se_linux_mount is not None: self.se_linux_mount = se_linux_mount + if service_account_token_in_secrets is not None: + self.service_account_token_in_secrets = service_account_token_in_secrets if storage_capacity is not None: self.storage_capacity = storage_capacity if token_requests is not None: @@ -91,7 +101,7 @@ def __init__(self, attach_required=None, fs_group_policy=None, pod_info_on_mount def attach_required(self): """Gets the attach_required of this V1CSIDriverSpec. # noqa: E501 - attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 + attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 :return: The attach_required of this V1CSIDriverSpec. # noqa: E501 :rtype: bool @@ -102,7 +112,7 @@ def attach_required(self): def attach_required(self, attach_required): """Sets the attach_required of this V1CSIDriverSpec. - attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 + attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 :param attach_required: The attach_required of this V1CSIDriverSpec. # noqa: E501 :type: bool @@ -133,6 +143,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 a beta 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 a beta 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: 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 @@ -202,6 +235,29 @@ def se_linux_mount(self, se_linux_mount): self._se_linux_mount = se_linux_mount + @property + def service_account_token_in_secrets(self): + """Gets the service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + + serviceAccountTokenInSecrets is an opt-in for CSI drivers to indicate that service account tokens should be passed via the Secrets field in NodePublishVolumeRequest instead of the VolumeContext field. The CSI specification provides a dedicated Secrets field for sensitive information like tokens, which is the appropriate mechanism for handling credentials. This addresses security concerns where sensitive tokens were being logged as part of volume context. When \"true\", kubelet will pass the tokens only in the Secrets field with the key \"csi.storage.k8s.io/serviceAccount.tokens\". The CSI driver must be updated to read tokens from the Secrets field instead of VolumeContext. When \"false\" or not set, kubelet will pass the tokens in VolumeContext with the key \"csi.storage.k8s.io/serviceAccount.tokens\" (existing behavior). This maintains backward compatibility with existing CSI drivers. This field can only be set when TokenRequests is configured. The API server will reject CSIDriver specs that set this field without TokenRequests. Default behavior if unset is to pass tokens in the VolumeContext field. # noqa: E501 + + :return: The service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._service_account_token_in_secrets + + @service_account_token_in_secrets.setter + def service_account_token_in_secrets(self, service_account_token_in_secrets): + """Sets the service_account_token_in_secrets of this V1CSIDriverSpec. + + serviceAccountTokenInSecrets is an opt-in for CSI drivers to indicate that service account tokens should be passed via the Secrets field in NodePublishVolumeRequest instead of the VolumeContext field. The CSI specification provides a dedicated Secrets field for sensitive information like tokens, which is the appropriate mechanism for handling credentials. This addresses security concerns where sensitive tokens were being logged as part of volume context. When \"true\", kubelet will pass the tokens only in the Secrets field with the key \"csi.storage.k8s.io/serviceAccount.tokens\". The CSI driver must be updated to read tokens from the Secrets field instead of VolumeContext. When \"false\" or not set, kubelet will pass the tokens in VolumeContext with the key \"csi.storage.k8s.io/serviceAccount.tokens\" (existing behavior). This maintains backward compatibility with existing CSI drivers. This field can only be set when TokenRequests is configured. The API server will reject CSIDriver specs that set this field without TokenRequests. Default behavior if unset is to pass tokens in the VolumeContext field. # noqa: E501 + + :param service_account_token_in_secrets: The service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._service_account_token_in_secrets = service_account_token_in_secrets + @property def storage_capacity(self): """Gets the storage_capacity of this V1CSIDriverSpec. # noqa: E501 diff --git a/kubernetes/client/models/v1_csi_node.py b/kubernetes/client/models/v1_csi_node.py index b6726a0460..6d873c7fe9 100644 --- a/kubernetes/client/models/v1_csi_node.py +++ b/kubernetes/client/models/v1_csi_node.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_driver.py b/kubernetes/client/models/v1_csi_node_driver.py index 2e5410a4aa..2949c31e6a 100644 --- a/kubernetes/client/models/v1_csi_node_driver.py +++ b/kubernetes/client/models/v1_csi_node_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_list.py b/kubernetes/client/models/v1_csi_node_list.py index 2a87412c61..9ece4006d7 100644 --- a/kubernetes/client/models/v1_csi_node_list.py +++ b/kubernetes/client/models/v1_csi_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_spec.py b/kubernetes/client/models/v1_csi_node_spec.py index 37666fa007..552d3e83a0 100644 --- a/kubernetes/client/models/v1_csi_node_spec.py +++ b/kubernetes/client/models/v1_csi_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index dee48ecad7..99ca2197b6 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_storage_capacity.py b/kubernetes/client/models/v1_csi_storage_capacity.py index 2df732d010..3a31f36246 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity.py +++ b/kubernetes/client/models/v1_csi_storage_capacity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_storage_capacity_list.py b/kubernetes/client/models/v1_csi_storage_capacity_list.py index 340a1f4043..fa4977a695 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity_list.py +++ b/kubernetes/client/models/v1_csi_storage_capacity_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_volume_source.py b/kubernetes/client/models/v1_csi_volume_source.py index bff9f9a47d..eb2a68d692 100644 --- a/kubernetes/client/models/v1_csi_volume_source.py +++ b/kubernetes/client/models/v1_csi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_column_definition.py b/kubernetes/client/models/v1_custom_resource_column_definition.py index 16253d4447..a6e8d7d49a 100644 --- a/kubernetes/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_conversion.py b/kubernetes/client/models/v1_custom_resource_conversion.py index b90e74e65e..3162a75854 100644 --- a/kubernetes/client/models/v1_custom_resource_conversion.py +++ b/kubernetes/client/models/v1_custom_resource_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition.py b/kubernetes/client/models/v1_custom_resource_definition.py index 5e66d8785b..3bbd0be3d2 100644 --- a/kubernetes/client/models/v1_custom_resource_definition.py +++ b/kubernetes/client/models/v1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_condition.py b/kubernetes/client/models/v1_custom_resource_definition_condition.py index 6716a05e6f..205590af49 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -35,6 +35,7 @@ class V1CustomResourceDefinitionCondition(object): openapi_types = { 'last_transition_time': 'datetime', 'message': 'str', + 'observed_generation': 'int', 'reason': 'str', 'status': 'str', 'type': 'str' @@ -43,12 +44,13 @@ class V1CustomResourceDefinitionCondition(object): attribute_map = { 'last_transition_time': 'lastTransitionTime', 'message': 'message', + 'observed_generation': 'observedGeneration', 'reason': 'reason', 'status': 'status', 'type': 'type' } - def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, last_transition_time=None, message=None, observed_generation=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 """V1CustomResourceDefinitionCondition - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -56,6 +58,7 @@ def __init__(self, last_transition_time=None, message=None, reason=None, status= self._last_transition_time = None self._message = None + self._observed_generation = None self._reason = None self._status = None self._type = None @@ -65,6 +68,8 @@ def __init__(self, last_transition_time=None, message=None, reason=None, status= 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 @@ -116,6 +121,29 @@ def message(self, message): self._message = message + @property + def observed_generation(self): + """Gets the observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :return: The observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1CustomResourceDefinitionCondition. + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :param observed_generation: The observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + @property def reason(self): """Gets the reason of this V1CustomResourceDefinitionCondition. # noqa: E501 diff --git a/kubernetes/client/models/v1_custom_resource_definition_list.py b/kubernetes/client/models/v1_custom_resource_definition_list.py index 8114037f96..681cbde804 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_names.py b/kubernetes/client/models/v1_custom_resource_definition_names.py index 6a2b219709..15f5b0f84d 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_spec.py b/kubernetes/client/models/v1_custom_resource_definition_spec.py index 93f0748ef1..3f902e0475 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_status.py b/kubernetes/client/models/v1_custom_resource_definition_status.py index a227af9a12..50e6f4a4c8 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -35,16 +35,18 @@ class V1CustomResourceDefinitionStatus(object): openapi_types = { 'accepted_names': 'V1CustomResourceDefinitionNames', 'conditions': 'list[V1CustomResourceDefinitionCondition]', + 'observed_generation': 'int', 'stored_versions': 'list[str]' } attribute_map = { 'accepted_names': 'acceptedNames', 'conditions': 'conditions', + 'observed_generation': 'observedGeneration', 'stored_versions': 'storedVersions' } - def __init__(self, accepted_names=None, conditions=None, stored_versions=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, accepted_names=None, conditions=None, observed_generation=None, stored_versions=None, local_vars_configuration=None): # noqa: E501 """V1CustomResourceDefinitionStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -52,6 +54,7 @@ def __init__(self, accepted_names=None, conditions=None, stored_versions=None, l self._accepted_names = None self._conditions = None + self._observed_generation = None self._stored_versions = None self.discriminator = None @@ -59,6 +62,8 @@ def __init__(self, accepted_names=None, conditions=None, stored_versions=None, l self.accepted_names = accepted_names if conditions is not None: self.conditions = conditions + if observed_generation is not None: + self.observed_generation = observed_generation if stored_versions is not None: self.stored_versions = stored_versions @@ -106,6 +111,29 @@ def conditions(self, conditions): self._conditions = conditions + @property + def observed_generation(self): + """Gets the observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + + The generation observed by the CRD controller. # noqa: E501 + + :return: The observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1CustomResourceDefinitionStatus. + + The generation observed by the CRD controller. # noqa: E501 + + :param observed_generation: The observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + @property def stored_versions(self): """Gets the stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501 diff --git a/kubernetes/client/models/v1_custom_resource_definition_version.py b/kubernetes/client/models/v1_custom_resource_definition_version.py index ff2c8d071f..92e2fbdfa4 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1_custom_resource_subresource_scale.py index 190d568885..36a2a922bf 100644 --- a/kubernetes/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresources.py b/kubernetes/client/models/v1_custom_resource_subresources.py index 640ec38f93..6942bd02d5 100644 --- a/kubernetes/client/models/v1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_validation.py b/kubernetes/client/models/v1_custom_resource_validation.py index ba74eac095..19f1ab3029 100644 --- a/kubernetes/client/models/v1_custom_resource_validation.py +++ b/kubernetes/client/models/v1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index fb85908409..e2a622474f 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index b292bea253..c5b48e990a 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index a1a7505a9e..ca654c685a 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index defc0f29ea..bf5ded011c 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index 67300561fe..5e43001462 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index d2a5540ade..6b5b6832b9 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index f8bd77d837..cb0e137d12 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index b39bcd137c..df3ca8671a 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index f3eda2a952..a8a980b5f8 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index 7e689022d5..34b07d2942 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index a59d79c63c..db34ccd92e 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index 643637afbe..6ed4b4828d 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index b4a95d4e92..f4866a5a1d 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class V1DeploymentStatus(object): 'observed_generation': 'int', 'ready_replicas': 'int', 'replicas': 'int', + 'terminating_replicas': 'int', 'unavailable_replicas': 'int', 'updated_replicas': 'int' } @@ -50,11 +51,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() @@ -66,6 +68,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 @@ -82,6 +85,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: @@ -91,7 +96,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 @@ -102,7 +107,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: int @@ -183,7 +188,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 @@ -194,7 +199,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: int @@ -206,7 +211,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 @@ -217,7 +222,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: int @@ -225,6 +230,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 a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default). # 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 a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default). # noqa: E501 + + :param terminating_replicas: The terminating_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._terminating_replicas = terminating_replicas + @property def unavailable_replicas(self): """Gets the unavailable_replicas of this V1DeploymentStatus. # noqa: E501 @@ -252,7 +280,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 @@ -263,7 +291,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: int diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index 367538058a..3000f5539b 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_device.py b/kubernetes/client/models/v1_device.py new file mode 100644 index 0000000000..0c932ab96b --- /dev/null +++ b/kubernetes/client/models/v1_device.py @@ -0,0 +1,429 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Device(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'all_nodes': 'bool', + 'allow_multiple_allocations': 'bool', + 'attributes': 'dict(str, V1DeviceAttribute)', + 'binding_conditions': 'list[str]', + 'binding_failure_conditions': 'list[str]', + 'binds_to_node': 'bool', + 'capacity': 'dict(str, V1DeviceCapacity)', + 'consumes_counters': 'list[V1DeviceCounterConsumption]', + 'name': 'str', + 'node_name': 'str', + 'node_selector': 'V1NodeSelector', + 'taints': 'list[V1DeviceTaint]' + } + + attribute_map = { + 'all_nodes': 'allNodes', + 'allow_multiple_allocations': 'allowMultipleAllocations', + 'attributes': 'attributes', + 'binding_conditions': 'bindingConditions', + 'binding_failure_conditions': 'bindingFailureConditions', + 'binds_to_node': 'bindsToNode', + 'capacity': 'capacity', + 'consumes_counters': 'consumesCounters', + 'name': 'name', + 'node_name': 'nodeName', + 'node_selector': 'nodeSelector', + 'taints': 'taints' + } + + def __init__(self, all_nodes=None, allow_multiple_allocations=None, attributes=None, binding_conditions=None, binding_failure_conditions=None, binds_to_node=None, capacity=None, consumes_counters=None, name=None, node_name=None, node_selector=None, taints=None, local_vars_configuration=None): # noqa: E501 + """V1Device - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._all_nodes = None + self._allow_multiple_allocations = None + self._attributes = None + self._binding_conditions = None + self._binding_failure_conditions = None + self._binds_to_node = None + self._capacity = None + self._consumes_counters = None + self._name = 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 allow_multiple_allocations is not None: + self.allow_multiple_allocations = allow_multiple_allocations + if attributes is not None: + self.attributes = attributes + if binding_conditions is not None: + self.binding_conditions = binding_conditions + if binding_failure_conditions is not None: + self.binding_failure_conditions = binding_failure_conditions + if binds_to_node is not None: + self.binds_to_node = binds_to_node + if capacity is not None: + self.capacity = capacity + if consumes_counters is not None: + self.consumes_counters = consumes_counters + self.name = name + 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 V1Device. # 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 V1Device. # noqa: E501 + :rtype: bool + """ + return self._all_nodes + + @all_nodes.setter + def all_nodes(self, all_nodes): + """Sets the all_nodes of this V1Device. + + 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 V1Device. # noqa: E501 + :type: bool + """ + + self._all_nodes = all_nodes + + @property + def allow_multiple_allocations(self): + """Gets the allow_multiple_allocations of this V1Device. # noqa: E501 + + AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests. If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not. # noqa: E501 + + :return: The allow_multiple_allocations of this V1Device. # noqa: E501 + :rtype: bool + """ + return self._allow_multiple_allocations + + @allow_multiple_allocations.setter + def allow_multiple_allocations(self, allow_multiple_allocations): + """Sets the allow_multiple_allocations of this V1Device. + + AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests. If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not. # noqa: E501 + + :param allow_multiple_allocations: The allow_multiple_allocations of this V1Device. # noqa: E501 + :type: bool + """ + + self._allow_multiple_allocations = allow_multiple_allocations + + @property + def attributes(self): + """Gets the attributes of this V1Device. # noqa: E501 + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The attributes of this V1Device. # noqa: E501 + :rtype: dict(str, V1DeviceAttribute) + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this V1Device. + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param attributes: The attributes of this V1Device. # noqa: E501 + :type: dict(str, V1DeviceAttribute) + """ + + self._attributes = attributes + + @property + def binding_conditions(self): + """Gets the binding_conditions of this V1Device. # noqa: E501 + + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_conditions of this V1Device. # noqa: E501 + :rtype: list[str] + """ + return self._binding_conditions + + @binding_conditions.setter + def binding_conditions(self, binding_conditions): + """Sets the binding_conditions of this V1Device. + + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_conditions: The binding_conditions of this V1Device. # noqa: E501 + :type: list[str] + """ + + self._binding_conditions = binding_conditions + + @property + def binding_failure_conditions(self): + """Gets the binding_failure_conditions of this V1Device. # noqa: E501 + + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_failure_conditions of this V1Device. # noqa: E501 + :rtype: list[str] + """ + return self._binding_failure_conditions + + @binding_failure_conditions.setter + def binding_failure_conditions(self, binding_failure_conditions): + """Sets the binding_failure_conditions of this V1Device. + + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_failure_conditions: The binding_failure_conditions of this V1Device. # noqa: E501 + :type: list[str] + """ + + self._binding_failure_conditions = binding_failure_conditions + + @property + def binds_to_node(self): + """Gets the binds_to_node of this V1Device. # noqa: E501 + + BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binds_to_node of this V1Device. # noqa: E501 + :rtype: bool + """ + return self._binds_to_node + + @binds_to_node.setter + def binds_to_node(self, binds_to_node): + """Sets the binds_to_node of this V1Device. + + BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binds_to_node: The binds_to_node of this V1Device. # noqa: E501 + :type: bool + """ + + self._binds_to_node = binds_to_node + + @property + def capacity(self): + """Gets the capacity of this V1Device. # noqa: E501 + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The capacity of this V1Device. # noqa: E501 + :rtype: dict(str, V1DeviceCapacity) + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1Device. + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param capacity: The capacity of this V1Device. # noqa: E501 + :type: dict(str, V1DeviceCapacity) + """ + + self._capacity = capacity + + @property + def consumes_counters(self): + """Gets the consumes_counters of this V1Device. # 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 maximum number of device counter consumptions per device is 2. # noqa: E501 + + :return: The consumes_counters of this V1Device. # noqa: E501 + :rtype: list[V1DeviceCounterConsumption] + """ + return self._consumes_counters + + @consumes_counters.setter + def consumes_counters(self, consumes_counters): + """Sets the consumes_counters of this V1Device. + + 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 maximum number of device counter consumptions per device is 2. # noqa: E501 + + :param consumes_counters: The consumes_counters of this V1Device. # noqa: E501 + :type: list[V1DeviceCounterConsumption] + """ + + self._consumes_counters = consumes_counters + + @property + def name(self): + """Gets the name of this V1Device. # noqa: E501 + + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 + + :return: The name of this V1Device. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1Device. + + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 + + :param name: The name of this V1Device. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def node_name(self): + """Gets the node_name of this V1Device. # 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 V1Device. # noqa: E501 + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this V1Device. + + 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 V1Device. # noqa: E501 + :type: str + """ + + self._node_name = node_name + + @property + def node_selector(self): + """Gets the node_selector of this V1Device. # noqa: E501 + + + :return: The node_selector of this V1Device. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1Device. + + + :param node_selector: The node_selector of this V1Device. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + @property + def taints(self): + """Gets the taints of this V1Device. # noqa: E501 + + If specified, these are the driver-defined taints. The maximum number of taints is 16. If taints are set for any device in a ResourceSlice, then the maximum number of allowed devices per ResourceSlice is 64 instead of 128. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The taints of this V1Device. # noqa: E501 + :rtype: list[V1DeviceTaint] + """ + return self._taints + + @taints.setter + def taints(self, taints): + """Sets the taints of this V1Device. + + If specified, these are the driver-defined taints. The maximum number of taints is 16. If taints are set for any device in a ResourceSlice, then the maximum number of allowed devices per ResourceSlice is 64 instead of 128. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param taints: The taints of this V1Device. # noqa: E501 + :type: list[V1DeviceTaint] + """ + + self._taints = taints + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1Device): + 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, V1Device): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_allocation_configuration.py b/kubernetes/client/models/v1_device_allocation_configuration.py similarity index 68% rename from kubernetes/client/models/v1alpha3_device_allocation_configuration.py rename to kubernetes/client/models/v1_device_allocation_configuration.py index f4f847c4a7..87c809c902 100644 --- a/kubernetes/client/models/v1alpha3_device_allocation_configuration.py +++ b/kubernetes/client/models/v1_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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceAllocationConfiguration(object): +class V1DeviceAllocationConfiguration(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha3DeviceAllocationConfiguration(object): and the value is json key in definition. """ openapi_types = { - 'opaque': 'V1alpha3OpaqueDeviceConfiguration', + 'opaque': 'V1OpaqueDeviceConfiguration', 'requests': 'list[str]', 'source': 'str' } @@ -45,7 +45,7 @@ class V1alpha3DeviceAllocationConfiguration(object): } def __init__(self, opaque=None, requests=None, source=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceAllocationConfiguration - a model defined in OpenAPI""" # noqa: E501 + """V1DeviceAllocationConfiguration - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -63,43 +63,43 @@ def __init__(self, opaque=None, requests=None, source=None, local_vars_configura @property def opaque(self): - """Gets the opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + """Gets the opaque of this V1DeviceAllocationConfiguration. # noqa: E501 - :return: The opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 - :rtype: V1alpha3OpaqueDeviceConfiguration + :return: The opaque of this V1DeviceAllocationConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration """ return self._opaque @opaque.setter def opaque(self, opaque): - """Sets the opaque of this V1alpha3DeviceAllocationConfiguration. + """Sets the opaque of this V1DeviceAllocationConfiguration. - :param opaque: The opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 - :type: V1alpha3OpaqueDeviceConfiguration + :param opaque: The opaque of this V1DeviceAllocationConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration """ self._opaque = opaque @property def requests(self): - """Gets the requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + """Gets the requests of this V1DeviceAllocationConfiguration. # 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 + :return: The requests of this V1DeviceAllocationConfiguration. # noqa: E501 :rtype: list[str] """ return self._requests @requests.setter def requests(self, requests): - """Sets the requests of this V1alpha3DeviceAllocationConfiguration. + """Sets the requests of this V1DeviceAllocationConfiguration. - 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 + :param requests: The requests of this V1DeviceAllocationConfiguration. # noqa: E501 :type: list[str] """ @@ -107,22 +107,22 @@ def requests(self, requests): @property def source(self): - """Gets the source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + """Gets the source of this V1DeviceAllocationConfiguration. # noqa: E501 Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 - :return: The source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :return: The source of this V1DeviceAllocationConfiguration. # noqa: E501 :rtype: str """ return self._source @source.setter def source(self, source): - """Sets the source of this V1alpha3DeviceAllocationConfiguration. + """Sets the source of this V1DeviceAllocationConfiguration. Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 - :param source: The source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :param source: The source of this V1DeviceAllocationConfiguration. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501 @@ -164,14 +164,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceAllocationConfiguration): + if not isinstance(other, V1DeviceAllocationConfiguration): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha3DeviceAllocationConfiguration): + if not isinstance(other, V1DeviceAllocationConfiguration): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_allocation_result.py b/kubernetes/client/models/v1_device_allocation_result.py new file mode 100644 index 0000000000..1df606e8b2 --- /dev/null +++ b/kubernetes/client/models/v1_device_allocation_result.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1DeviceAllocationConfiguration]', + 'results': 'list[V1DeviceRequestAllocationResult]' + } + + attribute_map = { + 'config': 'config', + 'results': 'results' + } + + def __init__(self, config=None, results=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._results = None + self.discriminator = None + + if config is not None: + self.config = config + if results is not None: + self.results = results + + @property + def config(self): + """Gets the config of this V1DeviceAllocationResult. # noqa: E501 + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :return: The config of this V1DeviceAllocationResult. # noqa: E501 + :rtype: list[V1DeviceAllocationConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1DeviceAllocationResult. + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :param config: The config of this V1DeviceAllocationResult. # noqa: E501 + :type: list[V1DeviceAllocationConfiguration] + """ + + self._config = config + + @property + def results(self): + """Gets the results of this V1DeviceAllocationResult. # noqa: E501 + + Results lists all allocated devices. # noqa: E501 + + :return: The results of this V1DeviceAllocationResult. # noqa: E501 + :rtype: list[V1DeviceRequestAllocationResult] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this V1DeviceAllocationResult. + + Results lists all allocated devices. # noqa: E501 + + :param results: The results of this V1DeviceAllocationResult. # noqa: E501 + :type: list[V1DeviceRequestAllocationResult] + """ + + self._results = results + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceAllocationResult): + 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, V1DeviceAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_attribute.py b/kubernetes/client/models/v1_device_attribute.py new file mode 100644 index 0000000000..9b6300961c --- /dev/null +++ b/kubernetes/client/models/v1_device_attribute.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceAttribute(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'bool': 'bool', + 'int': 'int', + 'string': 'str', + 'version': 'str' + } + + attribute_map = { + 'bool': 'bool', + 'int': 'int', + 'string': 'string', + 'version': 'version' + } + + def __init__(self, bool=None, int=None, string=None, version=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceAttribute - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._bool = None + self._int = None + self._string = None + self._version = None + self.discriminator = None + + if bool is not None: + self.bool = bool + if int is not None: + self.int = int + if string is not None: + self.string = string + if version is not None: + self.version = version + + @property + def bool(self): + """Gets the bool of this V1DeviceAttribute. # noqa: E501 + + BoolValue is a true/false value. # noqa: E501 + + :return: The bool of this V1DeviceAttribute. # noqa: E501 + :rtype: bool + """ + return self._bool + + @bool.setter + def bool(self, bool): + """Sets the bool of this V1DeviceAttribute. + + BoolValue is a true/false value. # noqa: E501 + + :param bool: The bool of this V1DeviceAttribute. # noqa: E501 + :type: bool + """ + + self._bool = bool + + @property + def int(self): + """Gets the int of this V1DeviceAttribute. # noqa: E501 + + IntValue is a number. # noqa: E501 + + :return: The int of this V1DeviceAttribute. # noqa: E501 + :rtype: int + """ + return self._int + + @int.setter + def int(self, int): + """Sets the int of this V1DeviceAttribute. + + IntValue is a number. # noqa: E501 + + :param int: The int of this V1DeviceAttribute. # noqa: E501 + :type: int + """ + + self._int = int + + @property + def string(self): + """Gets the string of this V1DeviceAttribute. # noqa: E501 + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :return: The string of this V1DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._string + + @string.setter + def string(self, string): + """Sets the string of this V1DeviceAttribute. + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :param string: The string of this V1DeviceAttribute. # noqa: E501 + :type: str + """ + + self._string = string + + @property + def version(self): + """Gets the version of this V1DeviceAttribute. # noqa: E501 + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :return: The version of this V1DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this V1DeviceAttribute. + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :param version: The version of this V1DeviceAttribute. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceAttribute): + 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, V1DeviceAttribute): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_capacity.py b/kubernetes/client/models/v1_device_capacity.py new file mode 100644 index 0000000000..46ae676254 --- /dev/null +++ b/kubernetes/client/models/v1_device_capacity.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceCapacity(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 = { + 'request_policy': 'V1CapacityRequestPolicy', + 'value': 'str' + } + + attribute_map = { + 'request_policy': 'requestPolicy', + 'value': 'value' + } + + def __init__(self, request_policy=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceCapacity - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._request_policy = None + self._value = None + self.discriminator = None + + if request_policy is not None: + self.request_policy = request_policy + self.value = value + + @property + def request_policy(self): + """Gets the request_policy of this V1DeviceCapacity. # noqa: E501 + + + :return: The request_policy of this V1DeviceCapacity. # noqa: E501 + :rtype: V1CapacityRequestPolicy + """ + return self._request_policy + + @request_policy.setter + def request_policy(self, request_policy): + """Sets the request_policy of this V1DeviceCapacity. + + + :param request_policy: The request_policy of this V1DeviceCapacity. # noqa: E501 + :type: V1CapacityRequestPolicy + """ + + self._request_policy = request_policy + + @property + def value(self): + """Gets the value of this V1DeviceCapacity. # noqa: E501 + + Value defines how much of a certain capacity that device has. This field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value. # noqa: E501 + + :return: The value of this V1DeviceCapacity. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1DeviceCapacity. + + Value defines how much of a certain capacity that device has. This field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value. # noqa: E501 + + :param value: The value of this V1DeviceCapacity. # noqa: E501 + :type: 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): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceCapacity): + 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, V1DeviceCapacity): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_claim.py b/kubernetes/client/models/v1_device_claim.py new file mode 100644 index 0000000000..426704d6bb --- /dev/null +++ b/kubernetes/client/models/v1_device_claim.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClaim(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1DeviceClaimConfiguration]', + 'constraints': 'list[V1DeviceConstraint]', + 'requests': 'list[V1DeviceRequest]' + } + + attribute_map = { + 'config': 'config', + 'constraints': 'constraints', + 'requests': 'requests' + } + + def __init__(self, config=None, constraints=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClaim - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._constraints = None + self._requests = None + self.discriminator = None + + if config is not None: + self.config = config + if constraints is not None: + self.constraints = constraints + if requests is not None: + self.requests = requests + + @property + def config(self): + """Gets the config of this V1DeviceClaim. # noqa: E501 + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :return: The config of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceClaimConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1DeviceClaim. + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :param config: The config of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceClaimConfiguration] + """ + + self._config = config + + @property + def constraints(self): + """Gets the constraints of this V1DeviceClaim. # noqa: E501 + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :return: The constraints of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceConstraint] + """ + return self._constraints + + @constraints.setter + def constraints(self, constraints): + """Sets the constraints of this V1DeviceClaim. + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :param constraints: The constraints of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceConstraint] + """ + + self._constraints = constraints + + @property + def requests(self): + """Gets the requests of this V1DeviceClaim. # noqa: E501 + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :return: The requests of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceRequest] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceClaim. + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :param requests: The requests of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceRequest] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceClaim): + 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, V1DeviceClaim): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_claim_configuration.py b/kubernetes/client/models/v1_device_claim_configuration.py similarity index 67% rename from kubernetes/client/models/v1alpha3_device_claim_configuration.py rename to kubernetes/client/models/v1_device_claim_configuration.py index a634523dc1..01f0bf05e5 100644 --- a/kubernetes/client/models/v1alpha3_device_claim_configuration.py +++ b/kubernetes/client/models/v1_device_claim_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceClaimConfiguration(object): +class V1DeviceClaimConfiguration(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha3DeviceClaimConfiguration(object): and the value is json key in definition. """ openapi_types = { - 'opaque': 'V1alpha3OpaqueDeviceConfiguration', + 'opaque': 'V1OpaqueDeviceConfiguration', 'requests': 'list[str]' } @@ -43,7 +43,7 @@ class V1alpha3DeviceClaimConfiguration(object): } def __init__(self, opaque=None, requests=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceClaimConfiguration - a model defined in OpenAPI""" # noqa: E501 + """V1DeviceClaimConfiguration - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -59,43 +59,43 @@ def __init__(self, opaque=None, requests=None, local_vars_configuration=None): @property def opaque(self): - """Gets the opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + """Gets the opaque of this V1DeviceClaimConfiguration. # noqa: E501 - :return: The opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 - :rtype: V1alpha3OpaqueDeviceConfiguration + :return: The opaque of this V1DeviceClaimConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration """ return self._opaque @opaque.setter def opaque(self, opaque): - """Sets the opaque of this V1alpha3DeviceClaimConfiguration. + """Sets the opaque of this V1DeviceClaimConfiguration. - :param opaque: The opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 - :type: V1alpha3OpaqueDeviceConfiguration + :param opaque: The opaque of this V1DeviceClaimConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration """ self._opaque = opaque @property def requests(self): - """Gets the requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + """Gets the requests of this V1DeviceClaimConfiguration. # 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 + :return: The requests of this V1DeviceClaimConfiguration. # noqa: E501 :rtype: list[str] """ return self._requests @requests.setter def requests(self, requests): - """Sets the requests of this V1alpha3DeviceClaimConfiguration. + """Sets the requests of this V1DeviceClaimConfiguration. - 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 + :param requests: The requests of this V1DeviceClaimConfiguration. # noqa: E501 :type: list[str] """ @@ -135,14 +135,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceClaimConfiguration): + if not isinstance(other, V1DeviceClaimConfiguration): 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, V1alpha3DeviceClaimConfiguration): + if not isinstance(other, V1DeviceClaimConfiguration): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_class.py b/kubernetes/client/models/v1_device_class.py new file mode 100644 index 0000000000..89fcc6ace6 --- /dev/null +++ b/kubernetes/client/models/v1_device_class.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClass(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': 'V1DeviceClassSpec' + } + + 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 + """V1DeviceClass - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1DeviceClass. # 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 V1DeviceClass. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DeviceClass. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1DeviceClass. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1DeviceClass. # 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 V1DeviceClass. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DeviceClass. + + 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 V1DeviceClass. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DeviceClass. # noqa: E501 + + + :return: The metadata of this V1DeviceClass. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DeviceClass. + + + :param metadata: The metadata of this V1DeviceClass. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1DeviceClass. # noqa: E501 + + + :return: The spec of this V1DeviceClass. # noqa: E501 + :rtype: V1DeviceClassSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1DeviceClass. + + + :param spec: The spec of this V1DeviceClass. # noqa: E501 + :type: V1DeviceClassSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceClass): + 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, V1DeviceClass): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class_configuration.py b/kubernetes/client/models/v1_device_class_configuration.py similarity index 77% rename from kubernetes/client/models/v1alpha3_device_class_configuration.py rename to kubernetes/client/models/v1_device_class_configuration.py index bf547b0c57..92f95a3593 100644 --- a/kubernetes/client/models/v1alpha3_device_class_configuration.py +++ b/kubernetes/client/models/v1_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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceClassConfiguration(object): +class V1DeviceClassConfiguration(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha3DeviceClassConfiguration(object): and the value is json key in definition. """ openapi_types = { - 'opaque': 'V1alpha3OpaqueDeviceConfiguration' + 'opaque': 'V1OpaqueDeviceConfiguration' } attribute_map = { @@ -41,7 +41,7 @@ class V1alpha3DeviceClassConfiguration(object): } def __init__(self, opaque=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceClassConfiguration - a model defined in OpenAPI""" # noqa: E501 + """V1DeviceClassConfiguration - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,21 +54,21 @@ def __init__(self, opaque=None, local_vars_configuration=None): # noqa: E501 @property def opaque(self): - """Gets the opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 + """Gets the opaque of this V1DeviceClassConfiguration. # noqa: E501 - :return: The opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 - :rtype: V1alpha3OpaqueDeviceConfiguration + :return: The opaque of this V1DeviceClassConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration """ return self._opaque @opaque.setter def opaque(self, opaque): - """Sets the opaque of this V1alpha3DeviceClassConfiguration. + """Sets the opaque of this V1DeviceClassConfiguration. - :param opaque: The opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 - :type: V1alpha3OpaqueDeviceConfiguration + :param opaque: The opaque of this V1DeviceClassConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration """ self._opaque = opaque @@ -107,14 +107,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceClassConfiguration): + if not isinstance(other, V1DeviceClassConfiguration): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha3DeviceClassConfiguration): + if not isinstance(other, V1DeviceClassConfiguration): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class_list.py b/kubernetes/client/models/v1_device_class_list.py similarity index 78% rename from kubernetes/client/models/v1alpha3_device_class_list.py rename to kubernetes/client/models/v1_device_class_list.py index d582b6bf71..4aea924f89 100644 --- a/kubernetes/client/models/v1alpha3_device_class_list.py +++ b/kubernetes/client/models/v1_device_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceClassList(object): +class V1DeviceClassList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha3DeviceClassList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha3DeviceClass]', + 'items': 'list[V1DeviceClass]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha3DeviceClassList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceClassList - a model defined in OpenAPI""" # noqa: E501 + """V1DeviceClassList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None, local @property def api_version(self): - """Gets the api_version of this V1alpha3DeviceClassList. # noqa: E501 + """Gets the api_version of this V1DeviceClassList. # 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 V1alpha3DeviceClassList. # noqa: E501 + :return: The api_version of this V1DeviceClassList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha3DeviceClassList. + """Sets the api_version of this V1DeviceClassList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1alpha3DeviceClassList. # noqa: E501 + :param api_version: The api_version of this V1DeviceClassList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ def api_version(self, api_version): @property def items(self): - """Gets the items of this V1alpha3DeviceClassList. # noqa: E501 + """Gets the items of this V1DeviceClassList. # noqa: E501 Items is the list of resource classes. # noqa: E501 - :return: The items of this V1alpha3DeviceClassList. # noqa: E501 - :rtype: list[V1alpha3DeviceClass] + :return: The items of this V1DeviceClassList. # noqa: E501 + :rtype: list[V1DeviceClass] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha3DeviceClassList. + """Sets the items of this V1DeviceClassList. Items is the list of resource classes. # noqa: E501 - :param items: The items of this V1alpha3DeviceClassList. # noqa: E501 - :type: list[V1alpha3DeviceClass] + :param items: The items of this V1DeviceClassList. # noqa: E501 + :type: list[V1DeviceClass] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ def items(self, items): @property def kind(self): - """Gets the kind of this V1alpha3DeviceClassList. # noqa: E501 + """Gets the kind of this V1DeviceClassList. # 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 V1alpha3DeviceClassList. # noqa: E501 + :return: The kind of this V1DeviceClassList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha3DeviceClassList. + """Sets the kind of this V1DeviceClassList. 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 V1alpha3DeviceClassList. # noqa: E501 + :param kind: The kind of this V1DeviceClassList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ def kind(self, kind): @property def metadata(self): - """Gets the metadata of this V1alpha3DeviceClassList. # noqa: E501 + """Gets the metadata of this V1DeviceClassList. # noqa: E501 - :return: The metadata of this V1alpha3DeviceClassList. # noqa: E501 + :return: The metadata of this V1DeviceClassList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha3DeviceClassList. + """Sets the metadata of this V1DeviceClassList. - :param metadata: The metadata of this V1alpha3DeviceClassList. # noqa: E501 + :param metadata: The metadata of this V1DeviceClassList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceClassList): + if not isinstance(other, V1DeviceClassList): 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, V1alpha3DeviceClassList): + if not isinstance(other, V1DeviceClassList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class_spec.py b/kubernetes/client/models/v1_device_class_spec.py similarity index 54% rename from kubernetes/client/models/v1alpha3_device_class_spec.py rename to kubernetes/client/models/v1_device_class_spec.py index 4655604235..221d484f14 100644 --- a/kubernetes/client/models/v1alpha3_device_class_spec.py +++ b/kubernetes/client/models/v1_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: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceClassSpec(object): +class V1DeviceClassSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,72 +33,100 @@ class V1alpha3DeviceClassSpec(object): and the value is json key in definition. """ openapi_types = { - 'config': 'list[V1alpha3DeviceClassConfiguration]', - 'selectors': 'list[V1alpha3DeviceSelector]' + 'config': 'list[V1DeviceClassConfiguration]', + 'extended_resource_name': 'str', + 'selectors': 'list[V1DeviceSelector]' } attribute_map = { 'config': 'config', + 'extended_resource_name': 'extendedResourceName', 'selectors': 'selectors' } - def __init__(self, config=None, selectors=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceClassSpec - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, config=None, extended_resource_name=None, selectors=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClassSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._config = None + self._extended_resource_name = None self._selectors = None self.discriminator = None if config is not None: self.config = config + if extended_resource_name is not None: + self.extended_resource_name = extended_resource_name if selectors is not None: self.selectors = selectors @property def config(self): - """Gets the config of this V1alpha3DeviceClassSpec. # noqa: E501 + """Gets the config of this V1DeviceClassSpec. # noqa: E501 Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 - :return: The config of this V1alpha3DeviceClassSpec. # noqa: E501 - :rtype: list[V1alpha3DeviceClassConfiguration] + :return: The config of this V1DeviceClassSpec. # noqa: E501 + :rtype: list[V1DeviceClassConfiguration] """ return self._config @config.setter def config(self, config): - """Sets the config of this V1alpha3DeviceClassSpec. + """Sets the config of this V1DeviceClassSpec. Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 - :param config: The config of this V1alpha3DeviceClassSpec. # noqa: E501 - :type: list[V1alpha3DeviceClassConfiguration] + :param config: The config of this V1DeviceClassSpec. # noqa: E501 + :type: list[V1DeviceClassConfiguration] """ self._config = config + @property + def extended_resource_name(self): + """Gets the extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + + ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked. This is an alpha field. # noqa: E501 + + :return: The extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + :rtype: str + """ + return self._extended_resource_name + + @extended_resource_name.setter + def extended_resource_name(self, extended_resource_name): + """Sets the extended_resource_name of this V1DeviceClassSpec. + + ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked. This is an alpha field. # noqa: E501 + + :param extended_resource_name: The extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + :type: str + """ + + self._extended_resource_name = extended_resource_name + @property def selectors(self): - """Gets the selectors of this V1alpha3DeviceClassSpec. # noqa: E501 + """Gets the selectors of this V1DeviceClassSpec. # noqa: E501 Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 - :return: The selectors of this V1alpha3DeviceClassSpec. # noqa: E501 - :rtype: list[V1alpha3DeviceSelector] + :return: The selectors of this V1DeviceClassSpec. # noqa: E501 + :rtype: list[V1DeviceSelector] """ return self._selectors @selectors.setter def selectors(self, selectors): - """Sets the selectors of this V1alpha3DeviceClassSpec. + """Sets the selectors of this V1DeviceClassSpec. Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 - :param selectors: The selectors of this V1alpha3DeviceClassSpec. # noqa: E501 - :type: list[V1alpha3DeviceSelector] + :param selectors: The selectors of this V1DeviceClassSpec. # noqa: E501 + :type: list[V1DeviceSelector] """ self._selectors = selectors @@ -137,14 +165,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceClassSpec): + if not isinstance(other, V1DeviceClassSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha3DeviceClassSpec): + if not isinstance(other, V1DeviceClassSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_constraint.py b/kubernetes/client/models/v1_device_constraint.py new file mode 100644 index 0000000000..8ab882c32f --- /dev/null +++ b/kubernetes/client/models/v1_device_constraint.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceConstraint(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 = { + 'distinct_attribute': 'str', + 'match_attribute': 'str', + 'requests': 'list[str]' + } + + attribute_map = { + 'distinct_attribute': 'distinctAttribute', + 'match_attribute': 'matchAttribute', + 'requests': 'requests' + } + + def __init__(self, distinct_attribute=None, match_attribute=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceConstraint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._distinct_attribute = None + self._match_attribute = None + self._requests = None + self.discriminator = None + + if distinct_attribute is not None: + self.distinct_attribute = distinct_attribute + if match_attribute is not None: + self.match_attribute = match_attribute + if requests is not None: + self.requests = requests + + @property + def distinct_attribute(self): + """Gets the distinct_attribute of this V1DeviceConstraint. # noqa: E501 + + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. This is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs. # noqa: E501 + + :return: The distinct_attribute of this V1DeviceConstraint. # noqa: E501 + :rtype: str + """ + return self._distinct_attribute + + @distinct_attribute.setter + def distinct_attribute(self, distinct_attribute): + """Sets the distinct_attribute of this V1DeviceConstraint. + + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. This is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs. # noqa: E501 + + :param distinct_attribute: The distinct_attribute of this V1DeviceConstraint. # noqa: E501 + :type: str + """ + + self._distinct_attribute = distinct_attribute + + @property + def match_attribute(self): + """Gets the match_attribute of this V1DeviceConstraint. # noqa: E501 + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :return: The match_attribute of this V1DeviceConstraint. # noqa: E501 + :rtype: str + """ + return self._match_attribute + + @match_attribute.setter + def match_attribute(self, match_attribute): + """Sets the match_attribute of this V1DeviceConstraint. + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :param match_attribute: The match_attribute of this V1DeviceConstraint. # noqa: E501 + :type: str + """ + + self._match_attribute = match_attribute + + @property + def requests(self): + """Gets the requests of this V1DeviceConstraint. # 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 V1DeviceConstraint. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceConstraint. + + 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 V1DeviceConstraint. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceConstraint): + 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, V1DeviceConstraint): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_expression_warning.py b/kubernetes/client/models/v1_device_counter_consumption.py similarity index 50% rename from kubernetes/client/models/v1beta1_expression_warning.py rename to kubernetes/client/models/v1_device_counter_consumption.py index fecb5ac72f..83db4e7757 100644 --- a/kubernetes/client/models/v1beta1_expression_warning.py +++ b/kubernetes/client/models/v1_device_counter_consumption.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1beta1ExpressionWarning(object): +class V1DeviceCounterConsumption(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,77 +33,77 @@ class V1beta1ExpressionWarning(object): and the value is json key in definition. """ openapi_types = { - 'field_ref': 'str', - 'warning': 'str' + 'counter_set': 'str', + 'counters': 'dict(str, V1Counter)' } attribute_map = { - 'field_ref': 'fieldRef', - 'warning': 'warning' + 'counter_set': 'counterSet', + 'counters': 'counters' } - def __init__(self, field_ref=None, warning=None, local_vars_configuration=None): # noqa: E501 - """V1beta1ExpressionWarning - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, counter_set=None, counters=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceCounterConsumption - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._field_ref = None - self._warning = None + self._counter_set = None + self._counters = None self.discriminator = None - self.field_ref = field_ref - self.warning = warning + self.counter_set = counter_set + self.counters = counters @property - def field_ref(self): - """Gets the field_ref of this V1beta1ExpressionWarning. # noqa: E501 + def counter_set(self): + """Gets the counter_set of this V1DeviceCounterConsumption. # noqa: E501 - The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" # noqa: E501 + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 - :return: The field_ref of this V1beta1ExpressionWarning. # noqa: E501 + :return: The counter_set of this V1DeviceCounterConsumption. # noqa: E501 :rtype: str """ - return self._field_ref + return self._counter_set - @field_ref.setter - def field_ref(self, field_ref): - """Sets the field_ref of this V1beta1ExpressionWarning. + @counter_set.setter + def counter_set(self, counter_set): + """Sets the counter_set of this V1DeviceCounterConsumption. - The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" # noqa: E501 + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 - :param field_ref: The field_ref of this V1beta1ExpressionWarning. # noqa: E501 + :param counter_set: The counter_set of this V1DeviceCounterConsumption. # noqa: E501 :type: str """ - if self.local_vars_configuration.client_side_validation and field_ref is None: # noqa: E501 - raise ValueError("Invalid value for `field_ref`, must not be `None`") # noqa: E501 + 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._field_ref = field_ref + self._counter_set = counter_set @property - def warning(self): - """Gets the warning of this V1beta1ExpressionWarning. # noqa: E501 + def counters(self): + """Gets the counters of this V1DeviceCounterConsumption. # noqa: E501 - The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. # noqa: E501 + Counters defines the counters that will be consumed by the device. The maximum number of counters is 32. # noqa: E501 - :return: The warning of this V1beta1ExpressionWarning. # noqa: E501 - :rtype: str + :return: The counters of this V1DeviceCounterConsumption. # noqa: E501 + :rtype: dict(str, V1Counter) """ - return self._warning + return self._counters - @warning.setter - def warning(self, warning): - """Sets the warning of this V1beta1ExpressionWarning. + @counters.setter + def counters(self, counters): + """Sets the counters of this V1DeviceCounterConsumption. - The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. # noqa: E501 + Counters defines the counters that will be consumed by the device. The maximum number of counters is 32. # noqa: E501 - :param warning: The warning of this V1beta1ExpressionWarning. # noqa: E501 - :type: str + :param counters: The counters of this V1DeviceCounterConsumption. # noqa: E501 + :type: dict(str, V1Counter) """ - if self.local_vars_configuration.client_side_validation and warning is None: # noqa: E501 - raise ValueError("Invalid value for `warning`, must not be `None`") # noqa: E501 + 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._warning = warning + self._counters = counters def to_dict(self): """Returns the model properties as a dict""" @@ -139,14 +139,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1beta1ExpressionWarning): + if not isinstance(other, V1DeviceCounterConsumption): 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, V1beta1ExpressionWarning): + if not isinstance(other, V1DeviceCounterConsumption): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_request.py b/kubernetes/client/models/v1_device_request.py new file mode 100644 index 0000000000..e9937cb2b1 --- /dev/null +++ b/kubernetes/client/models/v1_device_request.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceRequest(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 = { + 'exactly': 'V1ExactDeviceRequest', + 'first_available': 'list[V1DeviceSubRequest]', + 'name': 'str' + } + + attribute_map = { + 'exactly': 'exactly', + 'first_available': 'firstAvailable', + 'name': 'name' + } + + def __init__(self, exactly=None, first_available=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._exactly = None + self._first_available = None + self._name = None + self.discriminator = None + + if exactly is not None: + self.exactly = exactly + if first_available is not None: + self.first_available = first_available + self.name = name + + @property + def exactly(self): + """Gets the exactly of this V1DeviceRequest. # noqa: E501 + + + :return: The exactly of this V1DeviceRequest. # noqa: E501 + :rtype: V1ExactDeviceRequest + """ + return self._exactly + + @exactly.setter + def exactly(self, exactly): + """Sets the exactly of this V1DeviceRequest. + + + :param exactly: The exactly of this V1DeviceRequest. # noqa: E501 + :type: V1ExactDeviceRequest + """ + + self._exactly = exactly + + @property + def first_available(self): + """Gets the first_available of this V1DeviceRequest. # noqa: E501 + + FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. 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 can not be used. 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 V1DeviceRequest. # noqa: E501 + :rtype: list[V1DeviceSubRequest] + """ + return self._first_available + + @first_available.setter + def first_available(self, first_available): + """Sets the first_available of this V1DeviceRequest. + + FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. 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 can not be used. 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 V1DeviceRequest. # noqa: E501 + :type: list[V1DeviceSubRequest] + """ + + self._first_available = first_available + + @property + def name(self): + """Gets the name of this V1DeviceRequest. # noqa: E501 + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. # noqa: E501 + + :return: The name of this V1DeviceRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1DeviceRequest. + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. # noqa: E501 + + :param name: The name of this V1DeviceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceRequest): + 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, V1DeviceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_request_allocation_result.py b/kubernetes/client/models/v1_device_request_allocation_result.py new file mode 100644 index 0000000000..6f63724873 --- /dev/null +++ b/kubernetes/client/models/v1_device_request_allocation_result.py @@ -0,0 +1,378 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceRequestAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'admin_access': 'bool', + 'binding_conditions': 'list[str]', + 'binding_failure_conditions': 'list[str]', + 'consumed_capacity': 'dict(str, str)', + 'device': 'str', + 'driver': 'str', + 'pool': 'str', + 'request': 'str', + 'share_id': 'str', + 'tolerations': 'list[V1DeviceToleration]' + } + + attribute_map = { + 'admin_access': 'adminAccess', + 'binding_conditions': 'bindingConditions', + 'binding_failure_conditions': 'bindingFailureConditions', + 'consumed_capacity': 'consumedCapacity', + 'device': 'device', + 'driver': 'driver', + 'pool': 'pool', + 'request': 'request', + 'share_id': 'shareID', + 'tolerations': 'tolerations' + } + + def __init__(self, admin_access=None, binding_conditions=None, binding_failure_conditions=None, consumed_capacity=None, device=None, driver=None, pool=None, request=None, share_id=None, tolerations=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceRequestAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._admin_access = None + self._binding_conditions = None + self._binding_failure_conditions = None + self._consumed_capacity = None + self._device = None + self._driver = None + self._pool = None + self._request = None + self._share_id = None + self._tolerations = None + self.discriminator = None + + if admin_access is not None: + self.admin_access = admin_access + if binding_conditions is not None: + self.binding_conditions = binding_conditions + if binding_failure_conditions is not None: + self.binding_failure_conditions = binding_failure_conditions + if consumed_capacity is not None: + self.consumed_capacity = consumed_capacity + self.device = device + self.driver = driver + self.pool = pool + self.request = request + if share_id is not None: + self.share_id = share_id + if tolerations is not None: + self.tolerations = tolerations + + @property + def admin_access(self): + """Gets the admin_access of this V1DeviceRequestAllocationResult. # noqa: E501 + + AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. 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 V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: bool + """ + return self._admin_access + + @admin_access.setter + def admin_access(self, admin_access): + """Sets the admin_access of this V1DeviceRequestAllocationResult. + + AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. 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 V1DeviceRequestAllocationResult. # noqa: E501 + :type: bool + """ + + self._admin_access = admin_access + + @property + def binding_conditions(self): + """Gets the binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + + BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[str] + """ + return self._binding_conditions + + @binding_conditions.setter + def binding_conditions(self, binding_conditions): + """Sets the binding_conditions of this V1DeviceRequestAllocationResult. + + BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_conditions: The binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[str] + """ + + self._binding_conditions = binding_conditions + + @property + def binding_failure_conditions(self): + """Gets the binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + + BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[str] + """ + return self._binding_failure_conditions + + @binding_failure_conditions.setter + def binding_failure_conditions(self, binding_failure_conditions): + """Sets the binding_failure_conditions of this V1DeviceRequestAllocationResult. + + BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_failure_conditions: The binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[str] + """ + + self._binding_failure_conditions = binding_failure_conditions + + @property + def consumed_capacity(self): + """Gets the consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + + ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. # noqa: E501 + + :return: The consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: dict(str, str) + """ + return self._consumed_capacity + + @consumed_capacity.setter + def consumed_capacity(self, consumed_capacity): + """Sets the consumed_capacity of this V1DeviceRequestAllocationResult. + + ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. # noqa: E501 + + :param consumed_capacity: The consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: dict(str, str) + """ + + self._consumed_capacity = consumed_capacity + + @property + def device(self): + """Gets the device of this V1DeviceRequestAllocationResult. # noqa: E501 + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :return: The device of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this V1DeviceRequestAllocationResult. + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :param device: The device of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device is None: # noqa: E501 + raise ValueError("Invalid value for `device`, must not be `None`") # noqa: E501 + + self._device = device + + @property + def driver(self): + """Gets the driver of this V1DeviceRequestAllocationResult. # noqa: E501 + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :return: The driver of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1DeviceRequestAllocationResult. + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :param driver: The driver of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def pool(self): + """Gets the pool of this V1DeviceRequestAllocationResult. # noqa: E501 + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :return: The pool of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1DeviceRequestAllocationResult. + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :param pool: The pool of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 + raise ValueError("Invalid value for `pool`, must not be `None`") # noqa: E501 + + self._pool = pool + + @property + def request(self): + """Gets the request of this V1DeviceRequestAllocationResult. # 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 V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this V1DeviceRequestAllocationResult. + + 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 V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request is None: # noqa: E501 + raise ValueError("Invalid value for `request`, must not be `None`") # noqa: E501 + + self._request = request + + @property + def share_id(self): + """Gets the share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + + ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device. # noqa: E501 + + :return: The share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._share_id + + @share_id.setter + def share_id(self, share_id): + """Sets the share_id of this V1DeviceRequestAllocationResult. + + ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device. # noqa: E501 + + :param share_id: The share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + + self._share_id = share_id + + @property + def tolerations(self): + """Gets the tolerations of this V1DeviceRequestAllocationResult. # 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 V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[V1DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1DeviceRequestAllocationResult. + + 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 V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[V1DeviceToleration] + """ + + self._tolerations = tolerations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceRequestAllocationResult): + 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, V1DeviceRequestAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_selector.py b/kubernetes/client/models/v1_device_selector.py similarity index 80% rename from kubernetes/client/models/v1alpha3_device_selector.py rename to kubernetes/client/models/v1_device_selector.py index 3fab067b39..32e57d1349 100644 --- a/kubernetes/client/models/v1alpha3_device_selector.py +++ b/kubernetes/client/models/v1_device_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.32 + The version of the OpenAPI document: release-1.35 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha3DeviceSelector(object): +class V1DeviceSelector(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha3DeviceSelector(object): and the value is json key in definition. """ openapi_types = { - 'cel': 'V1alpha3CELDeviceSelector' + 'cel': 'V1CELDeviceSelector' } attribute_map = { @@ -41,7 +41,7 @@ class V1alpha3DeviceSelector(object): } def __init__(self, cel=None, local_vars_configuration=None): # noqa: E501 - """V1alpha3DeviceSelector - a model defined in OpenAPI""" # noqa: E501 + """V1DeviceSelector - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,21 +54,21 @@ def __init__(self, cel=None, local_vars_configuration=None): # noqa: E501 @property def cel(self): - """Gets the cel of this V1alpha3DeviceSelector. # noqa: E501 + """Gets the cel of this V1DeviceSelector. # noqa: E501 - :return: The cel of this V1alpha3DeviceSelector. # noqa: E501 - :rtype: V1alpha3CELDeviceSelector + :return: The cel of this V1DeviceSelector. # noqa: E501 + :rtype: V1CELDeviceSelector """ return self._cel @cel.setter def cel(self, cel): - """Sets the cel of this V1alpha3DeviceSelector. + """Sets the cel of this V1DeviceSelector. - :param cel: The cel of this V1alpha3DeviceSelector. # noqa: E501 - :type: V1alpha3CELDeviceSelector + :param cel: The cel of this V1DeviceSelector. # noqa: E501 + :type: V1CELDeviceSelector """ self._cel = cel @@ -107,14 +107,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha3DeviceSelector): + if not isinstance(other, V1DeviceSelector): 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, V1alpha3DeviceSelector): + if not isinstance(other, V1DeviceSelector): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_sub_request.py b/kubernetes/client/models/v1_device_sub_request.py new file mode 100644 index 0000000000..c038aeb1bf --- /dev/null +++ b/kubernetes/client/models/v1_device_sub_request.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceSubRequest(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', + 'capacity': 'V1CapacityRequirements', + 'count': 'int', + 'device_class_name': 'str', + 'name': 'str', + 'selectors': 'list[V1DeviceSelector]', + 'tolerations': 'list[V1DeviceToleration]' + } + + attribute_map = { + 'allocation_mode': 'allocationMode', + 'capacity': 'capacity', + 'count': 'count', + 'device_class_name': 'deviceClassName', + 'name': 'name', + 'selectors': 'selectors', + 'tolerations': 'tolerations' + } + + def __init__(self, allocation_mode=None, capacity=None, count=None, device_class_name=None, name=None, selectors=None, tolerations=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceSubRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocation_mode = None + self._capacity = 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 capacity is not None: + self.capacity = capacity + 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 V1DeviceSubRequest. # noqa: E501 + + AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. 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 subrequest 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 subrequests 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 V1DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._allocation_mode + + @allocation_mode.setter + def allocation_mode(self, allocation_mode): + """Sets the allocation_mode of this V1DeviceSubRequest. + + AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. 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 subrequest 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 subrequests 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 V1DeviceSubRequest. # noqa: E501 + :type: str + """ + + self._allocation_mode = allocation_mode + + @property + def capacity(self): + """Gets the capacity of this V1DeviceSubRequest. # noqa: E501 + + + :return: The capacity of this V1DeviceSubRequest. # noqa: E501 + :rtype: V1CapacityRequirements + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1DeviceSubRequest. + + + :param capacity: The capacity of this V1DeviceSubRequest. # noqa: E501 + :type: V1CapacityRequirements + """ + + self._capacity = capacity + + @property + def count(self): + """Gets the count of this V1DeviceSubRequest. # 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 V1DeviceSubRequest. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this V1DeviceSubRequest. + + 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 V1DeviceSubRequest. # noqa: E501 + :type: int + """ + + self._count = count + + @property + def device_class_name(self): + """Gets the device_class_name of this V1DeviceSubRequest. # 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 V1DeviceSubRequest. # 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 V1DeviceSubRequest. + + 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 V1DeviceSubRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device_class_name is None: # noqa: E501 + raise ValueError("Invalid value for `device_class_name`, must not be `None`") # noqa: E501 + + self._device_class_name = device_class_name + + @property + def name(self): + """Gets the name of this V1DeviceSubRequest. # 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 V1DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1DeviceSubRequest. + + 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 V1DeviceSubRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def selectors(self): + """Gets the selectors of this V1DeviceSubRequest. # noqa: E501 + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :return: The selectors of this V1DeviceSubRequest. # noqa: E501 + :rtype: list[V1DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1DeviceSubRequest. + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :param selectors: The selectors of this V1DeviceSubRequest. # noqa: E501 + :type: list[V1DeviceSelector] + """ + + self._selectors = selectors + + @property + def tolerations(self): + """Gets the tolerations of this V1DeviceSubRequest. # 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 V1DeviceSubRequest. # noqa: E501 + :rtype: list[V1DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1DeviceSubRequest. + + 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 V1DeviceSubRequest. # noqa: E501 + :type: list[V1DeviceToleration] + """ + + self._tolerations = tolerations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceSubRequest): + 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, V1DeviceSubRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_taint.py b/kubernetes/client/models/v1_device_taint.py new file mode 100644 index 0000000000..a8e242cbed --- /dev/null +++ b/kubernetes/client/models/v1_device_taint.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceTaint(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 + """V1DeviceTaint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._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 V1DeviceTaint. # 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 None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None. # noqa: E501 + + :return: The effect of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1DeviceTaint. + + 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 None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None. # noqa: E501 + + :param effect: The effect of this V1DeviceTaint. # noqa: E501 + :type: 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 V1DeviceTaint. # noqa: E501 + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :return: The key of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1DeviceTaint. + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :param key: The key of this V1DeviceTaint. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def time_added(self): + """Gets the time_added of this V1DeviceTaint. # 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 V1DeviceTaint. # noqa: E501 + :rtype: datetime + """ + return self._time_added + + @time_added.setter + def time_added(self, time_added): + """Sets the time_added of this V1DeviceTaint. + + 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 V1DeviceTaint. # noqa: E501 + :type: datetime + """ + + self._time_added = time_added + + @property + def value(self): + """Gets the value of this V1DeviceTaint. # noqa: E501 + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :return: The value of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1DeviceTaint. + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :param value: The value of this V1DeviceTaint. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1DeviceTaint): + 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, V1DeviceTaint): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_device_toleration.py b/kubernetes/client/models/v1_device_toleration.py new file mode 100644 index 0000000000..a1ccaf802d --- /dev/null +++ b/kubernetes/client/models/v1_device_toleration.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceToleration(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 + """V1DeviceToleration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._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 V1DeviceToleration. # 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 V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1DeviceToleration. + + 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 V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._effect = effect + + @property + def key(self): + """Gets the key of this V1DeviceToleration. # 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 V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1DeviceToleration. + + 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 V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def operator(self): + """Gets the operator of this V1DeviceToleration. # 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 V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1DeviceToleration. + + 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 V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._operator = operator + + @property + def toleration_seconds(self): + """Gets the toleration_seconds of this V1DeviceToleration. # 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