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 version_priority(self, version_priority):
"""Sets the version_priority of this V1APIServiceSpec.
VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since i... | Sets the version_priority of this V1APIServiceSpec.
VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably ... | version_priority | python | kubernetes-client/python | kubernetes/client/models/v1_api_service_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_service_spec.py | Apache-2.0 |
def server_address_by_client_cid_rs(self, server_address_by_client_cid_rs):
"""Sets the server_address_by_client_cid_rs of this V1APIVersions.
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can... | Sets the server_address_by_client_cid_rs of this V1APIVersions.
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multipl... | server_address_by_client_cid_rs | python | kubernetes-client/python | kubernetes/client/models/v1_api_versions.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_versions.py | Apache-2.0 |
def versions(self, versions):
"""Sets the versions of this V1APIVersions.
versions are the api versions that are available. # noqa: E501
:param versions: The versions of this V1APIVersions. # noqa: E501
:type: list[str]
"""
if self.local_vars_configuration.client_side... | Sets the versions of this V1APIVersions.
versions are the api versions that are available. # noqa: E501
:param versions: The versions of this V1APIVersions. # noqa: E501
:type: list[str]
| versions | python | kubernetes-client/python | kubernetes/client/models/v1_api_versions.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_versions.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1AppArmorProfile.
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. # noqa... | Sets the type of this V1AppArmorProfile.
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. # noqa: E501
:param type: The ... | type | python | kubernetes-client/python | kubernetes/client/models/v1_app_armor_profile.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_app_armor_profile.py | Apache-2.0 |
def device_path(self, device_path):
"""Sets the device_path of this V1AttachedVolume.
DevicePath represents the device path where the volume should be available # noqa: E501
:param device_path: The device_path of this V1AttachedVolume. # noqa: E501
:type: str
"""
if s... | Sets the device_path of this V1AttachedVolume.
DevicePath represents the device path where the volume should be available # noqa: E501
:param device_path: The device_path of this V1AttachedVolume. # noqa: E501
:type: str
| device_path | python | kubernetes-client/python | kubernetes/client/models/v1_attached_volume.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_attached_volume.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1AttachedVolume.
Name of the attached volume # noqa: E501
:param name: The name of this V1AttachedVolume. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E50... | Sets the name of this V1AttachedVolume.
Name of the attached volume # noqa: E501
:param name: The name of this V1AttachedVolume. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_attached_volume.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_attached_volume.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1AuditAnnotation.
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the re... | Sets the key of this V1AuditAnnotation.
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAd... | key | python | kubernetes-client/python | kubernetes/client/models/v1_audit_annotation.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_audit_annotation.py | Apache-2.0 |
def volume_id(self, volume_id):
"""Sets the volume_id of this V1AWSElasticBlockStoreVolumeSource.
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501
:param volume_id... | Sets the volume_id of this V1AWSElasticBlockStoreVolumeSource.
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501
:param volume_id: The volume_id of this V1AWSElasticBlockSt... | volume_id | python | kubernetes-client/python | kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py | Apache-2.0 |
def disk_name(self, disk_name):
"""Sets the disk_name of this V1AzureDiskVolumeSource.
diskName is the Name of the data disk in the blob storage # noqa: E501
:param disk_name: The disk_name of this V1AzureDiskVolumeSource. # noqa: E501
:type: str
"""
if self.local_var... | Sets the disk_name of this V1AzureDiskVolumeSource.
diskName is the Name of the data disk in the blob storage # noqa: E501
:param disk_name: The disk_name of this V1AzureDiskVolumeSource. # noqa: E501
:type: str
| disk_name | python | kubernetes-client/python | kubernetes/client/models/v1_azure_disk_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_disk_volume_source.py | Apache-2.0 |
def disk_uri(self, disk_uri):
"""Sets the disk_uri of this V1AzureDiskVolumeSource.
diskURI is the URI of data disk in the blob storage # noqa: E501
:param disk_uri: The disk_uri of this V1AzureDiskVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configura... | Sets the disk_uri of this V1AzureDiskVolumeSource.
diskURI is the URI of data disk in the blob storage # noqa: E501
:param disk_uri: The disk_uri of this V1AzureDiskVolumeSource. # noqa: E501
:type: str
| disk_uri | python | kubernetes-client/python | kubernetes/client/models/v1_azure_disk_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_disk_volume_source.py | Apache-2.0 |
def secret_name(self, secret_name):
"""Sets the secret_name of this V1AzureFilePersistentVolumeSource.
secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501
:param secret_name: The secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501
... | Sets the secret_name of this V1AzureFilePersistentVolumeSource.
secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501
:param secret_name: The secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501
:type: str
| secret_name | python | kubernetes-client/python | kubernetes/client/models/v1_azure_file_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_file_persistent_volume_source.py | Apache-2.0 |
def share_name(self, share_name):
"""Sets the share_name of this V1AzureFilePersistentVolumeSource.
shareName is the azure Share Name # noqa: E501
:param share_name: The share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501
:type: str
"""
if self.local_va... | Sets the share_name of this V1AzureFilePersistentVolumeSource.
shareName is the azure Share Name # noqa: E501
:param share_name: The share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501
:type: str
| share_name | python | kubernetes-client/python | kubernetes/client/models/v1_azure_file_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_file_persistent_volume_source.py | Apache-2.0 |
def secret_name(self, secret_name):
"""Sets the secret_name of this V1AzureFileVolumeSource.
secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501
:param secret_name: The secret_name of this V1AzureFileVolumeSource. # noqa: E501
:type: str
... | Sets the secret_name of this V1AzureFileVolumeSource.
secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501
:param secret_name: The secret_name of this V1AzureFileVolumeSource. # noqa: E501
:type: str
| secret_name | python | kubernetes-client/python | kubernetes/client/models/v1_azure_file_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_file_volume_source.py | Apache-2.0 |
def share_name(self, share_name):
"""Sets the share_name of this V1AzureFileVolumeSource.
shareName is the azure share Name # noqa: E501
:param share_name: The share_name of this V1AzureFileVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.cli... | Sets the share_name of this V1AzureFileVolumeSource.
shareName is the azure share Name # noqa: E501
:param share_name: The share_name of this V1AzureFileVolumeSource. # noqa: E501
:type: str
| share_name | python | kubernetes-client/python | kubernetes/client/models/v1_azure_file_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_azure_file_volume_source.py | Apache-2.0 |
def target(self, target):
"""Sets the target of this V1Binding.
:param target: The target of this V1Binding. # noqa: E501
:type: V1ObjectReference
"""
if self.local_vars_configuration.client_side_validation and target is None: # noqa: E501
raise ValueError("Invali... | Sets the target of this V1Binding.
:param target: The target of this V1Binding. # noqa: E501
:type: V1ObjectReference
| target | python | kubernetes-client/python | kubernetes/client/models/v1_binding.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_binding.py | Apache-2.0 |
def monitors(self, monitors):
"""Sets the monitors of this V1CephFSPersistentVolumeSource.
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
:param monitors: The monitors of this V1CephFSPersi... | Sets the monitors of this V1CephFSPersistentVolumeSource.
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
:param monitors: The monitors of this V1CephFSPersistentVolumeSource. # noqa: E501
... | monitors | python | kubernetes-client/python | kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py | Apache-2.0 |
def monitors(self, monitors):
"""Sets the monitors of this V1CephFSVolumeSource.
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
:param monitors: The monitors of this V1CephFSVolumeSource. ... | Sets the monitors of this V1CephFSVolumeSource.
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501
:param monitors: The monitors of this V1CephFSVolumeSource. # noqa: E501
:type: list[str]
... | monitors | python | kubernetes-client/python | kubernetes/client/models/v1_ceph_fs_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ceph_fs_volume_source.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1CertificateSigningRequest.
:param spec: The spec of this V1CertificateSigningRequest. # noqa: E501
:type: V1CertificateSigningRequestSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E50... | Sets the spec of this V1CertificateSigningRequest.
:param spec: The spec of this V1CertificateSigningRequest. # noqa: E501
:type: V1CertificateSigningRequestSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1CertificateSigningRequestCondition.
status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". # noqa: E501
:param status: The status of this V1CertificateSigningRequ... | Sets the status of this V1CertificateSigningRequestCondition.
status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown". # noqa: E501
:param status: The status of this V1CertificateSigningRequestCondition. # noqa: E501
:type... | status | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1CertificateSigningRequestCondition.
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the s... | Sets the type of this V1CertificateSigningRequestCondition.
type of the condition. Known conditions are "Approved", "Denied", and "Failed". An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A "Denied" condition is added via... | type | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CertificateSigningRequestList.
items is a collection of CertificateSigningRequest objects # noqa: E501
:param items: The items of this V1CertificateSigningRequestList. # noqa: E501
:type: list[V1CertificateSigningRequest]
""... | Sets the items of this V1CertificateSigningRequestList.
items is a collection of CertificateSigningRequest objects # noqa: E501
:param items: The items of this V1CertificateSigningRequestList. # noqa: E501
:type: list[V1CertificateSigningRequest]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request_list.py | Apache-2.0 |
def request(self, request):
"""Sets the request of this V1CertificateSigningRequestSpec.
request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. # noqa: E501
:param request: ... | Sets the request of this V1CertificateSigningRequestSpec.
request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. # noqa: E501
:param request: The request of this V1CertificateSigningR... | request | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request_spec.py | Apache-2.0 |
def certificate(self, certificate):
"""Sets the certificate of this V1CertificateSigningRequestStatus.
certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If th... | Sets the certificate of this V1CertificateSigningRequestStatus.
certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a cond... | certificate | python | kubernetes-client/python | kubernetes/client/models/v1_certificate_signing_request_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_certificate_signing_request_status.py | Apache-2.0 |
def volume_id(self, volume_id):
"""Sets the volume_id of this V1CinderPersistentVolumeSource.
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
:param volume_id: The volume_id of this V1CinderPersistentVolumeSource. # no... | Sets the volume_id of this V1CinderPersistentVolumeSource.
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
:param volume_id: The volume_id of this V1CinderPersistentVolumeSource. # noqa: E501
:type: str
| volume_id | python | kubernetes-client/python | kubernetes/client/models/v1_cinder_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cinder_persistent_volume_source.py | Apache-2.0 |
def volume_id(self, volume_id):
"""Sets the volume_id of this V1CinderVolumeSource.
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
:param volume_id: The volume_id of this V1CinderVolumeSource. # noqa: E501
:ty... | Sets the volume_id of this V1CinderVolumeSource.
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501
:param volume_id: The volume_id of this V1CinderVolumeSource. # noqa: E501
:type: str
| volume_id | python | kubernetes-client/python | kubernetes/client/models/v1_cinder_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cinder_volume_source.py | Apache-2.0 |
def role_ref(self, role_ref):
"""Sets the role_ref of this V1ClusterRoleBinding.
:param role_ref: The role_ref of this V1ClusterRoleBinding. # noqa: E501
:type: V1RoleRef
"""
if self.local_vars_configuration.client_side_validation and role_ref is None: # noqa: E501
... | Sets the role_ref of this V1ClusterRoleBinding.
:param role_ref: The role_ref of this V1ClusterRoleBinding. # noqa: E501
:type: V1RoleRef
| role_ref | python | kubernetes-client/python | kubernetes/client/models/v1_cluster_role_binding.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cluster_role_binding.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ClusterRoleBindingList.
Items is a list of ClusterRoleBindings # noqa: E501
:param items: The items of this V1ClusterRoleBindingList. # noqa: E501
:type: list[V1ClusterRoleBinding]
"""
if self.local_vars_configuratio... | Sets the items of this V1ClusterRoleBindingList.
Items is a list of ClusterRoleBindings # noqa: E501
:param items: The items of this V1ClusterRoleBindingList. # noqa: E501
:type: list[V1ClusterRoleBinding]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_cluster_role_binding_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cluster_role_binding_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ClusterRoleList.
Items is a list of ClusterRoles # noqa: E501
:param items: The items of this V1ClusterRoleList. # noqa: E501
:type: list[V1ClusterRole]
"""
if self.local_vars_configuration.client_side_validation and... | Sets the items of this V1ClusterRoleList.
Items is a list of ClusterRoles # noqa: E501
:param items: The items of this V1ClusterRoleList. # noqa: E501
:type: list[V1ClusterRole]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_cluster_role_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cluster_role_list.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1ClusterTrustBundleProjection.
Relative path from the volume root to write the bundle. # noqa: E501
:param path: The path of this V1ClusterTrustBundleProjection. # noqa: E501
:type: str
"""
if self.local_vars_configurati... | Sets the path of this V1ClusterTrustBundleProjection.
Relative path from the volume root to write the bundle. # noqa: E501
:param path: The path of this V1ClusterTrustBundleProjection. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_cluster_trust_bundle_projection.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cluster_trust_bundle_projection.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1ComponentCondition.
Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". # noqa: E501
:param status: The status of this V1ComponentCondition. # noqa: E501
:type: str
... | Sets the status of this V1ComponentCondition.
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown". # noqa: E501
:param status: The status of this V1ComponentCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_component_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_component_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1ComponentCondition.
Type of condition for a component. Valid value: \"Healthy\" # noqa: E501
:param type: The type of this V1ComponentCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_v... | Sets the type of this V1ComponentCondition.
Type of condition for a component. Valid value: "Healthy" # noqa: E501
:param type: The type of this V1ComponentCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_component_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_component_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ComponentStatusList.
List of ComponentStatus objects. # noqa: E501
:param items: The items of this V1ComponentStatusList. # noqa: E501
:type: list[V1ComponentStatus]
"""
if self.local_vars_configuration.client_side_v... | Sets the items of this V1ComponentStatusList.
List of ComponentStatus objects. # noqa: E501
:param items: The items of this V1ComponentStatusList. # noqa: E501
:type: list[V1ComponentStatus]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_component_status_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_component_status_list.py | Apache-2.0 |
def last_transition_time(self, last_transition_time):
"""Sets the last_transition_time of this V1Condition.
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when th... | Sets the last_transition_time of this V1Condition.
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. # noqa: E501
:param ... | last_transition_time | python | kubernetes-client/python | kubernetes/client/models/v1_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_condition.py | Apache-2.0 |
def message(self, message):
"""Sets the message of this V1Condition.
message is a human readable message indicating details about the transition. This may be an empty string. # noqa: E501
:param message: The message of this V1Condition. # noqa: E501
:type: str
"""
if ... | Sets the message of this V1Condition.
message is a human readable message indicating details about the transition. This may be an empty string. # noqa: E501
:param message: The message of this V1Condition. # noqa: E501
:type: str
| message | python | kubernetes-client/python | kubernetes/client/models/v1_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_condition.py | Apache-2.0 |
def reason(self, reason):
"""Sets the reason of this V1Condition.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a gu... | Sets the reason of this V1Condition.
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a C... | reason | python | kubernetes-client/python | kubernetes/client/models/v1_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_condition.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1Condition.
status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1Condition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and ... | Sets the status of this V1Condition.
status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1Condition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1Condition.
type of condition in CamelCase or in foo.example.com/CamelCase. # noqa: E501
:param type: The type of this V1Condition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and ... | Sets the type of this V1Condition.
type of condition in CamelCase or in foo.example.com/CamelCase. # noqa: E501
:param type: The type of this V1Condition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_condition.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1ConfigMapKeySelector.
The key to select. # noqa: E501
:param key: The key of this V1ConfigMapKeySelector. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501
... | Sets the key of this V1ConfigMapKeySelector.
The key to select. # noqa: E501
:param key: The key of this V1ConfigMapKeySelector. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_config_map_key_selector.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_config_map_key_selector.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ConfigMapList.
Items is the list of ConfigMaps. # noqa: E501
:param items: The items of this V1ConfigMapList. # noqa: E501
:type: list[V1ConfigMap]
"""
if self.local_vars_configuration.client_side_validation and item... | Sets the items of this V1ConfigMapList.
Items is the list of ConfigMaps. # noqa: E501
:param items: The items of this V1ConfigMapList. # noqa: E501
:type: list[V1ConfigMap]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_config_map_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_config_map_list.py | Apache-2.0 |
def kubelet_config_key(self, kubelet_config_key):
"""Sets the kubelet_config_key of this V1ConfigMapNodeConfigSource.
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. # noqa: E501
:param kube... | Sets the kubelet_config_key of this V1ConfigMapNodeConfigSource.
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. # noqa: E501
:param kubelet_config_key: The kubelet_config_key of this V1ConfigMapNod... | kubelet_config_key | python | kubernetes-client/python | kubernetes/client/models/v1_config_map_node_config_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_config_map_node_config_source.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ConfigMapNodeConfigSource.
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. # noqa: E501
:param name: The name of this V1ConfigMapNodeConfigSource. # noqa: E501
:type: str
"""
... | Sets the name of this V1ConfigMapNodeConfigSource.
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. # noqa: E501
:param name: The name of this V1ConfigMapNodeConfigSource. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_config_map_node_config_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_config_map_node_config_source.py | Apache-2.0 |
def namespace(self, namespace):
"""Sets the namespace of this V1ConfigMapNodeConfigSource.
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. # noqa: E501
:param namespace: The namespace of this V1ConfigMapNodeConfigSource. # noqa: E501
... | Sets the namespace of this V1ConfigMapNodeConfigSource.
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. # noqa: E501
:param namespace: The namespace of this V1ConfigMapNodeConfigSource. # noqa: E501
:type: str
| namespace | python | kubernetes-client/python | kubernetes/client/models/v1_config_map_node_config_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_config_map_node_config_source.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1Container.
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. # noqa: E501
:param name: The name of this V1Container. # noqa: E501
:type: str
"""
... | Sets the name of this V1Container.
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. # noqa: E501
:param name: The name of this V1Container. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_container.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container.py | Apache-2.0 |
def container_port(self, container_port):
"""Sets the container_port of this V1ContainerPort.
Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501
:param container_port: The container_port of this V1ContainerPort. # noqa: E501
... | Sets the container_port of this V1ContainerPort.
Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501
:param container_port: The container_port of this V1ContainerPort. # noqa: E501
:type: int
| container_port | python | kubernetes-client/python | kubernetes/client/models/v1_container_port.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_port.py | Apache-2.0 |
def resource_name(self, resource_name):
"""Sets the resource_name of this V1ContainerResizePolicy.
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. # noqa: E501
:param resource_name: The resource_name of this V1ContainerResizePolicy. # noqa: E... | Sets the resource_name of this V1ContainerResizePolicy.
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. # noqa: E501
:param resource_name: The resource_name of this V1ContainerResizePolicy. # noqa: E501
:type: str
| resource_name | python | kubernetes-client/python | kubernetes/client/models/v1_container_resize_policy.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_resize_policy.py | Apache-2.0 |
def restart_policy(self, restart_policy):
"""Sets the restart_policy of this V1ContainerResizePolicy.
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. # noqa: E501
:param restart_policy: The restart_policy of this V1ContainerResizePolic... | Sets the restart_policy of this V1ContainerResizePolicy.
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. # noqa: E501
:param restart_policy: The restart_policy of this V1ContainerResizePolicy. # noqa: E501
:type: str
| restart_policy | python | kubernetes-client/python | kubernetes/client/models/v1_container_resize_policy.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_resize_policy.py | Apache-2.0 |
def exit_code(self, exit_code):
"""Sets the exit_code of this V1ContainerStateTerminated.
Exit status from the last termination of the container # noqa: E501
:param exit_code: The exit_code of this V1ContainerStateTerminated. # noqa: E501
:type: int
"""
if self.local_... | Sets the exit_code of this V1ContainerStateTerminated.
Exit status from the last termination of the container # noqa: E501
:param exit_code: The exit_code of this V1ContainerStateTerminated. # noqa: E501
:type: int
| exit_code | python | kubernetes-client/python | kubernetes/client/models/v1_container_state_terminated.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_state_terminated.py | Apache-2.0 |
def image(self, image):
"""Sets the image of this V1ContainerStatus.
Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/container... | Sets the image of this V1ContainerStatus.
Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images. # noqa: E501
:p... | image | python | kubernetes-client/python | kubernetes/client/models/v1_container_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_status.py | Apache-2.0 |
def image_id(self, image_id):
"""Sets the image_id of this V1ContainerStatus.
ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime. # noqa: E501
:param image_id: The image_id of ... | Sets the image_id of this V1ContainerStatus.
ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime. # noqa: E501
:param image_id: The image_id of this V1ContainerStatus. # noqa: E501
... | image_id | python | kubernetes-client/python | kubernetes/client/models/v1_container_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_status.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ContainerStatus.
Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated. # noqa: E501
:param name: The name of this V1ContainerStatus. # ... | Sets the name of this V1ContainerStatus.
Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated. # noqa: E501
:param name: The name of this V1ContainerStatus. # noqa: E501
:type: str
... | name | python | kubernetes-client/python | kubernetes/client/models/v1_container_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_status.py | Apache-2.0 |
def ready(self, ready):
"""Sets the ready of this V1ContainerStatus.
Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully st... | Sets the ready of this V1ContainerStatus.
Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The val... | ready | python | kubernetes-client/python | kubernetes/client/models/v1_container_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_status.py | Apache-2.0 |
def restart_count(self, restart_count):
"""Sets the restart_count of this V1ContainerStatus.
RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the v... | Sets the restart_count of this V1ContainerStatus.
RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative... | restart_count | python | kubernetes-client/python | kubernetes/client/models/v1_container_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_container_status.py | Apache-2.0 |
def revision(self, revision):
"""Sets the revision of this V1ControllerRevision.
Revision indicates the revision of the state represented by Data. # noqa: E501
:param revision: The revision of this V1ControllerRevision. # noqa: E501
:type: int
"""
if self.local_vars_c... | Sets the revision of this V1ControllerRevision.
Revision indicates the revision of the state represented by Data. # noqa: E501
:param revision: The revision of this V1ControllerRevision. # noqa: E501
:type: int
| revision | python | kubernetes-client/python | kubernetes/client/models/v1_controller_revision.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_controller_revision.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ControllerRevisionList.
Items is the list of ControllerRevisions # noqa: E501
:param items: The items of this V1ControllerRevisionList. # noqa: E501
:type: list[V1ControllerRevision]
"""
if self.local_vars_configurat... | Sets the items of this V1ControllerRevisionList.
Items is the list of ControllerRevisions # noqa: E501
:param items: The items of this V1ControllerRevisionList. # noqa: E501
:type: list[V1ControllerRevision]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_controller_revision_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_controller_revision_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CronJobList.
items is the list of CronJobs. # noqa: E501
:param items: The items of this V1CronJobList. # noqa: E501
:type: list[V1CronJob]
"""
if self.local_vars_configuration.client_side_validation and items is Non... | Sets the items of this V1CronJobList.
items is the list of CronJobs. # noqa: E501
:param items: The items of this V1CronJobList. # noqa: E501
:type: list[V1CronJob]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_cron_job_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cron_job_list.py | Apache-2.0 |
def job_template(self, job_template):
"""Sets the job_template of this V1CronJobSpec.
:param job_template: The job_template of this V1CronJobSpec. # noqa: E501
:type: V1JobTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and job_template is None: # noq... | Sets the job_template of this V1CronJobSpec.
:param job_template: The job_template of this V1CronJobSpec. # noqa: E501
:type: V1JobTemplateSpec
| job_template | python | kubernetes-client/python | kubernetes/client/models/v1_cron_job_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cron_job_spec.py | Apache-2.0 |
def schedule(self, schedule):
"""Sets the schedule of this V1CronJobSpec.
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. # noqa: E501
:param schedule: The schedule of this V1CronJobSpec. # noqa: E501
:type: str
"""
if self.local_vars_configuratio... | Sets the schedule of this V1CronJobSpec.
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. # noqa: E501
:param schedule: The schedule of this V1CronJobSpec. # noqa: E501
:type: str
| schedule | python | kubernetes-client/python | kubernetes/client/models/v1_cron_job_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cron_job_spec.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V1CrossVersionObjectReference.
kind is the 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 V1CrossVersionObjectReference. ... | Sets the kind of this V1CrossVersionObjectReference.
kind is the 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 V1CrossVersionObjectReference. # noqa: E501
:type: str
... | kind | python | kubernetes-client/python | kubernetes/client/models/v1_cross_version_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cross_version_object_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1CrossVersionObjectReference.
name is the 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 V1CrossVersionObjectReference. # noqa: E501
... | Sets the name of this V1CrossVersionObjectReference.
name is the 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 V1CrossVersionObjectReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_cross_version_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_cross_version_object_reference.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1CSIDriver.
:param spec: The spec of this V1CSIDriver. # noqa: E501
:type: V1CSIDriverSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise ValueError("Invalid value fo... | Sets the spec of this V1CSIDriver.
:param spec: The spec of this V1CSIDriver. # noqa: E501
:type: V1CSIDriverSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_csi_driver.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_driver.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CSIDriverList.
items is the list of CSIDriver # noqa: E501
:param items: The items of this V1CSIDriverList. # noqa: E501
:type: list[V1CSIDriver]
"""
if self.local_vars_configuration.client_side_validation and items ... | Sets the items of this V1CSIDriverList.
items is the list of CSIDriver # noqa: E501
:param items: The items of this V1CSIDriverList. # noqa: E501
:type: list[V1CSIDriver]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_csi_driver_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_driver_list.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1CSINode.
:param spec: The spec of this V1CSINode. # noqa: E501
:type: V1CSINodeSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise ValueError("Invalid value for `spe... | Sets the spec of this V1CSINode.
:param spec: The spec of this V1CSINode. # noqa: E501
:type: V1CSINodeSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_csi_node.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_node.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1CSINodeDriver.
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501
:param name: The name of this V1CSINodeDriver. # noqa: E501... | Sets the name of this V1CSINodeDriver.
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501
:param name: The name of this V1CSINodeDriver. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_csi_node_driver.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_node_driver.py | Apache-2.0 |
def node_id(self, node_id):
"""Sets the node_id of this V1CSINodeDriver.
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\",... | Sets the node_id of this V1CSINodeDriver.
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the ... | node_id | python | kubernetes-client/python | kubernetes/client/models/v1_csi_node_driver.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_node_driver.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CSINodeList.
items is the list of CSINode # noqa: E501
:param items: The items of this V1CSINodeList. # noqa: E501
:type: list[V1CSINode]
"""
if self.local_vars_configuration.client_side_validation and items is None:... | Sets the items of this V1CSINodeList.
items is the list of CSINode # noqa: E501
:param items: The items of this V1CSINodeList. # noqa: E501
:type: list[V1CSINode]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_csi_node_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_node_list.py | Apache-2.0 |
def drivers(self, drivers):
"""Sets the drivers of this V1CSINodeSpec.
drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501
:param drivers: The drivers of this V1CSINodeSpec. # noqa: E501
... | Sets the drivers of this V1CSINodeSpec.
drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501
:param drivers: The drivers of this V1CSINodeSpec. # noqa: E501
:type: list[V1CSINodeDriver]
... | drivers | python | kubernetes-client/python | kubernetes/client/models/v1_csi_node_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_node_spec.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1CSIPersistentVolumeSource.
driver is the name of the driver to use for this volume. Required. # noqa: E501
:param driver: The driver of this V1CSIPersistentVolumeSource. # noqa: E501
:type: str
"""
if self.local_v... | Sets the driver of this V1CSIPersistentVolumeSource.
driver is the name of the driver to use for this volume. Required. # noqa: E501
:param driver: The driver of this V1CSIPersistentVolumeSource. # noqa: E501
:type: str
| driver | python | kubernetes-client/python | kubernetes/client/models/v1_csi_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_persistent_volume_source.py | Apache-2.0 |
def storage_class_name(self, storage_class_name):
"""Sets the storage_class_name of this V1CSIStorageCapacity.
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomai... | Sets the storage_class_name of this V1CSIStorageCapacity.
storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity o... | storage_class_name | python | kubernetes-client/python | kubernetes/client/models/v1_csi_storage_capacity.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_storage_capacity.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CSIStorageCapacityList.
items is the list of CSIStorageCapacity objects. # noqa: E501
:param items: The items of this V1CSIStorageCapacityList. # noqa: E501
:type: list[V1CSIStorageCapacity]
"""
if self.local_vars_co... | Sets the items of this V1CSIStorageCapacityList.
items is the list of CSIStorageCapacity objects. # noqa: E501
:param items: The items of this V1CSIStorageCapacityList. # noqa: E501
:type: list[V1CSIStorageCapacity]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_csi_storage_capacity_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_storage_capacity_list.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1CSIVolumeSource.
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. # noqa: E501
:param driver: The driver of this V1CSIVolumeSource. # noqa: E501
... | Sets the driver of this V1CSIVolumeSource.
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. # noqa: E501
:param driver: The driver of this V1CSIVolumeSource. # noqa: E501
:type: str
| driver | python | kubernetes-client/python | kubernetes/client/models/v1_csi_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_csi_volume_source.py | Apache-2.0 |
def json_path(self, json_path):
"""Sets the json_path of this V1CustomResourceColumnDefinition.
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. # noqa: E501
:param json_path: The json_path of this ... | Sets the json_path of this V1CustomResourceColumnDefinition.
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. # noqa: E501
:param json_path: The json_path of this V1CustomResourceColumnDefinition. # noqa: ... | json_path | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_column_definition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_column_definition.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1CustomResourceColumnDefinition.
name is a human readable name for the column. # noqa: E501
:param name: The name of this V1CustomResourceColumnDefinition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.cli... | Sets the name of this V1CustomResourceColumnDefinition.
name is a human readable name for the column. # noqa: E501
:param name: The name of this V1CustomResourceColumnDefinition. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_column_definition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_column_definition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1CustomResourceColumnDefinition.
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501
:param type: The type of this V1CustomResource... | Sets the type of this V1CustomResourceColumnDefinition.
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501
:param type: The type of this V1CustomResourceColumnDefinition. # noqa: E501
... | type | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_column_definition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_column_definition.py | Apache-2.0 |
def strategy(self, strategy):
"""Sets the strategy of this V1CustomResourceConversion.
strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webh... | Sets the strategy of this V1CustomResourceConversion.
strategy specifies how custom resources are converted between versions. Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external w... | strategy | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_conversion.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_conversion.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1CustomResourceDefinition.
:param spec: The spec of this V1CustomResourceDefinition. # noqa: E501
:type: V1CustomResourceDefinitionSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1CustomResourceDefinition.
:param spec: The spec of this V1CustomResourceDefinition. # noqa: E501
:type: V1CustomResourceDefinitionSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1CustomResourceDefinitionCondition.
status is the status of the condition. Can be True, False, Unknown. # noqa: E501
:param status: The status of this V1CustomResourceDefinitionCondition. # noqa: E501
:type: str
"""
... | Sets the status of this V1CustomResourceDefinitionCondition.
status is the status of the condition. Can be True, False, Unknown. # noqa: E501
:param status: The status of this V1CustomResourceDefinitionCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1CustomResourceDefinitionCondition.
type is the type of the condition. Types include Established, NamesAccepted and Terminating. # noqa: E501
:param type: The type of this V1CustomResourceDefinitionCondition. # noqa: E501
:type: str
... | Sets the type of this V1CustomResourceDefinitionCondition.
type is the type of the condition. Types include Established, NamesAccepted and Terminating. # noqa: E501
:param type: The type of this V1CustomResourceDefinitionCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1CustomResourceDefinitionList.
items list individual CustomResourceDefinition objects # noqa: E501
:param items: The items of this V1CustomResourceDefinitionList. # noqa: E501
:type: list[V1CustomResourceDefinition]
"""
... | Sets the items of this V1CustomResourceDefinitionList.
items list individual CustomResourceDefinition objects # noqa: E501
:param items: The items of this V1CustomResourceDefinitionList. # noqa: E501
:type: list[V1CustomResourceDefinition]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_list.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V1CustomResourceDefinitionNames.
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. # noqa: E501
:param kind: The kind of this V1... | Sets the kind of this V1CustomResourceDefinitionNames.
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. # noqa: E501
:param kind: The kind of this V1CustomResourceDefinitionNames. #... | kind | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_names.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_names.py | Apache-2.0 |
def plural(self, plural):
"""Sets the plural of this V1CustomResourceDefinitionNames.
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group... | Sets the plural of this V1CustomResourceDefinitionNames.
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase. # noqa: ... | plural | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_names.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_names.py | Apache-2.0 |
def group(self, group):
"""Sets the group of this V1CustomResourceDefinitionSpec.
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). # noqa: E501
... | Sets the group of this V1CustomResourceDefinitionSpec.
group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). # noqa: E501
:param group: The group of ... | group | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_spec.py | Apache-2.0 |
def names(self, names):
"""Sets the names of this V1CustomResourceDefinitionSpec.
:param names: The names of this V1CustomResourceDefinitionSpec. # noqa: E501
:type: V1CustomResourceDefinitionNames
"""
if self.local_vars_configuration.client_side_validation and names is None: ... | Sets the names of this V1CustomResourceDefinitionSpec.
:param names: The names of this V1CustomResourceDefinitionSpec. # noqa: E501
:type: V1CustomResourceDefinitionNames
| names | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_spec.py | Apache-2.0 |
def scope(self, scope):
"""Sets the scope of this V1CustomResourceDefinitionSpec.
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501
:param scope: The scope of this V1CustomResourceDefinitionSpec. #... | Sets the scope of this V1CustomResourceDefinitionSpec.
scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501
:param scope: The scope of this V1CustomResourceDefinitionSpec. # noqa: E501
:type: str
... | scope | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_spec.py | Apache-2.0 |
def versions(self, versions):
"""Sets the versions of this V1CustomResourceDefinitionSpec.
versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", i... | Sets the versions of this V1CustomResourceDefinitionSpec.
versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version s... | versions | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_spec.py | Apache-2.0 |
def served(self, served):
"""Sets the served of this V1CustomResourceDefinitionVersion.
served is a flag enabling/disabling this version from being served via REST APIs # noqa: E501
:param served: The served of this V1CustomResourceDefinitionVersion. # noqa: E501
:type: bool
... | Sets the served of this V1CustomResourceDefinitionVersion.
served is a flag enabling/disabling this version from being served via REST APIs # noqa: E501
:param served: The served of this V1CustomResourceDefinitionVersion. # noqa: E501
:type: bool
| served | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_version.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_version.py | Apache-2.0 |
def storage(self, storage):
"""Sets the storage of this V1CustomResourceDefinitionVersion.
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. # noqa: E501
:param storage: The storage of this V1CustomR... | Sets the storage of this V1CustomResourceDefinitionVersion.
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. # noqa: E501
:param storage: The storage of this V1CustomResourceDefinitionVersion. # noqa: E501... | storage | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_definition_version.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_definition_version.py | Apache-2.0 |
def spec_replicas_path(self, spec_replicas_path):
"""Sets the spec_replicas_path of this V1CustomResourceSubresourceScale.
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON... | Sets the spec_replicas_path of this V1CustomResourceSubresourceScale.
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given pat... | spec_replicas_path | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_subresource_scale.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_subresource_scale.py | Apache-2.0 |
def status_replicas_path(self, status_replicas_path):
"""Sets the status_replicas_path of this V1CustomResourceSubresourceScale.
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must... | Sets the status_replicas_path of this V1CustomResourceSubresourceScale.
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the g... | status_replicas_path | python | kubernetes-client/python | kubernetes/client/models/v1_custom_resource_subresource_scale.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_custom_resource_subresource_scale.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1DaemonEndpoint.
Port number of the given endpoint. # noqa: E501
:param port: The port of this V1DaemonEndpoint. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and port is None: # no... | Sets the port of this V1DaemonEndpoint.
Port number of the given endpoint. # noqa: E501
:param port: The port of this V1DaemonEndpoint. # noqa: E501
:type: int
| port | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_endpoint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_endpoint.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1DaemonSetCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1DaemonSetCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_si... | Sets the status of this V1DaemonSetCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1DaemonSetCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1DaemonSetCondition.
Type of DaemonSet condition. # noqa: E501
:param type: The type of this V1DaemonSetCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is None: # ... | Sets the type of this V1DaemonSetCondition.
Type of DaemonSet condition. # noqa: E501
:param type: The type of this V1DaemonSetCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1DaemonSetList.
A list of daemon sets. # noqa: E501
:param items: The items of this V1DaemonSetList. # noqa: E501
:type: list[V1DaemonSet]
"""
if self.local_vars_configuration.client_side_validation and items is None:... | Sets the items of this V1DaemonSetList.
A list of daemon sets. # noqa: E501
:param items: The items of this V1DaemonSetList. # noqa: E501
:type: list[V1DaemonSet]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_list.py | Apache-2.0 |
def selector(self, selector):
"""Sets the selector of this V1DaemonSetSpec.
:param selector: The selector of this V1DaemonSetSpec. # noqa: E501
:type: V1LabelSelector
"""
if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501
ra... | Sets the selector of this V1DaemonSetSpec.
:param selector: The selector of this V1DaemonSetSpec. # noqa: E501
:type: V1LabelSelector
| selector | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_spec.py | Apache-2.0 |
def template(self, template):
"""Sets the template of this V1DaemonSetSpec.
:param template: The template of this V1DaemonSetSpec. # noqa: E501
:type: V1PodTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501
... | Sets the template of this V1DaemonSetSpec.
:param template: The template of this V1DaemonSetSpec. # noqa: E501
:type: V1PodTemplateSpec
| template | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_spec.py | Apache-2.0 |
def current_number_scheduled(self, current_number_scheduled):
"""Sets the current_number_scheduled of this V1DaemonSetStatus.
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset... | Sets the current_number_scheduled of this V1DaemonSetStatus.
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501
:param current_number_scheduled: The current_num... | current_number_scheduled | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_status.py | Apache-2.0 |
def desired_number_scheduled(self, desired_number_scheduled):
"""Sets the desired_number_scheduled of this V1DaemonSetStatus.
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/cont... | Sets the desired_number_scheduled of this V1DaemonSetStatus.
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501
:param desired_number_scheduled... | desired_number_scheduled | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_status.py | Apache-2.0 |
def number_misscheduled(self, number_misscheduled):
"""Sets the number_misscheduled of this V1DaemonSetStatus.
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501
... | Sets the number_misscheduled of this V1DaemonSetStatus.
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501
:param number_misscheduled: The number_misscheduled of ... | number_misscheduled | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_status.py | Apache-2.0 |
def number_ready(self, number_ready):
"""Sets the number_ready of this V1DaemonSetStatus.
numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition. # noqa: E501
:param number_ready: The number_ready of this ... | Sets the number_ready of this V1DaemonSetStatus.
numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition. # noqa: E501
:param number_ready: The number_ready of this V1DaemonSetStatus. # noqa: E501
:type: i... | number_ready | python | kubernetes-client/python | kubernetes/client/models/v1_daemon_set_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_daemon_set_status.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1DeploymentCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1DeploymentCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_... | Sets the status of this V1DeploymentCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1DeploymentCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_deployment_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_deployment_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1DeploymentCondition.
Type of deployment condition. # noqa: E501
:param type: The type of this V1DeploymentCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is None: ... | Sets the type of this V1DeploymentCondition.
Type of deployment condition. # noqa: E501
:param type: The type of this V1DeploymentCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_deployment_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_deployment_condition.py | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.