code
stringlengths
66
870k
docstring
stringlengths
19
26.7k
func_name
stringlengths
1
138
language
stringclasses
1 value
repo
stringlengths
7
68
path
stringlengths
5
324
url
stringlengths
46
389
license
stringclasses
7 values
def container_runtime_version(self, container_runtime_version): """Sets the container_runtime_version of this V1NodeSystemInfo. ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2). # noqa: E501 :param container_runtime_version: The container_runt...
Sets the container_runtime_version of this V1NodeSystemInfo. ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2). # noqa: E501 :param container_runtime_version: The container_runtime_version of this V1NodeSystemInfo. # noqa: E501 :type: str ...
container_runtime_version
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def kernel_version(self, kernel_version): """Sets the kernel_version of this V1NodeSystemInfo. Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). # noqa: E501 :param kernel_version: The kernel_version of this V1NodeSystemInfo. # noqa: E501 :type: str ...
Sets the kernel_version of this V1NodeSystemInfo. Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). # noqa: E501 :param kernel_version: The kernel_version of this V1NodeSystemInfo. # noqa: E501 :type: str
kernel_version
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def kube_proxy_version(self, kube_proxy_version): """Sets the kube_proxy_version of this V1NodeSystemInfo. Deprecated: KubeProxy Version reported by the node. # noqa: E501 :param kube_proxy_version: The kube_proxy_version of this V1NodeSystemInfo. # noqa: E501 :type: str """ ...
Sets the kube_proxy_version of this V1NodeSystemInfo. Deprecated: KubeProxy Version reported by the node. # noqa: E501 :param kube_proxy_version: The kube_proxy_version of this V1NodeSystemInfo. # noqa: E501 :type: str
kube_proxy_version
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def kubelet_version(self, kubelet_version): """Sets the kubelet_version of this V1NodeSystemInfo. Kubelet Version reported by the node. # noqa: E501 :param kubelet_version: The kubelet_version of this V1NodeSystemInfo. # noqa: E501 :type: str """ if self.local_vars_co...
Sets the kubelet_version of this V1NodeSystemInfo. Kubelet Version reported by the node. # noqa: E501 :param kubelet_version: The kubelet_version of this V1NodeSystemInfo. # noqa: E501 :type: str
kubelet_version
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def machine_id(self, machine_id): """Sets the machine_id of this V1NodeSystemInfo. MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html # noqa: E501 :...
Sets the machine_id of this V1NodeSystemInfo. MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html # noqa: E501 :param machine_id: The machine_id of this V1No...
machine_id
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def operating_system(self, operating_system): """Sets the operating_system of this V1NodeSystemInfo. The Operating System reported by the node # noqa: E501 :param operating_system: The operating_system of this V1NodeSystemInfo. # noqa: E501 :type: str """ if self.loca...
Sets the operating_system of this V1NodeSystemInfo. The Operating System reported by the node # noqa: E501 :param operating_system: The operating_system of this V1NodeSystemInfo. # noqa: E501 :type: str
operating_system
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def os_image(self, os_image): """Sets the os_image of this V1NodeSystemInfo. OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). # noqa: E501 :param os_image: The os_image of this V1NodeSystemInfo. # noqa: E501 :type: str """ if self...
Sets the os_image of this V1NodeSystemInfo. OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). # noqa: E501 :param os_image: The os_image of this V1NodeSystemInfo. # noqa: E501 :type: str
os_image
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def system_uuid(self, system_uuid): """Sets the system_uuid of this V1NodeSystemInfo. SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/r...
Sets the system_uuid of this V1NodeSystemInfo. SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid # noqa: E501 :param system_u...
system_uuid
python
kubernetes-client/python
kubernetes/client/models/v1_node_system_info.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py
Apache-2.0
def non_resource_ur_ls(self, non_resource_ur_ls): """Sets the non_resource_ur_ls of this V1NonResourcePolicyRule. `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but ...
Sets the non_resource_ur_ls of this V1NonResourcePolicyRule. `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - "/healthz" is legal - "/hea*" is illegal - "/hea" is legal but matches nothing - "/hea/*" also matches nothing - "/healthz/*" ...
non_resource_ur_ls
python
kubernetes-client/python
kubernetes/client/models/v1_non_resource_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_non_resource_policy_rule.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1NonResourcePolicyRule. `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. # noqa: E501 :param verbs: The verbs of this V1NonResourcePolicyRule. # noqa: E...
Sets the verbs of this V1NonResourcePolicyRule. `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required. # noqa: E501 :param verbs: The verbs of this V1NonResourcePolicyRule. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_non_resource_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_non_resource_policy_rule.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1NonResourceRule. Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. # noqa: E501 :param verbs: The verbs of this V1NonResourceRule. # noqa: E501 :type: list[str...
Sets the verbs of this V1NonResourceRule. Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all. # noqa: E501 :param verbs: The verbs of this V1NonResourceRule. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_non_resource_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_non_resource_rule.py
Apache-2.0
def field_path(self, field_path): """Sets the field_path of this V1ObjectFieldSelector. Path of the field to select in the specified API version. # noqa: E501 :param field_path: The field_path of this V1ObjectFieldSelector. # noqa: E501 :type: str """ if self.local_va...
Sets the field_path of this V1ObjectFieldSelector. Path of the field to select in the specified API version. # noqa: E501 :param field_path: The field_path of this V1ObjectFieldSelector. # noqa: E501 :type: str
field_path
python
kubernetes-client/python
kubernetes/client/models/v1_object_field_selector.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_object_field_selector.py
Apache-2.0
def api_version(self, api_version): """Sets the api_version of this V1OwnerReference. API version of the referent. # noqa: E501 :param api_version: The api_version of this V1OwnerReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_valid...
Sets the api_version of this V1OwnerReference. API version of the referent. # noqa: E501 :param api_version: The api_version of this V1OwnerReference. # noqa: E501 :type: str
api_version
python
kubernetes-client/python
kubernetes/client/models/v1_owner_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_owner_reference.py
Apache-2.0
def kind(self, kind): """Sets the kind of this V1OwnerReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 :param kind: The kind of this V1OwnerReference. # noqa: E501 :type: str ...
Sets the kind of this V1OwnerReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 :param kind: The kind of this V1OwnerReference. # noqa: E501 :type: str
kind
python
kubernetes-client/python
kubernetes/client/models/v1_owner_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_owner_reference.py
Apache-2.0
def name(self, name): """Sets the name of this V1OwnerReference. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names # noqa: E501 :param name: The name of this V1OwnerReference. # noqa: E501 :type: str """ if ...
Sets the name of this V1OwnerReference. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names # noqa: E501 :param name: The name of this V1OwnerReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_owner_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_owner_reference.py
Apache-2.0
def uid(self, uid): """Sets the uid of this V1OwnerReference. UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids # noqa: E501 :param uid: The uid of this V1OwnerReference. # noqa: E501 :type: str """ if self.lo...
Sets the uid of this V1OwnerReference. UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids # noqa: E501 :param uid: The uid of this V1OwnerReference. # noqa: E501 :type: str
uid
python
kubernetes-client/python
kubernetes/client/models/v1_owner_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_owner_reference.py
Apache-2.0
def name(self, name): """Sets the name of this V1ParentReference. Name is the name of the object being referenced. # noqa: E501 :param name: The name of this V1ParentReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and nam...
Sets the name of this V1ParentReference. Name is the name of the object being referenced. # noqa: E501 :param name: The name of this V1ParentReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_parent_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_parent_reference.py
Apache-2.0
def resource(self, resource): """Sets the resource of this V1ParentReference. Resource is the resource of the object being referenced. # noqa: E501 :param resource: The resource of this V1ParentReference. # noqa: E501 :type: str """ if self.local_vars_configuration.cl...
Sets the resource of this V1ParentReference. Resource is the resource of the object being referenced. # noqa: E501 :param resource: The resource of this V1ParentReference. # noqa: E501 :type: str
resource
python
kubernetes-client/python
kubernetes/client/models/v1_parent_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_parent_reference.py
Apache-2.0
def status(self, status): """Sets the status of this V1PersistentVolumeClaimCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,co...
Sets the status of this V1PersistentVolumeClaimCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20requir...
status
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_claim_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_claim_condition.py
Apache-2.0
def type(self, type): """Sets the type of this V1PersistentVolumeClaimCondition. Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondi...
Sets the type of this V1PersistentVolumeClaimCondition. Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about ...
type
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_claim_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_claim_condition.py
Apache-2.0
def items(self, items): """Sets the items of this V1PersistentVolumeClaimList. items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims # noqa: E501 :param items: The items of this V1PersistentVolumeClaimList...
Sets the items of this V1PersistentVolumeClaimList. items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims # noqa: E501 :param items: The items of this V1PersistentVolumeClaimList. # noqa: E501 :type: list...
items
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_claim_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_claim_list.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1PersistentVolumeClaimTemplate. :param spec: The spec of this V1PersistentVolumeClaimTemplate. # noqa: E501 :type: V1PersistentVolumeClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa:...
Sets the spec of this V1PersistentVolumeClaimTemplate. :param spec: The spec of this V1PersistentVolumeClaimTemplate. # noqa: E501 :type: V1PersistentVolumeClaimSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_claim_template.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_claim_template.py
Apache-2.0
def claim_name(self, claim_name): """Sets the claim_name of this V1PersistentVolumeClaimVolumeSource. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims # ...
Sets the claim_name of this V1PersistentVolumeClaimVolumeSource. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims # noqa: E501 :param claim_name: The cl...
claim_name
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_claim_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py
Apache-2.0
def items(self, items): """Sets the items of this V1PersistentVolumeList. items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes # noqa: E501 :param items: The items of this V1PersistentVolumeList. # noqa: E501 :type: list[V1P...
Sets the items of this V1PersistentVolumeList. items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes # noqa: E501 :param items: The items of this V1PersistentVolumeList. # noqa: E501 :type: list[V1PersistentVolume]
items
python
kubernetes-client/python
kubernetes/client/models/v1_persistent_volume_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_persistent_volume_list.py
Apache-2.0
def pd_id(self, pd_id): """Sets the pd_id of this V1PhotonPersistentDiskVolumeSource. pdID is the ID that identifies Photon Controller persistent disk # noqa: E501 :param pd_id: The pd_id of this V1PhotonPersistentDiskVolumeSource. # noqa: E501 :type: str """ if self....
Sets the pd_id of this V1PhotonPersistentDiskVolumeSource. pdID is the ID that identifies Photon Controller persistent disk # noqa: E501 :param pd_id: The pd_id of this V1PhotonPersistentDiskVolumeSource. # noqa: E501 :type: str
pd_id
python
kubernetes-client/python
kubernetes/client/models/v1_photon_persistent_disk_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py
Apache-2.0
def topology_key(self, topology_key): """Sets the topology_key of this V1PodAffinityTerm. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the ...
Sets the topology_key of this V1PodAffinityTerm. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any no...
topology_key
python
kubernetes-client/python
kubernetes/client/models/v1_pod_affinity_term.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_affinity_term.py
Apache-2.0
def status(self, status): """Sets the status of this V1PodCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions # noqa: E501 :param status: The status of this V1PodCondition. #...
Sets the status of this V1PodCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions # noqa: E501 :param status: The status of this V1PodCondition. # noqa: E501 :type: str ...
status
python
kubernetes-client/python
kubernetes/client/models/v1_pod_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_condition.py
Apache-2.0
def type(self, type): """Sets the type of this V1PodCondition. Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions # noqa: E501 :param type: The type of this V1PodCondition. # noqa: E501 :type: str """ ...
Sets the type of this V1PodCondition. Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions # noqa: E501 :param type: The type of this V1PodCondition. # noqa: E501 :type: str
type
python
kubernetes-client/python
kubernetes/client/models/v1_pod_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_condition.py
Apache-2.0
def items(self, items): """Sets the items of this V1PodDisruptionBudgetList. Items is a list of PodDisruptionBudgets # noqa: E501 :param items: The items of this V1PodDisruptionBudgetList. # noqa: E501 :type: list[V1PodDisruptionBudget] """ if self.local_vars_configur...
Sets the items of this V1PodDisruptionBudgetList. Items is a list of PodDisruptionBudgets # noqa: E501 :param items: The items of this V1PodDisruptionBudgetList. # noqa: E501 :type: list[V1PodDisruptionBudget]
items
python
kubernetes-client/python
kubernetes/client/models/v1_pod_disruption_budget_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_disruption_budget_list.py
Apache-2.0
def current_healthy(self, current_healthy): """Sets the current_healthy of this V1PodDisruptionBudgetStatus. current number of healthy pods # noqa: E501 :param current_healthy: The current_healthy of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int """ if sel...
Sets the current_healthy of this V1PodDisruptionBudgetStatus. current number of healthy pods # noqa: E501 :param current_healthy: The current_healthy of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int
current_healthy
python
kubernetes-client/python
kubernetes/client/models/v1_pod_disruption_budget_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_disruption_budget_status.py
Apache-2.0
def desired_healthy(self, desired_healthy): """Sets the desired_healthy of this V1PodDisruptionBudgetStatus. minimum desired number of healthy pods # noqa: E501 :param desired_healthy: The desired_healthy of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int """ ...
Sets the desired_healthy of this V1PodDisruptionBudgetStatus. minimum desired number of healthy pods # noqa: E501 :param desired_healthy: The desired_healthy of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int
desired_healthy
python
kubernetes-client/python
kubernetes/client/models/v1_pod_disruption_budget_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_disruption_budget_status.py
Apache-2.0
def disruptions_allowed(self, disruptions_allowed): """Sets the disruptions_allowed of this V1PodDisruptionBudgetStatus. Number of pod disruptions that are currently allowed. # noqa: E501 :param disruptions_allowed: The disruptions_allowed of this V1PodDisruptionBudgetStatus. # noqa: E501 ...
Sets the disruptions_allowed of this V1PodDisruptionBudgetStatus. Number of pod disruptions that are currently allowed. # noqa: E501 :param disruptions_allowed: The disruptions_allowed of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int
disruptions_allowed
python
kubernetes-client/python
kubernetes/client/models/v1_pod_disruption_budget_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_disruption_budget_status.py
Apache-2.0
def expected_pods(self, expected_pods): """Sets the expected_pods of this V1PodDisruptionBudgetStatus. total number of pods counted by this disruption budget # noqa: E501 :param expected_pods: The expected_pods of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int """ ...
Sets the expected_pods of this V1PodDisruptionBudgetStatus. total number of pods counted by this disruption budget # noqa: E501 :param expected_pods: The expected_pods of this V1PodDisruptionBudgetStatus. # noqa: E501 :type: int
expected_pods
python
kubernetes-client/python
kubernetes/client/models/v1_pod_disruption_budget_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_disruption_budget_status.py
Apache-2.0
def operator(self, operator): """Sets the operator of this V1PodFailurePolicyOnExitCodesRequirement. Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - ...
Sets the operator of this V1PodFailurePolicyOnExitCodesRequirement. Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - In: the requirement is satisfied if at le...
operator
python
kubernetes-client/python
kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py
Apache-2.0
def values(self, values): """Sets the values of this V1PodFailurePolicyOnExitCodesRequirement. Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be...
Sets the values of this V1PodFailurePolicyOnExitCodesRequirement. Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplica...
values
python
kubernetes-client/python
kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py
Apache-2.0
def status(self, status): """Sets the status of this V1PodFailurePolicyOnPodConditionsPattern. Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. # noqa: E501 :param status: The stat...
Sets the status of this V1PodFailurePolicyOnPodConditionsPattern. Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. # noqa: E501 :param status: The status of this V1PodFailurePolicyOnPodCon...
status
python
kubernetes-client/python
kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py
Apache-2.0
def type(self, type): """Sets the type of this V1PodFailurePolicyOnPodConditionsPattern. Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. # noqa: E501 :param type: The type of this V1PodFailurePolicyOnPodCond...
Sets the type of this V1PodFailurePolicyOnPodConditionsPattern. Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. # noqa: E501 :param type: The type of this V1PodFailurePolicyOnPodConditionsPattern. # noqa: E501 ...
type
python
kubernetes-client/python
kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py
Apache-2.0
def ip(self, ip): """Sets the ip of this V1PodIP. IP is the IP address assigned to the pod # noqa: E501 :param ip: The ip of this V1PodIP. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and ip is None: # noqa: E501 rai...
Sets the ip of this V1PodIP. IP is the IP address assigned to the pod # noqa: E501 :param ip: The ip of this V1PodIP. # noqa: E501 :type: str
ip
python
kubernetes-client/python
kubernetes/client/models/v1_pod_ip.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_ip.py
Apache-2.0
def items(self, items): """Sets the items of this V1PodList. List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md # noqa: E501 :param items: The items of this V1PodList. # noqa: E501 :type: list[V1Pod] """ if sel...
Sets the items of this V1PodList. List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md # noqa: E501 :param items: The items of this V1PodList. # noqa: E501 :type: list[V1Pod]
items
python
kubernetes-client/python
kubernetes/client/models/v1_pod_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_list.py
Apache-2.0
def name(self, name): """Sets the name of this V1PodOS. Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-con...
Sets the name of this V1PodOS. Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect ...
name
python
kubernetes-client/python
kubernetes/client/models/v1_pod_os.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_os.py
Apache-2.0
def condition_type(self, condition_type): """Sets the condition_type of this V1PodReadinessGate. ConditionType refers to a condition in the pod's condition list with matching type. # noqa: E501 :param condition_type: The condition_type of this V1PodReadinessGate. # noqa: E501 :type: ...
Sets the condition_type of this V1PodReadinessGate. ConditionType refers to a condition in the pod's condition list with matching type. # noqa: E501 :param condition_type: The condition_type of this V1PodReadinessGate. # noqa: E501 :type: str
condition_type
python
kubernetes-client/python
kubernetes/client/models/v1_pod_readiness_gate.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_readiness_gate.py
Apache-2.0
def name(self, name): """Sets the name of this V1PodResourceClaim. Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. # noqa: E501 :param name: The name of this V1PodResourceClaim. # noqa: E501 :type: str """ if self.local_vars_conf...
Sets the name of this V1PodResourceClaim. Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. # noqa: E501 :param name: The name of this V1PodResourceClaim. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_pod_resource_claim.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_resource_claim.py
Apache-2.0
def name(self, name): """Sets the name of this V1PodResourceClaimStatus. Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL. # noqa: E501 :param name: The name of this ...
Sets the name of this V1PodResourceClaimStatus. Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL. # noqa: E501 :param name: The name of this V1PodResourceClaimStatus. # noqa...
name
python
kubernetes-client/python
kubernetes/client/models/v1_pod_resource_claim_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_resource_claim_status.py
Apache-2.0
def name(self, name): """Sets the name of this V1PodSchedulingGate. Name of the scheduling gate. Each scheduling gate must have a unique name field. # noqa: E501 :param name: The name of this V1PodSchedulingGate. # noqa: E501 :type: str """ if self.local_vars_configur...
Sets the name of this V1PodSchedulingGate. Name of the scheduling gate. Each scheduling gate must have a unique name field. # noqa: E501 :param name: The name of this V1PodSchedulingGate. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_pod_scheduling_gate.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_scheduling_gate.py
Apache-2.0
def containers(self, containers): """Sets the containers of this V1PodSpec. List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. # noqa: E501 :param containers: The containers of this V1PodS...
Sets the containers of this V1PodSpec. List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. # noqa: E501 :param containers: The containers of this V1PodSpec. # noqa: E501 :type: list[V1Cont...
containers
python
kubernetes-client/python
kubernetes/client/models/v1_pod_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_spec.py
Apache-2.0
def items(self, items): """Sets the items of this V1PodTemplateList. List of pod templates # noqa: E501 :param items: The items of this V1PodTemplateList. # noqa: E501 :type: list[V1PodTemplate] """ if self.local_vars_configuration.client_side_validation and items is ...
Sets the items of this V1PodTemplateList. List of pod templates # noqa: E501 :param items: The items of this V1PodTemplateList. # noqa: E501 :type: list[V1PodTemplate]
items
python
kubernetes-client/python
kubernetes/client/models/v1_pod_template_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_pod_template_list.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1PolicyRule. Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. # noqa: E501 :param verbs: The verbs of this V1PolicyRule. # noqa: E501 :type: list[str] """ ...
Sets the verbs of this V1PolicyRule. Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs. # noqa: E501 :param verbs: The verbs of this V1PolicyRule. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_policy_rule.py
Apache-2.0
def subjects(self, subjects): """Sets the subjects of this V1PolicyRulesWithSubjects. subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated...
Sets the subjects of this V1PolicyRulesWithSubjects. subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Requi...
subjects
python
kubernetes-client/python
kubernetes/client/models/v1_policy_rules_with_subjects.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_policy_rules_with_subjects.py
Apache-2.0
def volume_id(self, volume_id): """Sets the volume_id of this V1PortworxVolumeSource. volumeID uniquely identifies a Portworx volume # noqa: E501 :param volume_id: The volume_id of this V1PortworxVolumeSource. # noqa: E501 :type: str """ if self.local_vars_configurati...
Sets the volume_id of this V1PortworxVolumeSource. volumeID uniquely identifies a Portworx volume # noqa: E501 :param volume_id: The volume_id of this V1PortworxVolumeSource. # noqa: E501 :type: str
volume_id
python
kubernetes-client/python
kubernetes/client/models/v1_portworx_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_portworx_volume_source.py
Apache-2.0
def port(self, port): """Sets the port of this V1PortStatus. Port is the port number of the service port of which status is recorded here # noqa: E501 :param port: The port of this V1PortStatus. # noqa: E501 :type: int """ if self.local_vars_configuration.client_side_...
Sets the port of this V1PortStatus. Port is the port number of the service port of which status is recorded here # noqa: E501 :param port: The port of this V1PortStatus. # noqa: E501 :type: int
port
python
kubernetes-client/python
kubernetes/client/models/v1_port_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_port_status.py
Apache-2.0
def protocol(self, protocol): """Sets the protocol of this V1PortStatus. Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\" # noqa: E501 :param protocol: The protocol of this V1PortStatus. # noqa: E501 :t...
Sets the protocol of this V1PortStatus. Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP" # noqa: E501 :param protocol: The protocol of this V1PortStatus. # noqa: E501 :type: str
protocol
python
kubernetes-client/python
kubernetes/client/models/v1_port_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_port_status.py
Apache-2.0
def preference(self, preference): """Sets the preference of this V1PreferredSchedulingTerm. :param preference: The preference of this V1PreferredSchedulingTerm. # noqa: E501 :type: V1NodeSelectorTerm """ if self.local_vars_configuration.client_side_validation and preference is...
Sets the preference of this V1PreferredSchedulingTerm. :param preference: The preference of this V1PreferredSchedulingTerm. # noqa: E501 :type: V1NodeSelectorTerm
preference
python
kubernetes-client/python
kubernetes/client/models/v1_preferred_scheduling_term.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_preferred_scheduling_term.py
Apache-2.0
def weight(self, weight): """Sets the weight of this V1PreferredSchedulingTerm. Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. # noqa: E501 :param weight: The weight of this V1PreferredSchedulingTerm. # noqa: E501 :type: int """ ...
Sets the weight of this V1PreferredSchedulingTerm. Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. # noqa: E501 :param weight: The weight of this V1PreferredSchedulingTerm. # noqa: E501 :type: int
weight
python
kubernetes-client/python
kubernetes/client/models/v1_preferred_scheduling_term.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_preferred_scheduling_term.py
Apache-2.0
def value(self, value): """Sets the value of this V1PriorityClass. value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. # noqa: E501 :param value: The value of this V1PriorityClass. #...
Sets the value of this V1PriorityClass. value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. # noqa: E501 :param value: The value of this V1PriorityClass. # noqa: E501 :type: int ...
value
python
kubernetes-client/python
kubernetes/client/models/v1_priority_class.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_priority_class.py
Apache-2.0
def items(self, items): """Sets the items of this V1PriorityClassList. items is the list of PriorityClasses # noqa: E501 :param items: The items of this V1PriorityClassList. # noqa: E501 :type: list[V1PriorityClass] """ if self.local_vars_configuration.client_side_val...
Sets the items of this V1PriorityClassList. items is the list of PriorityClasses # noqa: E501 :param items: The items of this V1PriorityClassList. # noqa: E501 :type: list[V1PriorityClass]
items
python
kubernetes-client/python
kubernetes/client/models/v1_priority_class_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_priority_class_list.py
Apache-2.0
def items(self, items): """Sets the items of this V1PriorityLevelConfigurationList. `items` is a list of request-priorities. # noqa: E501 :param items: The items of this V1PriorityLevelConfigurationList. # noqa: E501 :type: list[V1PriorityLevelConfiguration] """ if se...
Sets the items of this V1PriorityLevelConfigurationList. `items` is a list of request-priorities. # noqa: E501 :param items: The items of this V1PriorityLevelConfigurationList. # noqa: E501 :type: list[V1PriorityLevelConfiguration]
items
python
kubernetes-client/python
kubernetes/client/models/v1_priority_level_configuration_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_priority_level_configuration_list.py
Apache-2.0
def name(self, name): """Sets the name of this V1PriorityLevelConfigurationReference. `name` is the name of the priority level configuration being referenced Required. # noqa: E501 :param name: The name of this V1PriorityLevelConfigurationReference. # noqa: E501 :type: str ""...
Sets the name of this V1PriorityLevelConfigurationReference. `name` is the name of the priority level configuration being referenced Required. # noqa: E501 :param name: The name of this V1PriorityLevelConfigurationReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_priority_level_configuration_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_priority_level_configuration_reference.py
Apache-2.0
def registry(self, registry): """Sets the registry of this V1QuobyteVolumeSource. registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes # noqa: E501 ...
Sets the registry of this V1QuobyteVolumeSource. registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes # noqa: E501 :param registry: The registry of this V1...
registry
python
kubernetes-client/python
kubernetes/client/models/v1_quobyte_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_quobyte_volume_source.py
Apache-2.0
def volume(self, volume): """Sets the volume of this V1QuobyteVolumeSource. volume is a string that references an already created Quobyte volume by name. # noqa: E501 :param volume: The volume of this V1QuobyteVolumeSource. # noqa: E501 :type: str """ if self.local_va...
Sets the volume of this V1QuobyteVolumeSource. volume is a string that references an already created Quobyte volume by name. # noqa: E501 :param volume: The volume of this V1QuobyteVolumeSource. # noqa: E501 :type: str
volume
python
kubernetes-client/python
kubernetes/client/models/v1_quobyte_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_quobyte_volume_source.py
Apache-2.0
def image(self, image): """Sets the image of this V1RBDPersistentVolumeSource. image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param image: The image of this V1RBDPersistentVolumeSource. # noqa: E501 :type: str ...
Sets the image of this V1RBDPersistentVolumeSource. image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param image: The image of this V1RBDPersistentVolumeSource. # noqa: E501 :type: str
image
python
kubernetes-client/python
kubernetes/client/models/v1_rbd_persistent_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_rbd_persistent_volume_source.py
Apache-2.0
def monitors(self, monitors): """Sets the monitors of this V1RBDPersistentVolumeSource. monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param monitors: The monitors of this V1RBDPersistentVolumeSource. # noqa: E5...
Sets the monitors of this V1RBDPersistentVolumeSource. monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param monitors: The monitors of this V1RBDPersistentVolumeSource. # noqa: E501 :type: list[str]
monitors
python
kubernetes-client/python
kubernetes/client/models/v1_rbd_persistent_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_rbd_persistent_volume_source.py
Apache-2.0
def image(self, image): """Sets the image of this V1RBDVolumeSource. image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param image: The image of this V1RBDVolumeSource. # noqa: E501 :type: str """ if se...
Sets the image of this V1RBDVolumeSource. image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param image: The image of this V1RBDVolumeSource. # noqa: E501 :type: str
image
python
kubernetes-client/python
kubernetes/client/models/v1_rbd_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_rbd_volume_source.py
Apache-2.0
def monitors(self, monitors): """Sets the monitors of this V1RBDVolumeSource. monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param monitors: The monitors of this V1RBDVolumeSource. # noqa: E501 :type: li...
Sets the monitors of this V1RBDVolumeSource. monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it # noqa: E501 :param monitors: The monitors of this V1RBDVolumeSource. # noqa: E501 :type: list[str]
monitors
python
kubernetes-client/python
kubernetes/client/models/v1_rbd_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_rbd_volume_source.py
Apache-2.0
def status(self, status): """Sets the status of this V1ReplicationControllerCondition. Status of the condition, one of True, False, Unknown. # noqa: E501 :param status: The status of this V1ReplicationControllerCondition. # noqa: E501 :type: str """ if self.local_vars...
Sets the status of this V1ReplicationControllerCondition. Status of the condition, one of True, False, Unknown. # noqa: E501 :param status: The status of this V1ReplicationControllerCondition. # noqa: E501 :type: str
status
python
kubernetes-client/python
kubernetes/client/models/v1_replication_controller_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replication_controller_condition.py
Apache-2.0
def type(self, type): """Sets the type of this V1ReplicationControllerCondition. Type of replication controller condition. # noqa: E501 :param type: The type of this V1ReplicationControllerCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_...
Sets the type of this V1ReplicationControllerCondition. Type of replication controller condition. # noqa: E501 :param type: The type of this V1ReplicationControllerCondition. # noqa: E501 :type: str
type
python
kubernetes-client/python
kubernetes/client/models/v1_replication_controller_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replication_controller_condition.py
Apache-2.0
def items(self, items): """Sets the items of this V1ReplicationControllerList. List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller # noqa: E501 :param items: The items of this V1ReplicationControllerList. # noqa: E501 ...
Sets the items of this V1ReplicationControllerList. List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller # noqa: E501 :param items: The items of this V1ReplicationControllerList. # noqa: E501 :type: list[V1ReplicationCont...
items
python
kubernetes-client/python
kubernetes/client/models/v1_replication_controller_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replication_controller_list.py
Apache-2.0
def replicas(self, replicas): """Sets the replicas of this V1ReplicationControllerStatus. Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller # noqa: E501 :param r...
Sets the replicas of this V1ReplicationControllerStatus. Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller # noqa: E501 :param replicas: The replicas of this V1Replicati...
replicas
python
kubernetes-client/python
kubernetes/client/models/v1_replication_controller_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replication_controller_status.py
Apache-2.0
def status(self, status): """Sets the status of this V1ReplicaSetCondition. Status of the condition, one of True, False, Unknown. # noqa: E501 :param status: The status of this V1ReplicaSetCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_...
Sets the status of this V1ReplicaSetCondition. Status of the condition, one of True, False, Unknown. # noqa: E501 :param status: The status of this V1ReplicaSetCondition. # noqa: E501 :type: str
status
python
kubernetes-client/python
kubernetes/client/models/v1_replica_set_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replica_set_condition.py
Apache-2.0
def type(self, type): """Sets the type of this V1ReplicaSetCondition. Type of replica set condition. # noqa: E501 :param type: The type of this V1ReplicaSetCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and type is None:...
Sets the type of this V1ReplicaSetCondition. Type of replica set condition. # noqa: E501 :param type: The type of this V1ReplicaSetCondition. # noqa: E501 :type: str
type
python
kubernetes-client/python
kubernetes/client/models/v1_replica_set_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replica_set_condition.py
Apache-2.0
def items(self, items): """Sets the items of this V1ReplicaSetList. List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param items: The items of this V1ReplicaSetList. # noqa: E501 :type: list[V1ReplicaSet] """ ...
Sets the items of this V1ReplicaSetList. List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param items: The items of this V1ReplicaSetList. # noqa: E501 :type: list[V1ReplicaSet]
items
python
kubernetes-client/python
kubernetes/client/models/v1_replica_set_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replica_set_list.py
Apache-2.0
def selector(self, selector): """Sets the selector of this V1ReplicaSetSpec. :param selector: The selector of this V1ReplicaSetSpec. # noqa: E501 :type: V1LabelSelector """ if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501 ...
Sets the selector of this V1ReplicaSetSpec. :param selector: The selector of this V1ReplicaSetSpec. # noqa: E501 :type: V1LabelSelector
selector
python
kubernetes-client/python
kubernetes/client/models/v1_replica_set_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replica_set_spec.py
Apache-2.0
def replicas(self, replicas): """Sets the replicas of this V1ReplicaSetStatus. Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param replicas: The replicas of this V1ReplicaSet...
Sets the replicas of this V1ReplicaSetStatus. Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param replicas: The replicas of this V1ReplicaSetStatus. # noqa: E501 :type: int ...
replicas
python
kubernetes-client/python
kubernetes/client/models/v1_replica_set_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_replica_set_status.py
Apache-2.0
def name(self, name): """Sets the name of this V1ResourceClaim. 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 ...
Sets the name of this V1ResourceClaim. 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 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_resource_claim.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_claim.py
Apache-2.0
def resource(self, resource): """Sets the resource of this V1ResourceFieldSelector. Required: resource to select # noqa: E501 :param resource: The resource of this V1ResourceFieldSelector. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_valida...
Sets the resource of this V1ResourceFieldSelector. Required: resource to select # noqa: E501 :param resource: The resource of this V1ResourceFieldSelector. # noqa: E501 :type: str
resource
python
kubernetes-client/python
kubernetes/client/models/v1_resource_field_selector.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_field_selector.py
Apache-2.0
def resource_id(self, resource_id): """Sets the resource_id of this V1ResourceHealth. ResourceID is the unique identifier of the resource. See the ResourceID type for more information. # noqa: E501 :param resource_id: The resource_id of this V1ResourceHealth. # noqa: E501 :type: str ...
Sets the resource_id of this V1ResourceHealth. ResourceID is the unique identifier of the resource. See the ResourceID type for more information. # noqa: E501 :param resource_id: The resource_id of this V1ResourceHealth. # noqa: E501 :type: str
resource_id
python
kubernetes-client/python
kubernetes/client/models/v1_resource_health.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_health.py
Apache-2.0
def api_groups(self, api_groups): """Sets the api_groups of this V1ResourcePolicyRule. `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. # noqa: E501 :param api_groups: The api_groups of this V1Re...
Sets the api_groups of this V1ResourcePolicyRule. `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required. # noqa: E501 :param api_groups: The api_groups of this V1ResourcePolicyRule. # noqa: E501 :type: ...
api_groups
python
kubernetes-client/python
kubernetes/client/models/v1_resource_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_policy_rule.py
Apache-2.0
def resources(self, resources): """Sets the resources of this V1ResourcePolicyRule. `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if ...
Sets the resources of this V1ResourcePolicyRule. `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required. # noq...
resources
python
kubernetes-client/python
kubernetes/client/models/v1_resource_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_policy_rule.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1ResourcePolicyRule. `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. # noqa: E501 :param verbs: The verbs of this V1ResourcePolicyRule. # noqa: E501 ...
Sets the verbs of this V1ResourcePolicyRule. `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required. # noqa: E501 :param verbs: The verbs of this V1ResourcePolicyRule. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_resource_policy_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_policy_rule.py
Apache-2.0
def items(self, items): """Sets the items of this V1ResourceQuotaList. Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ # noqa: E501 :param items: The items of this V1ResourceQuotaList. # noqa: E501 :type: list[V1Resourc...
Sets the items of this V1ResourceQuotaList. Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ # noqa: E501 :param items: The items of this V1ResourceQuotaList. # noqa: E501 :type: list[V1ResourceQuota]
items
python
kubernetes-client/python
kubernetes/client/models/v1_resource_quota_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_quota_list.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1ResourceRule. Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. # noqa: E501 :param verbs: The verbs of this V1ResourceRule. # noqa: E501 :type: list[str] ...
Sets the verbs of this V1ResourceRule. Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all. # noqa: E501 :param verbs: The verbs of this V1ResourceRule. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_resource_rule.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_rule.py
Apache-2.0
def name(self, name): """Sets the name of this V1ResourceStatus. Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:<claim_name>/<request>\". When this status is reported about a...
Sets the name of this V1ResourceStatus. Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be "claim:<claim_name>/<request>". When this status is reported about a container, the "claim_name" and "r...
name
python
kubernetes-client/python
kubernetes/client/models/v1_resource_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_resource_status.py
Apache-2.0
def role_ref(self, role_ref): """Sets the role_ref of this V1RoleBinding. :param role_ref: The role_ref of this V1RoleBinding. # noqa: E501 :type: V1RoleRef """ if self.local_vars_configuration.client_side_validation and role_ref is None: # noqa: E501 raise ValueE...
Sets the role_ref of this V1RoleBinding. :param role_ref: The role_ref of this V1RoleBinding. # noqa: E501 :type: V1RoleRef
role_ref
python
kubernetes-client/python
kubernetes/client/models/v1_role_binding.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_binding.py
Apache-2.0
def items(self, items): """Sets the items of this V1RoleBindingList. Items is a list of RoleBindings # noqa: E501 :param items: The items of this V1RoleBindingList. # noqa: E501 :type: list[V1RoleBinding] """ if self.local_vars_configuration.client_side_validation and...
Sets the items of this V1RoleBindingList. Items is a list of RoleBindings # noqa: E501 :param items: The items of this V1RoleBindingList. # noqa: E501 :type: list[V1RoleBinding]
items
python
kubernetes-client/python
kubernetes/client/models/v1_role_binding_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_binding_list.py
Apache-2.0
def items(self, items): """Sets the items of this V1RoleList. Items is a list of Roles # noqa: E501 :param items: The items of this V1RoleList. # noqa: E501 :type: list[V1Role] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E50...
Sets the items of this V1RoleList. Items is a list of Roles # noqa: E501 :param items: The items of this V1RoleList. # noqa: E501 :type: list[V1Role]
items
python
kubernetes-client/python
kubernetes/client/models/v1_role_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_list.py
Apache-2.0
def api_group(self, api_group): """Sets the api_group of this V1RoleRef. APIGroup is the group for the resource being referenced # noqa: E501 :param api_group: The api_group of this V1RoleRef. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_va...
Sets the api_group of this V1RoleRef. APIGroup is the group for the resource being referenced # noqa: E501 :param api_group: The api_group of this V1RoleRef. # noqa: E501 :type: str
api_group
python
kubernetes-client/python
kubernetes/client/models/v1_role_ref.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_ref.py
Apache-2.0
def kind(self, kind): """Sets the kind of this V1RoleRef. Kind is the type of resource being referenced # noqa: E501 :param kind: The kind of this V1RoleRef. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and kind is None: # noqa:...
Sets the kind of this V1RoleRef. Kind is the type of resource being referenced # noqa: E501 :param kind: The kind of this V1RoleRef. # noqa: E501 :type: str
kind
python
kubernetes-client/python
kubernetes/client/models/v1_role_ref.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_ref.py
Apache-2.0
def name(self, name): """Sets the name of this V1RoleRef. Name is the name of resource being referenced # noqa: E501 :param name: The name of this V1RoleRef. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa:...
Sets the name of this V1RoleRef. Name is the name of resource being referenced # noqa: E501 :param name: The name of this V1RoleRef. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_role_ref.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_role_ref.py
Apache-2.0
def handler(self, handler): """Sets the handler of this V1RuntimeClass. handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are av...
Sets the handler of this V1RuntimeClass. handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of ...
handler
python
kubernetes-client/python
kubernetes/client/models/v1_runtime_class.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_runtime_class.py
Apache-2.0
def items(self, items): """Sets the items of this V1RuntimeClassList. items is a list of schema objects. # noqa: E501 :param items: The items of this V1RuntimeClassList. # noqa: E501 :type: list[V1RuntimeClass] """ if self.local_vars_configuration.client_side_validati...
Sets the items of this V1RuntimeClassList. items is a list of schema objects. # noqa: E501 :param items: The items of this V1RuntimeClassList. # noqa: E501 :type: list[V1RuntimeClass]
items
python
kubernetes-client/python
kubernetes/client/models/v1_runtime_class_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_runtime_class_list.py
Apache-2.0
def gateway(self, gateway): """Sets the gateway of this V1ScaleIOPersistentVolumeSource. gateway is the host address of the ScaleIO API Gateway. # noqa: E501 :param gateway: The gateway of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: str """ if self.local...
Sets the gateway of this V1ScaleIOPersistentVolumeSource. gateway is the host address of the ScaleIO API Gateway. # noqa: E501 :param gateway: The gateway of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: str
gateway
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_persistent_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_persistent_volume_source.py
Apache-2.0
def secret_ref(self, secret_ref): """Sets the secret_ref of this V1ScaleIOPersistentVolumeSource. :param secret_ref: The secret_ref of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: V1SecretReference """ if self.local_vars_configuration.client_side_validation and se...
Sets the secret_ref of this V1ScaleIOPersistentVolumeSource. :param secret_ref: The secret_ref of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: V1SecretReference
secret_ref
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_persistent_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_persistent_volume_source.py
Apache-2.0
def system(self, system): """Sets the system of this V1ScaleIOPersistentVolumeSource. system is the name of the storage system as configured in ScaleIO. # noqa: E501 :param system: The system of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: str """ if self...
Sets the system of this V1ScaleIOPersistentVolumeSource. system is the name of the storage system as configured in ScaleIO. # noqa: E501 :param system: The system of this V1ScaleIOPersistentVolumeSource. # noqa: E501 :type: str
system
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_persistent_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_persistent_volume_source.py
Apache-2.0
def gateway(self, gateway): """Sets the gateway of this V1ScaleIOVolumeSource. gateway is the host address of the ScaleIO API Gateway. # noqa: E501 :param gateway: The gateway of this V1ScaleIOVolumeSource. # noqa: E501 :type: str """ if self.local_vars_configuration....
Sets the gateway of this V1ScaleIOVolumeSource. gateway is the host address of the ScaleIO API Gateway. # noqa: E501 :param gateway: The gateway of this V1ScaleIOVolumeSource. # noqa: E501 :type: str
gateway
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_volume_source.py
Apache-2.0
def secret_ref(self, secret_ref): """Sets the secret_ref of this V1ScaleIOVolumeSource. :param secret_ref: The secret_ref of this V1ScaleIOVolumeSource. # noqa: E501 :type: V1LocalObjectReference """ if self.local_vars_configuration.client_side_validation and secret_ref is Non...
Sets the secret_ref of this V1ScaleIOVolumeSource. :param secret_ref: The secret_ref of this V1ScaleIOVolumeSource. # noqa: E501 :type: V1LocalObjectReference
secret_ref
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_volume_source.py
Apache-2.0
def system(self, system): """Sets the system of this V1ScaleIOVolumeSource. system is the name of the storage system as configured in ScaleIO. # noqa: E501 :param system: The system of this V1ScaleIOVolumeSource. # noqa: E501 :type: str """ if self.local_vars_configur...
Sets the system of this V1ScaleIOVolumeSource. system is the name of the storage system as configured in ScaleIO. # noqa: E501 :param system: The system of this V1ScaleIOVolumeSource. # noqa: E501 :type: str
system
python
kubernetes-client/python
kubernetes/client/models/v1_scale_io_volume_source.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_io_volume_source.py
Apache-2.0
def replicas(self, replicas): """Sets the replicas of this V1ScaleStatus. replicas is the actual number of observed instances of the scaled object. # noqa: E501 :param replicas: The replicas of this V1ScaleStatus. # noqa: E501 :type: int """ if self.local_vars_configu...
Sets the replicas of this V1ScaleStatus. replicas is the actual number of observed instances of the scaled object. # noqa: E501 :param replicas: The replicas of this V1ScaleStatus. # noqa: E501 :type: int
replicas
python
kubernetes-client/python
kubernetes/client/models/v1_scale_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scale_status.py
Apache-2.0
def operator(self, operator): """Sets the operator of this V1ScopedResourceSelectorRequirement. Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. # noqa: E501 :param operator: The operator of this V1ScopedResourceSelectorRequirement. #...
Sets the operator of this V1ScopedResourceSelectorRequirement. Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. # noqa: E501 :param operator: The operator of this V1ScopedResourceSelectorRequirement. # noqa: E501 :type: str
operator
python
kubernetes-client/python
kubernetes/client/models/v1_scoped_resource_selector_requirement.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scoped_resource_selector_requirement.py
Apache-2.0
def scope_name(self, scope_name): """Sets the scope_name of this V1ScopedResourceSelectorRequirement. The name of the scope that the selector applies to. # noqa: E501 :param scope_name: The scope_name of this V1ScopedResourceSelectorRequirement. # noqa: E501 :type: str """ ...
Sets the scope_name of this V1ScopedResourceSelectorRequirement. The name of the scope that the selector applies to. # noqa: E501 :param scope_name: The scope_name of this V1ScopedResourceSelectorRequirement. # noqa: E501 :type: str
scope_name
python
kubernetes-client/python
kubernetes/client/models/v1_scoped_resource_selector_requirement.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_scoped_resource_selector_requirement.py
Apache-2.0
def type(self, type): """Sets the type of this V1SeccompProfile. type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no p...
Sets the type of this V1SeccompProfile. type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. # noqa...
type
python
kubernetes-client/python
kubernetes/client/models/v1_seccomp_profile.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_seccomp_profile.py
Apache-2.0
def key(self, key): """Sets the key of this V1SecretKeySelector. The key of the secret to select from. Must be a valid secret key. # noqa: E501 :param key: The key of this V1SecretKeySelector. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_v...
Sets the key of this V1SecretKeySelector. The key of the secret to select from. Must be a valid secret key. # noqa: E501 :param key: The key of this V1SecretKeySelector. # noqa: E501 :type: str
key
python
kubernetes-client/python
kubernetes/client/models/v1_secret_key_selector.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_secret_key_selector.py
Apache-2.0