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 name(self, name):
"""Sets the name of this AdmissionregistrationV1ServiceReference.
`name` is the name of the service. Required # noqa: E501
:param name: The name of this AdmissionregistrationV1ServiceReference. # noqa: E501
:type: str
"""
if self.local_vars_confi... | Sets the name of this AdmissionregistrationV1ServiceReference.
`name` is the name of the service. Required # noqa: E501
:param name: The name of this AdmissionregistrationV1ServiceReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/admissionregistration_v1_service_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/admissionregistration_v1_service_reference.py | Apache-2.0 |
def namespace(self, namespace):
"""Sets the namespace of this AdmissionregistrationV1ServiceReference.
`namespace` is the namespace of the service. Required # noqa: E501
:param namespace: The namespace of this AdmissionregistrationV1ServiceReference. # noqa: E501
:type: str
"... | Sets the namespace of this AdmissionregistrationV1ServiceReference.
`namespace` is the namespace of the service. Required # noqa: E501
:param namespace: The namespace of this AdmissionregistrationV1ServiceReference. # noqa: E501
:type: str
| namespace | python | kubernetes-client/python | kubernetes/client/models/admissionregistration_v1_service_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/admissionregistration_v1_service_reference.py | Apache-2.0 |
def ca_bundle(self, ca_bundle):
"""Sets the ca_bundle of this AdmissionregistrationV1WebhookClientConfig.
`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501
:param ca... | Sets the ca_bundle of this AdmissionregistrationV1WebhookClientConfig.
`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501
:param ca_bundle: The ca_bundle of this Admissionreg... | ca_bundle | python | kubernetes-client/python | kubernetes/client/models/admissionregistration_v1_webhook_client_config.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this ApiextensionsV1ServiceReference.
name is the name of the service. Required # noqa: E501
:param name: The name of this ApiextensionsV1ServiceReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_si... | Sets the name of this ApiextensionsV1ServiceReference.
name is the name of the service. Required # noqa: E501
:param name: The name of this ApiextensionsV1ServiceReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/apiextensions_v1_service_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/apiextensions_v1_service_reference.py | Apache-2.0 |
def namespace(self, namespace):
"""Sets the namespace of this ApiextensionsV1ServiceReference.
namespace is the namespace of the service. Required # noqa: E501
:param namespace: The namespace of this ApiextensionsV1ServiceReference. # noqa: E501
:type: str
"""
if self... | Sets the namespace of this ApiextensionsV1ServiceReference.
namespace is the namespace of the service. Required # noqa: E501
:param namespace: The namespace of this ApiextensionsV1ServiceReference. # noqa: E501
:type: str
| namespace | python | kubernetes-client/python | kubernetes/client/models/apiextensions_v1_service_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/apiextensions_v1_service_reference.py | Apache-2.0 |
def ca_bundle(self, ca_bundle):
"""Sets the ca_bundle of this ApiextensionsV1WebhookClientConfig.
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501
:param ca_bundle: T... | Sets the ca_bundle of this ApiextensionsV1WebhookClientConfig.
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501
:param ca_bundle: The ca_bundle of this ApiextensionsV1Webhook... | ca_bundle | python | kubernetes-client/python | kubernetes/client/models/apiextensions_v1_webhook_client_config.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/apiextensions_v1_webhook_client_config.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this AuthenticationV1TokenRequest.
:param spec: The spec of this AuthenticationV1TokenRequest. # noqa: E501
:type: V1TokenRequestSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this AuthenticationV1TokenRequest.
:param spec: The spec of this AuthenticationV1TokenRequest. # noqa: E501
:type: V1TokenRequestSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/authentication_v1_token_request.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/authentication_v1_token_request.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this CoreV1EndpointPort.
The port number of the endpoint. # noqa: E501
:param port: The port of this CoreV1EndpointPort. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and port is None: # ... | Sets the port of this CoreV1EndpointPort.
The port number of the endpoint. # noqa: E501
:param port: The port of this CoreV1EndpointPort. # noqa: E501
:type: int
| port | python | kubernetes-client/python | kubernetes/client/models/core_v1_endpoint_port.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/core_v1_endpoint_port.py | Apache-2.0 |
def involved_object(self, involved_object):
"""Sets the involved_object of this CoreV1Event.
:param involved_object: The involved_object of this CoreV1Event. # noqa: E501
:type: V1ObjectReference
"""
if self.local_vars_configuration.client_side_validation and involved_object i... | Sets the involved_object of this CoreV1Event.
:param involved_object: The involved_object of this CoreV1Event. # noqa: E501
:type: V1ObjectReference
| involved_object | python | kubernetes-client/python | kubernetes/client/models/core_v1_event.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/core_v1_event.py | Apache-2.0 |
def metadata(self, metadata):
"""Sets the metadata of this CoreV1Event.
:param metadata: The metadata of this CoreV1Event. # noqa: E501
:type: V1ObjectMeta
"""
if self.local_vars_configuration.client_side_validation and metadata is None: # noqa: E501
raise ValueEr... | Sets the metadata of this CoreV1Event.
:param metadata: The metadata of this CoreV1Event. # noqa: E501
:type: V1ObjectMeta
| metadata | python | kubernetes-client/python | kubernetes/client/models/core_v1_event.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/core_v1_event.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this CoreV1EventList.
List of events # noqa: E501
:param items: The items of this CoreV1EventList. # noqa: E501
:type: list[CoreV1Event]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa... | Sets the items of this CoreV1EventList.
List of events # noqa: E501
:param items: The items of this CoreV1EventList. # noqa: E501
:type: list[CoreV1Event]
| items | python | kubernetes-client/python | kubernetes/client/models/core_v1_event_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/core_v1_event_list.py | Apache-2.0 |
def event_time(self, event_time):
"""Sets the event_time of this EventsV1Event.
eventTime is the time when this Event was first observed. It is required. # noqa: E501
:param event_time: The event_time of this EventsV1Event. # noqa: E501
:type: datetime
"""
if self.loc... | Sets the event_time of this EventsV1Event.
eventTime is the time when this Event was first observed. It is required. # noqa: E501
:param event_time: The event_time of this EventsV1Event. # noqa: E501
:type: datetime
| event_time | python | kubernetes-client/python | kubernetes/client/models/events_v1_event.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/events_v1_event.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this EventsV1EventList.
items is a list of schema objects. # noqa: E501
:param items: The items of this EventsV1EventList. # noqa: E501
:type: list[EventsV1Event]
"""
if self.local_vars_configuration.client_side_validation ... | Sets the items of this EventsV1EventList.
items is a list of schema objects. # noqa: E501
:param items: The items of this EventsV1EventList. # noqa: E501
:type: list[EventsV1Event]
| items | python | kubernetes-client/python | kubernetes/client/models/events_v1_event_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/events_v1_event_list.py | Apache-2.0 |
def count(self, count):
"""Sets the count of this EventsV1EventSeries.
count is the number of occurrences in this series up to the last heartbeat time. # noqa: E501
:param count: The count of this EventsV1EventSeries. # noqa: E501
:type: int
"""
if self.local_vars_con... | Sets the count of this EventsV1EventSeries.
count is the number of occurrences in this series up to the last heartbeat time. # noqa: E501
:param count: The count of this EventsV1EventSeries. # noqa: E501
:type: int
| count | python | kubernetes-client/python | kubernetes/client/models/events_v1_event_series.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/events_v1_event_series.py | Apache-2.0 |
def last_observed_time(self, last_observed_time):
"""Sets the last_observed_time of this EventsV1EventSeries.
lastObservedTime is the time when last Event from the series was seen before last heartbeat. # noqa: E501
:param last_observed_time: The last_observed_time of this EventsV1EventSeries... | Sets the last_observed_time of this EventsV1EventSeries.
lastObservedTime is the time when last Event from the series was seen before last heartbeat. # noqa: E501
:param last_observed_time: The last_observed_time of this EventsV1EventSeries. # noqa: E501
:type: datetime
| last_observed_time | python | kubernetes-client/python | kubernetes/client/models/events_v1_event_series.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/events_v1_event_series.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this FlowcontrolV1Subject.
`kind` indicates which one of the other fields is non-empty. Required # noqa: E501
:param kind: The kind of this FlowcontrolV1Subject. # noqa: E501
:type: str
"""
if self.local_vars_configuration.cli... | Sets the kind of this FlowcontrolV1Subject.
`kind` indicates which one of the other fields is non-empty. Required # noqa: E501
:param kind: The kind of this FlowcontrolV1Subject. # noqa: E501
:type: str
| kind | python | kubernetes-client/python | kubernetes/client/models/flowcontrol_v1_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/flowcontrol_v1_subject.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this RbacV1Subject.
Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501
:param kin... | Sets the kind of this RbacV1Subject.
Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501
:param kind: The kind of this RbacV1Subject. # n... | kind | python | kubernetes-client/python | kubernetes/client/models/rbac_v1_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/rbac_v1_subject.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this RbacV1Subject.
Name of the object being referenced. # noqa: E501
:param name: The name of this RbacV1Subject. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa: ... | Sets the name of this RbacV1Subject.
Name of the object being referenced. # noqa: E501
:param name: The name of this RbacV1Subject. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/rbac_v1_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/rbac_v1_subject.py | Apache-2.0 |
def audience(self, audience):
"""Sets the audience of this StorageV1TokenRequest.
audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver. # noqa: E501
:param audience: The audience of this StorageV1TokenRequest. # noqa: E501... | Sets the audience of this StorageV1TokenRequest.
audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver. # noqa: E501
:param audience: The audience of this StorageV1TokenRequest. # noqa: E501
:type: str
| audience | python | kubernetes-client/python | kubernetes/client/models/storage_v1_token_request.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/storage_v1_token_request.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha1ClusterTrustBundle.
:param spec: The spec of this V1alpha1ClusterTrustBundle. # noqa: E501
:type: V1alpha1ClusterTrustBundleSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1alpha1ClusterTrustBundle.
:param spec: The spec of this V1alpha1ClusterTrustBundle. # noqa: E501
:type: V1alpha1ClusterTrustBundleSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_cluster_trust_bundle.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1ClusterTrustBundleList.
items is a collection of ClusterTrustBundle objects # noqa: E501
:param items: The items of this V1alpha1ClusterTrustBundleList. # noqa: E501
:type: list[V1alpha1ClusterTrustBundle]
"""
... | Sets the items of this V1alpha1ClusterTrustBundleList.
items is a collection of ClusterTrustBundle objects # noqa: E501
:param items: The items of this V1alpha1ClusterTrustBundleList. # noqa: E501
:type: list[V1alpha1ClusterTrustBundle]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py | Apache-2.0 |
def trust_bundle(self, trust_bundle):
"""Sets the trust_bundle of this V1alpha1ClusterTrustBundleSpec.
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. The data must consist only of PEM certificate blocks that pars... | Sets the trust_bundle of this V1alpha1ClusterTrustBundleSpec.
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate ... | trust_bundle | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py | Apache-2.0 |
def expression(self, expression):
"""Sets the expression of this V1alpha1MatchCondition.
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: 'object... | Sets the expression of this V1alpha1MatchCondition.
Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: 'object' - The object from the incoming request. The... | expression | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_match_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_match_condition.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha1MatchCondition.
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a q... | Sets the name of this V1alpha1MatchCondition.
Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alpha... | name | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_match_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_match_condition.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1alpha1MigrationCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1alpha1MigrationCondition. # noqa: E501
:type: str
"""
if self.local_vars_configurati... | Sets the status of this V1alpha1MigrationCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1alpha1MigrationCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_migration_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_migration_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1alpha1MigrationCondition.
Type of the condition. # noqa: E501
:param type: The type of this V1alpha1MigrationCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is Non... | Sets the type of this V1alpha1MigrationCondition.
Type of the condition. # noqa: E501
:param type: The type of this V1alpha1MigrationCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_migration_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_migration_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1MutatingAdmissionPolicyBindingList.
List of PolicyBinding. # noqa: E501
:param items: The items of this V1alpha1MutatingAdmissionPolicyBindingList. # noqa: E501
:type: list[V1alpha1MutatingAdmissionPolicyBinding]
"""
... | Sets the items of this V1alpha1MutatingAdmissionPolicyBindingList.
List of PolicyBinding. # noqa: E501
:param items: The items of this V1alpha1MutatingAdmissionPolicyBindingList. # noqa: E501
:type: list[V1alpha1MutatingAdmissionPolicyBinding]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1MutatingAdmissionPolicyList.
List of ValidatingAdmissionPolicy. # noqa: E501
:param items: The items of this V1alpha1MutatingAdmissionPolicyList. # noqa: E501
:type: list[V1alpha1MutatingAdmissionPolicy]
"""
if... | Sets the items of this V1alpha1MutatingAdmissionPolicyList.
List of ValidatingAdmissionPolicy. # noqa: E501
:param items: The items of this V1alpha1MutatingAdmissionPolicyList. # noqa: E501
:type: list[V1alpha1MutatingAdmissionPolicy]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py | Apache-2.0 |
def patch_type(self, patch_type):
"""Sets the patch_type of this V1alpha1Mutation.
patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required. # noqa: E501
:param patch_type: The patch_type of this V1alpha1Mutation. # noqa: E501
... | Sets the patch_type of this V1alpha1Mutation.
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required. # noqa: E501
:param patch_type: The patch_type of this V1alpha1Mutation. # noqa: E501
:type: str
| patch_type | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_mutation.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_mutation.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha1StorageVersion.
Spec is an empty spec. It is here to comply with Kubernetes API style. # noqa: E501
:param spec: The spec of this V1alpha1StorageVersion. # noqa: E501
:type: object
"""
if self.local_vars_configura... | Sets the spec of this V1alpha1StorageVersion.
Spec is an empty spec. It is here to comply with Kubernetes API style. # noqa: E501
:param spec: The spec of this V1alpha1StorageVersion. # noqa: E501
:type: object
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1alpha1StorageVersion.
:param status: The status of this V1alpha1StorageVersion. # noqa: E501
:type: V1alpha1StorageVersionStatus
"""
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501... | Sets the status of this V1alpha1StorageVersion.
:param status: The status of this V1alpha1StorageVersion. # noqa: E501
:type: V1alpha1StorageVersionStatus
| status | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version.py | Apache-2.0 |
def message(self, message):
"""Sets the message of this V1alpha1StorageVersionCondition.
A human readable message indicating details about the transition. # noqa: E501
:param message: The message of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
"""
if ... | Sets the message of this V1alpha1StorageVersionCondition.
A human readable message indicating details about the transition. # noqa: E501
:param message: The message of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
| message | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_condition.py | Apache-2.0 |
def reason(self, reason):
"""Sets the reason of this V1alpha1StorageVersionCondition.
The reason for the condition's last transition. # noqa: E501
:param reason: The reason of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
"""
if self.local_vars_configu... | Sets the reason of this V1alpha1StorageVersionCondition.
The reason for the condition's last transition. # noqa: E501
:param reason: The reason of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
| reason | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_condition.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1alpha1StorageVersionCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
"""
if self.local_vars_c... | Sets the status of this V1alpha1StorageVersionCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1alpha1StorageVersionCondition.
Type of the condition. # noqa: E501
:param type: The type of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and t... | Sets the type of this V1alpha1StorageVersionCondition.
Type of the condition. # noqa: E501
:param type: The type of this V1alpha1StorageVersionCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1StorageVersionList.
Items holds a list of StorageVersion # noqa: E501
:param items: The items of this V1alpha1StorageVersionList. # noqa: E501
:type: list[V1alpha1StorageVersion]
"""
if self.local_vars_configur... | Sets the items of this V1alpha1StorageVersionList.
Items holds a list of StorageVersion # noqa: E501
:param items: The items of this V1alpha1StorageVersionList. # noqa: E501
:type: list[V1alpha1StorageVersion]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1StorageVersionMigrationList.
Items is the list of StorageVersionMigration # noqa: E501
:param items: The items of this V1alpha1StorageVersionMigrationList. # noqa: E501
:type: list[V1alpha1StorageVersionMigration]
"""
... | Sets the items of this V1alpha1StorageVersionMigrationList.
Items is the list of StorageVersionMigration # noqa: E501
:param items: The items of this V1alpha1StorageVersionMigrationList. # noqa: E501
:type: list[V1alpha1StorageVersionMigration]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_migration_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_migration_list.py | Apache-2.0 |
def resource(self, resource):
"""Sets the resource of this V1alpha1StorageVersionMigrationSpec.
:param resource: The resource of this V1alpha1StorageVersionMigrationSpec. # noqa: E501
:type: V1alpha1GroupVersionResource
"""
if self.local_vars_configuration.client_side_validati... | Sets the resource of this V1alpha1StorageVersionMigrationSpec.
:param resource: The resource of this V1alpha1StorageVersionMigrationSpec. # noqa: E501
:type: V1alpha1GroupVersionResource
| resource | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_storage_version_migration_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py | Apache-2.0 |
def expression(self, expression):
"""Sets the expression of this V1alpha1Variable.
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. # noqa: E501
:param expression: The ... | Sets the expression of this V1alpha1Variable.
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation. # noqa: E501
:param expression: The expression of this V1alpha1Variable. # noqa:... | expression | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_variable.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_variable.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha1Variable.
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be availabl... | Sets the name of this V1alpha1Variable.
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo` # noqa: E501
... | name | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_variable.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_variable.py | Apache-2.0 |
def driver_name(self, driver_name):
"""Sets the driver_name of this V1alpha1VolumeAttributesClass.
Name of the CSI driver This field is immutable. # noqa: E501
:param driver_name: The driver_name of this V1alpha1VolumeAttributesClass. # noqa: E501
:type: str
"""
if se... | Sets the driver_name of this V1alpha1VolumeAttributesClass.
Name of the CSI driver This field is immutable. # noqa: E501
:param driver_name: The driver_name of this V1alpha1VolumeAttributesClass. # noqa: E501
:type: str
| driver_name | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_volume_attributes_class.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_volume_attributes_class.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1VolumeAttributesClassList.
items is the list of VolumeAttributesClass objects. # noqa: E501
:param items: The items of this V1alpha1VolumeAttributesClassList. # noqa: E501
:type: list[V1alpha1VolumeAttributesClass]
"""... | Sets the items of this V1alpha1VolumeAttributesClassList.
items is the list of VolumeAttributesClass objects. # noqa: E501
:param items: The items of this V1alpha1VolumeAttributesClassList. # noqa: E501
:type: list[V1alpha1VolumeAttributesClass]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha1_volume_attributes_class_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha2LeaseCandidateList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1alpha2LeaseCandidateList. # noqa: E501
:type: list[V1alpha2LeaseCandidate]
"""
if self.local_vars_configurat... | Sets the items of this V1alpha2LeaseCandidateList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1alpha2LeaseCandidateList. # noqa: E501
:type: list[V1alpha2LeaseCandidate]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha2_lease_candidate_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha2_lease_candidate_list.py | Apache-2.0 |
def binary_version(self, binary_version):
"""Sets the binary_version of this V1alpha2LeaseCandidateSpec.
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required. # noqa: E501
:param binary_version: The binary_version of this V1alpha2Lease... | Sets the binary_version of this V1alpha2LeaseCandidateSpec.
BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required. # noqa: E501
:param binary_version: The binary_version of this V1alpha2LeaseCandidateSpec. # noqa: E501
:type: str
... | binary_version | python | kubernetes-client/python | kubernetes/client/models/v1alpha2_lease_candidate_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha2_lease_candidate_spec.py | Apache-2.0 |
def lease_name(self, lease_name):
"""Sets the lease_name of this V1alpha2LeaseCandidateSpec.
LeaseName is the name of the lease for which this candidate is contending. This field is immutable. # noqa: E501
:param lease_name: The lease_name of this V1alpha2LeaseCandidateSpec. # noqa: E501
... | Sets the lease_name of this V1alpha2LeaseCandidateSpec.
LeaseName is the name of the lease for which this candidate is contending. This field is immutable. # noqa: E501
:param lease_name: The lease_name of this V1alpha2LeaseCandidateSpec. # noqa: E501
:type: str
| lease_name | python | kubernetes-client/python | kubernetes/client/models/v1alpha2_lease_candidate_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha2_lease_candidate_spec.py | Apache-2.0 |
def strategy(self, strategy):
"""Sets the strategy of this V1alpha2LeaseCandidateSpec.
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest... | Sets the strategy of this V1alpha2LeaseCandidateSpec.
Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is ... | strategy | python | kubernetes-client/python | kubernetes/client/models/v1alpha2_lease_candidate_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha2_lease_candidate_spec.py | Apache-2.0 |
def device(self, device):
"""Sets the device of this V1alpha3AllocatedDeviceStatus.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1alpha3AllocatedDeviceStatus. # noqa: E501
:ty... | Sets the device of this V1alpha3AllocatedDeviceStatus.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1alpha3AllocatedDeviceStatus. # noqa: E501
:type: str
| device | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_allocated_device_status.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1alpha3AllocatedDeviceStatus.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the ven... | Sets the driver of this V1alpha3AllocatedDeviceStatus.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501
... | driver | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_allocated_device_status.py | Apache-2.0 |
def pool(self, pool):
"""Sets the pool of this V1alpha3AllocatedDeviceStatus.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-do... | Sets the pool of this V1alpha3AllocatedDeviceStatus.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # no... | pool | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_allocated_device_status.py | Apache-2.0 |
def value(self, value):
"""Sets the value of this V1alpha3Counter.
Value defines how much of a certain device counter is available. # noqa: E501
:param value: The value of this V1alpha3Counter. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_v... | Sets the value of this V1alpha3Counter.
Value defines how much of a certain device counter is available. # noqa: E501
:param value: The value of this V1alpha3Counter. # noqa: E501
:type: str
| value | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_counter.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_counter.py | Apache-2.0 |
def counters(self, counters):
"""Sets the counters of this V1alpha3CounterSet.
Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed with... | Sets the counters of this V1alpha3CounterSet.
Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in t... | counters | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_counter_set.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_counter_set.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3CounterSet.
CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501
:param name: The name of this V1alpha3CounterSet. # noqa: E501
:type: str
"""
if self.local_vars_configu... | Sets the name of this V1alpha3CounterSet.
CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501
:param name: The name of this V1alpha3CounterSet. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_counter_set.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_counter_set.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3Device.
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501
:param name: The name of this V1alpha3Device. # noqa: E501
:type: str
"""
if self.local_v... | Sets the name of this V1alpha3Device.
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501
:param name: The name of this V1alpha3Device. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device.py | Apache-2.0 |
def source(self, source):
"""Sets the source of this V1alpha3DeviceAllocationConfiguration.
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501
:param source: The source of this V1al... | Sets the source of this V1alpha3DeviceAllocationConfiguration.
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501
:param source: The source of this V1alpha3DeviceAllocationConfiguration. #... | source | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_allocation_configuration.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_allocation_configuration.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3DeviceClass.
:param spec: The spec of this V1alpha3DeviceClass. # noqa: E501
:type: V1alpha3DeviceClassSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise Valu... | Sets the spec of this V1alpha3DeviceClass.
:param spec: The spec of this V1alpha3DeviceClass. # noqa: E501
:type: V1alpha3DeviceClassSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_class.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_class.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha3DeviceClassList.
Items is the list of resource classes. # noqa: E501
:param items: The items of this V1alpha3DeviceClassList. # noqa: E501
:type: list[V1alpha3DeviceClass]
"""
if self.local_vars_configuration.c... | Sets the items of this V1alpha3DeviceClassList.
Items is the list of resource classes. # noqa: E501
:param items: The items of this V1alpha3DeviceClassList. # noqa: E501
:type: list[V1alpha3DeviceClass]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_class_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_class_list.py | Apache-2.0 |
def counter_set(self, counter_set):
"""Sets the counter_set of this V1alpha3DeviceCounterConsumption.
CounterSet defines the set from which the counters defined will be consumed. # noqa: E501
:param counter_set: The counter_set of this V1alpha3DeviceCounterConsumption. # noqa: E501
:... | Sets the counter_set of this V1alpha3DeviceCounterConsumption.
CounterSet defines the set from which the counters defined will be consumed. # noqa: E501
:param counter_set: The counter_set of this V1alpha3DeviceCounterConsumption. # noqa: E501
:type: str
| counter_set | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_counter_consumption.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_counter_consumption.py | Apache-2.0 |
def counters(self, counters):
"""Sets the counters of this V1alpha3DeviceCounterConsumption.
Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices ... | Sets the counters of this V1alpha3DeviceCounterConsumption.
Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). # noqa: E501
... | counters | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_counter_consumption.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_counter_consumption.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3DeviceRequest.
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. # noqa: E501
:param name: The name of this V1alpha3DeviceRequest. # noqa:... | Sets the name of this V1alpha3DeviceRequest.
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. # noqa: E501
:param name: The name of this V1alpha3DeviceRequest. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_request.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_request.py | Apache-2.0 |
def device(self, device):
"""Sets the device of this V1alpha3DeviceRequestAllocationResult.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1alpha3DeviceRequestAllocationResult. # noqa: ... | Sets the device of this V1alpha3DeviceRequestAllocationResult.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1alpha3DeviceRequestAllocationResult. # noqa: E501
:type: str
| device | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_request_allocation_result.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_request_allocation_result.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1alpha3DeviceRequestAllocationResult.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by... | Sets the driver of this V1alpha3DeviceRequestAllocationResult.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E... | driver | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_request_allocation_result.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_request_allocation_result.py | Apache-2.0 |
def pool(self, pool):
"""Sets the pool of this V1alpha3DeviceRequestAllocationResult.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DN... | Sets the pool of this V1alpha3DeviceRequestAllocationResult.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashe... | pool | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_request_allocation_result.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_request_allocation_result.py | Apache-2.0 |
def request(self, request):
"""Sets the request of this V1alpha3DeviceRequestAllocationResult.
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of ... | Sets the request of this V1alpha3DeviceRequestAllocationResult.
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest usi... | request | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_request_allocation_result.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_request_allocation_result.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3DeviceSubRequest.
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. # noqa: E501
:param ... | Sets the name of this V1alpha3DeviceSubRequest.
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. # noqa: E501
:param name: The name of this V1alpha3De... | name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_sub_request.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_sub_request.py | Apache-2.0 |
def effect(self, effect):
"""Sets the effect of this V1alpha3DeviceTaint.
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501
... | Sets the effect of this V1alpha3DeviceTaint.
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501
:param effect: The effect of thi... | effect | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_taint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_taint.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1alpha3DeviceTaint.
The taint key to be applied to a device. Must be a label name. # noqa: E501
:param key: The key of this V1alpha3DeviceTaint. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_valid... | Sets the key of this V1alpha3DeviceTaint.
The taint key to be applied to a device. Must be a label name. # noqa: E501
:param key: The key of this V1alpha3DeviceTaint. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_taint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_taint.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3DeviceTaintRule.
:param spec: The spec of this V1alpha3DeviceTaintRule. # noqa: E501
:type: V1alpha3DeviceTaintRuleSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1alpha3DeviceTaintRule.
:param spec: The spec of this V1alpha3DeviceTaintRule. # noqa: E501
:type: V1alpha3DeviceTaintRuleSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_taint_rule.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_taint_rule.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha3DeviceTaintRuleList.
Items is the list of DeviceTaintRules. # noqa: E501
:param items: The items of this V1alpha3DeviceTaintRuleList. # noqa: E501
:type: list[V1alpha3DeviceTaintRule]
"""
if self.local_vars_con... | Sets the items of this V1alpha3DeviceTaintRuleList.
Items is the list of DeviceTaintRules. # noqa: E501
:param items: The items of this V1alpha3DeviceTaintRuleList. # noqa: E501
:type: list[V1alpha3DeviceTaintRule]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_taint_rule_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_taint_rule_list.py | Apache-2.0 |
def taint(self, taint):
"""Sets the taint of this V1alpha3DeviceTaintRuleSpec.
:param taint: The taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
:type: V1alpha3DeviceTaint
"""
if self.local_vars_configuration.client_side_validation and taint is None: # noqa: E501
... | Sets the taint of this V1alpha3DeviceTaintRuleSpec.
:param taint: The taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
:type: V1alpha3DeviceTaint
| taint | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_device_taint_rule_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_device_taint_rule_spec.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1alpha3OpaqueDeviceConfiguration.
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. ... | Sets the driver of this V1alpha3OpaqueDeviceConfiguration.
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should en... | driver | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_opaque_device_configuration.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_opaque_device_configuration.py | Apache-2.0 |
def parameters(self, parameters):
"""Sets the parameters of this V1alpha3OpaqueDeviceConfiguration.
Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVer... | Sets the parameters of this V1alpha3OpaqueDeviceConfiguration.
Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion bet... | parameters | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_opaque_device_configuration.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_opaque_device_configuration.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3ResourceClaim.
:param spec: The spec of this V1alpha3ResourceClaim. # noqa: E501
:type: V1alpha3ResourceClaimSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
rais... | Sets the spec of this V1alpha3ResourceClaim.
:param spec: The spec of this V1alpha3ResourceClaim. # noqa: E501
:type: V1alpha3ResourceClaimSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3ResourceClaimConsumerReference.
Name is the name of resource being referenced. # noqa: E501
:param name: The name of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: str
"""
if self.local_vars_conf... | Sets the name of this V1alpha3ResourceClaimConsumerReference.
Name is the name of resource being referenced. # noqa: E501
:param name: The name of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | Apache-2.0 |
def resource(self, resource):
"""Sets the resource of this V1alpha3ResourceClaimConsumerReference.
Resource is the type of resource being referenced, for example \"pods\". # noqa: E501
:param resource: The resource of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: s... | Sets the resource of this V1alpha3ResourceClaimConsumerReference.
Resource is the type of resource being referenced, for example "pods". # noqa: E501
:param resource: The resource of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: str
| resource | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | Apache-2.0 |
def uid(self, uid):
"""Sets the uid of this V1alpha3ResourceClaimConsumerReference.
UID identifies exactly one incarnation of the resource. # noqa: E501
:param uid: The uid of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: str
"""
if self.local_vars_... | Sets the uid of this V1alpha3ResourceClaimConsumerReference.
UID identifies exactly one incarnation of the resource. # noqa: E501
:param uid: The uid of this V1alpha3ResourceClaimConsumerReference. # noqa: E501
:type: str
| uid | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha3ResourceClaimList.
Items is the list of resource claims. # noqa: E501
:param items: The items of this V1alpha3ResourceClaimList. # noqa: E501
:type: list[V1alpha3ResourceClaim]
"""
if self.local_vars_configurat... | Sets the items of this V1alpha3ResourceClaimList.
Items is the list of resource claims. # noqa: E501
:param items: The items of this V1alpha3ResourceClaimList. # noqa: E501
:type: list[V1alpha3ResourceClaim]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_list.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3ResourceClaimTemplate.
:param spec: The spec of this V1alpha3ResourceClaimTemplate. # noqa: E501
:type: V1alpha3ResourceClaimTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noq... | Sets the spec of this V1alpha3ResourceClaimTemplate.
:param spec: The spec of this V1alpha3ResourceClaimTemplate. # noqa: E501
:type: V1alpha3ResourceClaimTemplateSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_template.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_template.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha3ResourceClaimTemplateList.
Items is the list of resource claim templates. # noqa: E501
:param items: The items of this V1alpha3ResourceClaimTemplateList. # noqa: E501
:type: list[V1alpha3ResourceClaimTemplate]
"""
... | Sets the items of this V1alpha3ResourceClaimTemplateList.
Items is the list of resource claim templates. # noqa: E501
:param items: The items of this V1alpha3ResourceClaimTemplateList. # noqa: E501
:type: list[V1alpha3ResourceClaimTemplate]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_template_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_template_list.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3ResourceClaimTemplateSpec.
:param spec: The spec of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501
:type: V1alpha3ResourceClaimSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noq... | Sets the spec of this V1alpha3ResourceClaimTemplateSpec.
:param spec: The spec of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501
:type: V1alpha3ResourceClaimSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_claim_template_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_claim_template_spec.py | Apache-2.0 |
def generation(self, generation):
"""Sets the generation of this V1alpha3ResourcePool.
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Con... | Sets the generation of this V1alpha3ResourcePool.
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider... | generation | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_pool.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_pool.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1alpha3ResourcePool.
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This fi... | Sets the name of this V1alpha3ResourcePool.
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. # noqa: E501
... | name | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_pool.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_pool.py | Apache-2.0 |
def resource_slice_count(self, resource_slice_count):
"""Sets the resource_slice_count of this V1alpha3ResourcePool.
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all Res... | Sets the resource_slice_count of this V1alpha3ResourcePool.
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. # noqa: E501
:p... | resource_slice_count | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_pool.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_pool.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1alpha3ResourceSlice.
:param spec: The spec of this V1alpha3ResourceSlice. # noqa: E501
:type: V1alpha3ResourceSliceSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
rais... | Sets the spec of this V1alpha3ResourceSlice.
:param spec: The spec of this V1alpha3ResourceSlice. # noqa: E501
:type: V1alpha3ResourceSliceSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_slice.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_slice.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha3ResourceSliceList.
Items is the list of resource ResourceSlices. # noqa: E501
:param items: The items of this V1alpha3ResourceSliceList. # noqa: E501
:type: list[V1alpha3ResourceSlice]
"""
if self.local_vars_co... | Sets the items of this V1alpha3ResourceSliceList.
Items is the list of resource ResourceSlices. # noqa: E501
:param items: The items of this V1alpha3ResourceSliceList. # noqa: E501
:type: list[V1alpha3ResourceSlice]
| items | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_slice_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_slice_list.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1alpha3ResourceSliceSpec.
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owne... | Sets the driver of this V1alpha3ResourceSliceSpec.
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This f... | driver | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_slice_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_slice_spec.py | Apache-2.0 |
def pool(self, pool):
"""Sets the pool of this V1alpha3ResourceSliceSpec.
:param pool: The pool of this V1alpha3ResourceSliceSpec. # noqa: E501
:type: V1alpha3ResourcePool
"""
if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501
r... | Sets the pool of this V1alpha3ResourceSliceSpec.
:param pool: The pool of this V1alpha3ResourceSliceSpec. # noqa: E501
:type: V1alpha3ResourcePool
| pool | python | kubernetes-client/python | kubernetes/client/models/v1alpha3_resource_slice_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1alpha3_resource_slice_spec.py | Apache-2.0 |
def device(self, device):
"""Sets the device of this V1beta1AllocatedDeviceStatus.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1beta1AllocatedDeviceStatus. # noqa: E501
:type... | Sets the device of this V1beta1AllocatedDeviceStatus.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501
:param device: The device of this V1beta1AllocatedDeviceStatus. # noqa: E501
:type: str
| device | python | kubernetes-client/python | kubernetes/client/models/v1beta1_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_allocated_device_status.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1beta1AllocatedDeviceStatus.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vend... | Sets the driver of this V1beta1AllocatedDeviceStatus.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501
... | driver | python | kubernetes-client/python | kubernetes/client/models/v1beta1_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_allocated_device_status.py | Apache-2.0 |
def pool(self, pool):
"""Sets the pool of this V1beta1AllocatedDeviceStatus.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-dom... | Sets the pool of this V1beta1AllocatedDeviceStatus.
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noq... | pool | python | kubernetes-client/python | kubernetes/client/models/v1beta1_allocated_device_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_allocated_device_status.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1beta1AuditAnnotation.
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 t... | Sets the key of this V1beta1AuditAnnotation.
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 Validat... | key | python | kubernetes-client/python | kubernetes/client/models/v1beta1_audit_annotation.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_audit_annotation.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1beta1ClusterTrustBundle.
:param spec: The spec of this V1beta1ClusterTrustBundle. # noqa: E501
:type: V1beta1ClusterTrustBundleSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1beta1ClusterTrustBundle.
:param spec: The spec of this V1beta1ClusterTrustBundle. # noqa: E501
:type: V1beta1ClusterTrustBundleSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1beta1_cluster_trust_bundle.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_cluster_trust_bundle.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1beta1ClusterTrustBundleList.
items is a collection of ClusterTrustBundle objects # noqa: E501
:param items: The items of this V1beta1ClusterTrustBundleList. # noqa: E501
:type: list[V1beta1ClusterTrustBundle]
"""
if ... | Sets the items of this V1beta1ClusterTrustBundleList.
items is a collection of ClusterTrustBundle objects # noqa: E501
:param items: The items of this V1beta1ClusterTrustBundleList. # noqa: E501
:type: list[V1beta1ClusterTrustBundle]
| items | python | kubernetes-client/python | kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py | Apache-2.0 |
def trust_bundle(self, trust_bundle):
"""Sets the trust_bundle of this V1beta1ClusterTrustBundleSpec.
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. The data must consist only of PEM certificate blocks that parse... | Sets the trust_bundle of this V1beta1ClusterTrustBundleSpec.
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate m... | trust_bundle | python | kubernetes-client/python | kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py | Apache-2.0 |
def value(self, value):
"""Sets the value of this V1beta1Counter.
Value defines how much of a certain device counter is available. # noqa: E501
:param value: The value of this V1beta1Counter. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_val... | Sets the value of this V1beta1Counter.
Value defines how much of a certain device counter is available. # noqa: E501
:param value: The value of this V1beta1Counter. # noqa: E501
:type: str
| value | python | kubernetes-client/python | kubernetes/client/models/v1beta1_counter.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_counter.py | Apache-2.0 |
def counters(self, counters):
"""Sets the counters of this V1beta1CounterSet.
Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501
:param counters: The counters... | Sets the counters of this V1beta1CounterSet.
Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501
:param counters: The counters of this V1beta1CounterSet. # noqa: E501... | counters | python | kubernetes-client/python | kubernetes/client/models/v1beta1_counter_set.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_counter_set.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1beta1CounterSet.
Name defines the name of the counter set. It must be a DNS label. # noqa: E501
:param name: The name of this V1beta1CounterSet. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_v... | Sets the name of this V1beta1CounterSet.
Name defines the name of the counter set. It must be a DNS label. # noqa: E501
:param name: The name of this V1beta1CounterSet. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1beta1_counter_set.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_counter_set.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1beta1Device.
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501
:param name: The name of this V1beta1Device. # noqa: E501
:type: str
"""
if self.local_var... | Sets the name of this V1beta1Device.
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501
:param name: The name of this V1beta1Device. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1beta1_device.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device.py | Apache-2.0 |
def source(self, source):
"""Sets the source of this V1beta1DeviceAllocationConfiguration.
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501
:param source: The source of this V1bet... | Sets the source of this V1beta1DeviceAllocationConfiguration.
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501
:param source: The source of this V1beta1DeviceAllocationConfiguration. # n... | source | python | kubernetes-client/python | kubernetes/client/models/v1beta1_device_allocation_configuration.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_allocation_configuration.py | Apache-2.0 |
def value(self, value):
"""Sets the value of this V1beta1DeviceCapacity.
Value defines how much of a certain device capacity is available. # noqa: E501
:param value: The value of this V1beta1DeviceCapacity. # noqa: E501
:type: str
"""
if self.local_vars_configuration.... | Sets the value of this V1beta1DeviceCapacity.
Value defines how much of a certain device capacity is available. # noqa: E501
:param value: The value of this V1beta1DeviceCapacity. # noqa: E501
:type: str
| value | python | kubernetes-client/python | kubernetes/client/models/v1beta1_device_capacity.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_capacity.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1beta1DeviceClass.
:param spec: The spec of this V1beta1DeviceClass. # noqa: E501
:type: V1beta1DeviceClassSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise ValueEr... | Sets the spec of this V1beta1DeviceClass.
:param spec: The spec of this V1beta1DeviceClass. # noqa: E501
:type: V1beta1DeviceClassSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1beta1_device_class.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_class.py | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.