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 items(self, items): """Sets the items of this V1beta1DeviceClassList. Items is the list of resource classes. # noqa: E501 :param items: The items of this V1beta1DeviceClassList. # noqa: E501 :type: list[V1beta1DeviceClass] """ if self.local_vars_configuration.clie...
Sets the items of this V1beta1DeviceClassList. Items is the list of resource classes. # noqa: E501 :param items: The items of this V1beta1DeviceClassList. # noqa: E501 :type: list[V1beta1DeviceClass]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_class_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_class_list.py
Apache-2.0
def counter_set(self, counter_set): """Sets the counter_set of this V1beta1DeviceCounterConsumption. CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 :param counter_set: The counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501 ...
Sets the counter_set of this V1beta1DeviceCounterConsumption. CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 :param counter_set: The counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501 :type: str
counter_set
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_counter_consumption.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_counter_consumption.py
Apache-2.0
def counters(self, counters): """Sets the counters of this V1beta1DeviceCounterConsumption. Counters defines the counters 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 V1beta1DeviceCounterConsumption. Counters defines the counters 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/v1beta1_device_counter_consumption.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_counter_consumption.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1DeviceRequest. 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 and unique among all DeviceRequests in a ResourceClaim. # noqa: E501 :param ...
Sets the name of this V1beta1DeviceRequest. 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 and unique among all DeviceRequests in a ResourceClaim. # noqa: E501 :param name: The name of this V1beta1Dev...
name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_request.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_request.py
Apache-2.0
def device(self, device): """Sets the device of this V1beta1DeviceRequestAllocationResult. 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 V1beta1DeviceRequestAllocationResult. # noqa: E5...
Sets the device of this V1beta1DeviceRequestAllocationResult. 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 V1beta1DeviceRequestAllocationResult. # noqa: E501 :type: str
device
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_request_allocation_result.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta1DeviceRequestAllocationResult. 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 V1beta1DeviceRequestAllocationResult. 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: E5...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_request_allocation_result.py
Apache-2.0
def pool(self, pool): """Sets the pool of this V1beta1DeviceRequestAllocationResult. 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...
Sets the pool of this V1beta1DeviceRequestAllocationResult. 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...
pool
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_request_allocation_result.py
Apache-2.0
def request(self, request): """Sets the request of this V1beta1DeviceRequestAllocationResult. 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 t...
Sets the request of this V1beta1DeviceRequestAllocationResult. 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 usin...
request
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_request_allocation_result.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1DeviceSubRequest. 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 n...
Sets the name of this V1beta1DeviceSubRequest. 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 V1beta1Devi...
name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_sub_request.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_sub_request.py
Apache-2.0
def effect(self, effect): """Sets the effect of this V1beta1DeviceTaint. 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 V1beta1DeviceTaint. The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501 :param effect: The effect of this...
effect
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_taint.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_taint.py
Apache-2.0
def key(self, key): """Sets the key of this V1beta1DeviceTaint. The taint key to be applied to a device. Must be a label name. # noqa: E501 :param key: The key of this V1beta1DeviceTaint. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validat...
Sets the key of this V1beta1DeviceTaint. The taint key to be applied to a device. Must be a label name. # noqa: E501 :param key: The key of this V1beta1DeviceTaint. # noqa: E501 :type: str
key
python
kubernetes-client/python
kubernetes/client/models/v1beta1_device_taint.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_device_taint.py
Apache-2.0
def field_ref(self, field_ref): """Sets the field_ref of this V1beta1ExpressionWarning. The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" # noqa: E501 :param field_ref: The fiel...
Sets the field_ref of this V1beta1ExpressionWarning. The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" # noqa: E501 :param field_ref: The field_ref of this V1beta1ExpressionWarning. # no...
field_ref
python
kubernetes-client/python
kubernetes/client/models/v1beta1_expression_warning.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_expression_warning.py
Apache-2.0
def warning(self, warning): """Sets the warning of this V1beta1ExpressionWarning. The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. # noqa: E501 ...
Sets the warning of this V1beta1ExpressionWarning. The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. # noqa: E501 :param warning: The warning of this...
warning
python
kubernetes-client/python
kubernetes/client/models/v1beta1_expression_warning.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_expression_warning.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1IPAddressList. items is the list of IPAddresses. # noqa: E501 :param items: The items of this V1beta1IPAddressList. # noqa: E501 :type: list[V1beta1IPAddress] """ if self.local_vars_configuration.client_side_val...
Sets the items of this V1beta1IPAddressList. items is the list of IPAddresses. # noqa: E501 :param items: The items of this V1beta1IPAddressList. # noqa: E501 :type: list[V1beta1IPAddress]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_ip_address_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_ip_address_list.py
Apache-2.0
def parent_ref(self, parent_ref): """Sets the parent_ref of this V1beta1IPAddressSpec. :param parent_ref: The parent_ref of this V1beta1IPAddressSpec. # noqa: E501 :type: V1beta1ParentReference """ if self.local_vars_configuration.client_side_validation and parent_ref is None:...
Sets the parent_ref of this V1beta1IPAddressSpec. :param parent_ref: The parent_ref of this V1beta1IPAddressSpec. # noqa: E501 :type: V1beta1ParentReference
parent_ref
python
kubernetes-client/python
kubernetes/client/models/v1beta1_ip_address_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_ip_address_spec.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1LeaseCandidateList. items is a list of schema objects. # noqa: E501 :param items: The items of this V1beta1LeaseCandidateList. # noqa: E501 :type: list[V1beta1LeaseCandidate] """ if self.local_vars_configuration...
Sets the items of this V1beta1LeaseCandidateList. items is a list of schema objects. # noqa: E501 :param items: The items of this V1beta1LeaseCandidateList. # noqa: E501 :type: list[V1beta1LeaseCandidate]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_lease_candidate_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_lease_candidate_list.py
Apache-2.0
def binary_version(self, binary_version): """Sets the binary_version of this V1beta1LeaseCandidateSpec. 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 V1beta1LeaseCa...
Sets the binary_version of this V1beta1LeaseCandidateSpec. 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 V1beta1LeaseCandidateSpec. # noqa: E501 :type: str ...
binary_version
python
kubernetes-client/python
kubernetes/client/models/v1beta1_lease_candidate_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_lease_candidate_spec.py
Apache-2.0
def strategy(self, strategy): """Sets the strategy of this V1beta1LeaseCandidateSpec. 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 V1beta1LeaseCandidateSpec. 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 s...
strategy
python
kubernetes-client/python
kubernetes/client/models/v1beta1_lease_candidate_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_lease_candidate_spec.py
Apache-2.0
def expression(self, expression): """Sets the expression of this V1beta1MatchCondition. 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 V1beta1MatchCondition. 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/v1beta1_match_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_match_condition.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1MatchCondition. 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 qu...
Sets the name of this V1beta1MatchCondition. 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 alphan...
name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_match_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_match_condition.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta1OpaqueDeviceConfiguration. 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. M...
Sets the driver of this V1beta1OpaqueDeviceConfiguration. 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 end...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta1_opaque_device_configuration.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_opaque_device_configuration.py
Apache-2.0
def parameters(self, parameters): """Sets the parameters of this V1beta1OpaqueDeviceConfiguration. 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\" + \"apiVers...
Sets the parameters of this V1beta1OpaqueDeviceConfiguration. 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 betw...
parameters
python
kubernetes-client/python
kubernetes/client/models/v1beta1_opaque_device_configuration.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_opaque_device_configuration.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1ParentReference. Name is the name of the object being referenced. # noqa: E501 :param name: The name of this V1beta1ParentReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validati...
Sets the name of this V1beta1ParentReference. Name is the name of the object being referenced. # noqa: E501 :param name: The name of this V1beta1ParentReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_parent_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_parent_reference.py
Apache-2.0
def resource(self, resource): """Sets the resource of this V1beta1ParentReference. Resource is the resource of the object being referenced. # noqa: E501 :param resource: The resource of this V1beta1ParentReference. # noqa: E501 :type: str """ if self.local_vars_config...
Sets the resource of this V1beta1ParentReference. Resource is the resource of the object being referenced. # noqa: E501 :param resource: The resource of this V1beta1ParentReference. # noqa: E501 :type: str
resource
python
kubernetes-client/python
kubernetes/client/models/v1beta1_parent_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_parent_reference.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta1ResourceClaim. :param spec: The spec of this V1beta1ResourceClaim. # noqa: E501 :type: V1beta1ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise V...
Sets the spec of this V1beta1ResourceClaim. :param spec: The spec of this V1beta1ResourceClaim. # noqa: E501 :type: V1beta1ResourceClaimSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1ResourceClaimConsumerReference. Name is the name of resource being referenced. # noqa: E501 :param name: The name of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_config...
Sets the name of this V1beta1ResourceClaimConsumerReference. Name is the name of resource being referenced. # noqa: E501 :param name: The name of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
Apache-2.0
def resource(self, resource): """Sets the resource of this V1beta1ResourceClaimConsumerReference. Resource is the type of resource being referenced, for example \"pods\". # noqa: E501 :param resource: The resource of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str...
Sets the resource of this V1beta1ResourceClaimConsumerReference. Resource is the type of resource being referenced, for example "pods". # noqa: E501 :param resource: The resource of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str
resource
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
Apache-2.0
def uid(self, uid): """Sets the uid of this V1beta1ResourceClaimConsumerReference. UID identifies exactly one incarnation of the resource. # noqa: E501 :param uid: The uid of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_co...
Sets the uid of this V1beta1ResourceClaimConsumerReference. UID identifies exactly one incarnation of the resource. # noqa: E501 :param uid: The uid of this V1beta1ResourceClaimConsumerReference. # noqa: E501 :type: str
uid
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ResourceClaimList. Items is the list of resource claims. # noqa: E501 :param items: The items of this V1beta1ResourceClaimList. # noqa: E501 :type: list[V1beta1ResourceClaim] """ if self.local_vars_configuration...
Sets the items of this V1beta1ResourceClaimList. Items is the list of resource claims. # noqa: E501 :param items: The items of this V1beta1ResourceClaimList. # noqa: E501 :type: list[V1beta1ResourceClaim]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_list.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta1ResourceClaimTemplate. :param spec: The spec of this V1beta1ResourceClaimTemplate. # noqa: E501 :type: V1beta1ResourceClaimTemplateSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: ...
Sets the spec of this V1beta1ResourceClaimTemplate. :param spec: The spec of this V1beta1ResourceClaimTemplate. # noqa: E501 :type: V1beta1ResourceClaimTemplateSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_template.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_template.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ResourceClaimTemplateList. Items is the list of resource claim templates. # noqa: E501 :param items: The items of this V1beta1ResourceClaimTemplateList. # noqa: E501 :type: list[V1beta1ResourceClaimTemplate] """ ...
Sets the items of this V1beta1ResourceClaimTemplateList. Items is the list of resource claim templates. # noqa: E501 :param items: The items of this V1beta1ResourceClaimTemplateList. # noqa: E501 :type: list[V1beta1ResourceClaimTemplate]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_template_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_template_list.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta1ResourceClaimTemplateSpec. :param spec: The spec of this V1beta1ResourceClaimTemplateSpec. # noqa: E501 :type: V1beta1ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: ...
Sets the spec of this V1beta1ResourceClaimTemplateSpec. :param spec: The spec of this V1beta1ResourceClaimTemplateSpec. # noqa: E501 :type: V1beta1ResourceClaimSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_claim_template_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_claim_template_spec.py
Apache-2.0
def generation(self, generation): """Sets the generation of this V1beta1ResourcePool. 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. Cons...
Sets the generation of this V1beta1ResourcePool. 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/v1beta1_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_pool.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1ResourcePool. 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 fie...
Sets the name of this V1beta1ResourcePool. 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/v1beta1_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_pool.py
Apache-2.0
def resource_slice_count(self, resource_slice_count): """Sets the resource_slice_count of this V1beta1ResourcePool. 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 Reso...
Sets the resource_slice_count of this V1beta1ResourcePool. 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 :pa...
resource_slice_count
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_pool.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta1ResourceSlice. :param spec: The spec of this V1beta1ResourceSlice. # noqa: E501 :type: V1beta1ResourceSliceSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise V...
Sets the spec of this V1beta1ResourceSlice. :param spec: The spec of this V1beta1ResourceSlice. # noqa: E501 :type: V1beta1ResourceSliceSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_slice.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_slice.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ResourceSliceList. Items is the list of resource ResourceSlices. # noqa: E501 :param items: The items of this V1beta1ResourceSliceList. # noqa: E501 :type: list[V1beta1ResourceSlice] """ if self.local_vars_confi...
Sets the items of this V1beta1ResourceSliceList. Items is the list of resource ResourceSlices. # noqa: E501 :param items: The items of this V1beta1ResourceSliceList. # noqa: E501 :type: list[V1beta1ResourceSlice]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_slice_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_slice_list.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta1ResourceSliceSpec. 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...
Sets the driver of this V1beta1ResourceSliceSpec. 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 fi...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_slice_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_slice_spec.py
Apache-2.0
def pool(self, pool): """Sets the pool of this V1beta1ResourceSliceSpec. :param pool: The pool of this V1beta1ResourceSliceSpec. # noqa: E501 :type: V1beta1ResourcePool """ if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 rais...
Sets the pool of this V1beta1ResourceSliceSpec. :param pool: The pool of this V1beta1ResourceSliceSpec. # noqa: E501 :type: V1beta1ResourcePool
pool
python
kubernetes-client/python
kubernetes/client/models/v1beta1_resource_slice_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_resource_slice_spec.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ServiceCIDRList. items is the list of ServiceCIDRs. # noqa: E501 :param items: The items of this V1beta1ServiceCIDRList. # noqa: E501 :type: list[V1beta1ServiceCIDR] """ if self.local_vars_configuration.client_s...
Sets the items of this V1beta1ServiceCIDRList. items is the list of ServiceCIDRs. # noqa: E501 :param items: The items of this V1beta1ServiceCIDRList. # noqa: E501 :type: list[V1beta1ServiceCIDR]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_service_cidr_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_service_cidr_list.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ValidatingAdmissionPolicyBindingList. List of PolicyBinding. # noqa: E501 :param items: The items of this V1beta1ValidatingAdmissionPolicyBindingList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicyBinding] ""...
Sets the items of this V1beta1ValidatingAdmissionPolicyBindingList. List of PolicyBinding. # noqa: E501 :param items: The items of this V1beta1ValidatingAdmissionPolicyBindingList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicyBinding]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1ValidatingAdmissionPolicyList. List of ValidatingAdmissionPolicy. # noqa: E501 :param items: The items of this V1beta1ValidatingAdmissionPolicyList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicy] """ ...
Sets the items of this V1beta1ValidatingAdmissionPolicyList. List of ValidatingAdmissionPolicy. # noqa: E501 :param items: The items of this V1beta1ValidatingAdmissionPolicyList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicy]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_validating_admission_policy_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_validating_admission_policy_list.py
Apache-2.0
def expression(self, expression): """Sets the expression of this V1beta1Validation. Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well ...
Sets the expression of this V1beta1Validation. Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: - 'object' -...
expression
python
kubernetes-client/python
kubernetes/client/models/v1beta1_validation.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_validation.py
Apache-2.0
def expression(self, expression): """Sets the expression of this V1beta1Variable. 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 e...
Sets the expression of this V1beta1Variable. 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 V1beta1Variable. # noqa: E...
expression
python
kubernetes-client/python
kubernetes/client/models/v1beta1_variable.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_variable.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta1Variable. 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...
Sets the name of this V1beta1Variable. 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/v1beta1_variable.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_variable.py
Apache-2.0
def driver_name(self, driver_name): """Sets the driver_name of this V1beta1VolumeAttributesClass. Name of the CSI driver This field is immutable. # noqa: E501 :param driver_name: The driver_name of this V1beta1VolumeAttributesClass. # noqa: E501 :type: str """ if self...
Sets the driver_name of this V1beta1VolumeAttributesClass. Name of the CSI driver This field is immutable. # noqa: E501 :param driver_name: The driver_name of this V1beta1VolumeAttributesClass. # noqa: E501 :type: str
driver_name
python
kubernetes-client/python
kubernetes/client/models/v1beta1_volume_attributes_class.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_volume_attributes_class.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1VolumeAttributesClassList. items is the list of VolumeAttributesClass objects. # noqa: E501 :param items: The items of this V1beta1VolumeAttributesClassList. # noqa: E501 :type: list[V1beta1VolumeAttributesClass] """ ...
Sets the items of this V1beta1VolumeAttributesClassList. items is the list of VolumeAttributesClass objects. # noqa: E501 :param items: The items of this V1beta1VolumeAttributesClassList. # noqa: E501 :type: list[V1beta1VolumeAttributesClass]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta1_volume_attributes_class_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta1_volume_attributes_class_list.py
Apache-2.0
def device(self, device): """Sets the device of this V1beta2AllocatedDeviceStatus. 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 V1beta2AllocatedDeviceStatus. # noqa: E501 :type...
Sets the device of this V1beta2AllocatedDeviceStatus. 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 V1beta2AllocatedDeviceStatus. # noqa: E501 :type: str
device
python
kubernetes-client/python
kubernetes/client/models/v1beta2_allocated_device_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_allocated_device_status.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta2AllocatedDeviceStatus. 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 V1beta2AllocatedDeviceStatus. 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/v1beta2_allocated_device_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_allocated_device_status.py
Apache-2.0
def pool(self, pool): """Sets the pool of this V1beta2AllocatedDeviceStatus. 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 V1beta2AllocatedDeviceStatus. 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/v1beta2_allocated_device_status.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_allocated_device_status.py
Apache-2.0
def value(self, value): """Sets the value of this V1beta2Counter. Value defines how much of a certain device counter is available. # noqa: E501 :param value: The value of this V1beta2Counter. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_val...
Sets the value of this V1beta2Counter. Value defines how much of a certain device counter is available. # noqa: E501 :param value: The value of this V1beta2Counter. # noqa: E501 :type: str
value
python
kubernetes-client/python
kubernetes/client/models/v1beta2_counter.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_counter.py
Apache-2.0
def counters(self, counters): """Sets the counters of this V1beta2CounterSet. 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 in all sets is 32. # noqa: E501 :param counters: ...
Sets the counters of this V1beta2CounterSet. 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 in all sets is 32. # noqa: E501 :param counters: The counters of this V1beta2CounterSet. ...
counters
python
kubernetes-client/python
kubernetes/client/models/v1beta2_counter_set.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_counter_set.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2CounterSet. Name defines the name of the counter set. It must be a DNS label. # noqa: E501 :param name: The name of this V1beta2CounterSet. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_v...
Sets the name of this V1beta2CounterSet. Name defines the name of the counter set. It must be a DNS label. # noqa: E501 :param name: The name of this V1beta2CounterSet. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1beta2_counter_set.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_counter_set.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2Device. 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 V1beta2Device. # noqa: E501 :type: str """ if self.local_var...
Sets the name of this V1beta2Device. 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 V1beta2Device. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device.py
Apache-2.0
def source(self, source): """Sets the source of this V1beta2DeviceAllocationConfiguration. 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 V1beta2DeviceAllocationConfiguration. 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 V1beta2DeviceAllocationConfiguration. # n...
source
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_allocation_configuration.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_allocation_configuration.py
Apache-2.0
def value(self, value): """Sets the value of this V1beta2DeviceCapacity. Value defines how much of a certain device capacity is available. # noqa: E501 :param value: The value of this V1beta2DeviceCapacity. # noqa: E501 :type: str """ if self.local_vars_configuration....
Sets the value of this V1beta2DeviceCapacity. Value defines how much of a certain device capacity is available. # noqa: E501 :param value: The value of this V1beta2DeviceCapacity. # noqa: E501 :type: str
value
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_capacity.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_capacity.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta2DeviceClass. :param spec: The spec of this V1beta2DeviceClass. # noqa: E501 :type: V1beta2DeviceClassSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise ValueEr...
Sets the spec of this V1beta2DeviceClass. :param spec: The spec of this V1beta2DeviceClass. # noqa: E501 :type: V1beta2DeviceClassSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_class.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_class.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta2DeviceClassList. Items is the list of resource classes. # noqa: E501 :param items: The items of this V1beta2DeviceClassList. # noqa: E501 :type: list[V1beta2DeviceClass] """ if self.local_vars_configuration.clie...
Sets the items of this V1beta2DeviceClassList. Items is the list of resource classes. # noqa: E501 :param items: The items of this V1beta2DeviceClassList. # noqa: E501 :type: list[V1beta2DeviceClass]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_class_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_class_list.py
Apache-2.0
def counter_set(self, counter_set): """Sets the counter_set of this V1beta2DeviceCounterConsumption. CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 :param counter_set: The counter_set of this V1beta2DeviceCounterConsumption. # noqa: E501 ...
Sets the counter_set of this V1beta2DeviceCounterConsumption. CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 :param counter_set: The counter_set of this V1beta2DeviceCounterConsumption. # noqa: E501 :type: str
counter_set
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_counter_consumption.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_counter_consumption.py
Apache-2.0
def counters(self, counters): """Sets the counters of this V1beta2DeviceCounterConsumption. Counters defines the counters 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 V1beta2DeviceCounterConsumption. Counters defines the counters 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/v1beta2_device_counter_consumption.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_counter_consumption.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2DeviceRequest. Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is ...
Sets the name of this V1beta2DeviceRequest. Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable fiel...
name
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_request.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_request.py
Apache-2.0
def device(self, device): """Sets the device of this V1beta2DeviceRequestAllocationResult. 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 V1beta2DeviceRequestAllocationResult. # noqa: E5...
Sets the device of this V1beta2DeviceRequestAllocationResult. 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 V1beta2DeviceRequestAllocationResult. # noqa: E501 :type: str
device
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_request_allocation_result.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta2DeviceRequestAllocationResult. 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 V1beta2DeviceRequestAllocationResult. 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: E5...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_request_allocation_result.py
Apache-2.0
def pool(self, pool): """Sets the pool of this V1beta2DeviceRequestAllocationResult. 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...
Sets the pool of this V1beta2DeviceRequestAllocationResult. 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...
pool
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_request_allocation_result.py
Apache-2.0
def request(self, request): """Sets the request of this V1beta2DeviceRequestAllocationResult. 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 t...
Sets the request of this V1beta2DeviceRequestAllocationResult. 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 usin...
request
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_request_allocation_result.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_request_allocation_result.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2DeviceSubRequest. 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 n...
Sets the name of this V1beta2DeviceSubRequest. 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 V1beta2Devi...
name
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_sub_request.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_sub_request.py
Apache-2.0
def effect(self, effect): """Sets the effect of this V1beta2DeviceTaint. 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 V1beta2DeviceTaint. The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501 :param effect: The effect of this...
effect
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_taint.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_taint.py
Apache-2.0
def key(self, key): """Sets the key of this V1beta2DeviceTaint. The taint key to be applied to a device. Must be a label name. # noqa: E501 :param key: The key of this V1beta2DeviceTaint. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validat...
Sets the key of this V1beta2DeviceTaint. The taint key to be applied to a device. Must be a label name. # noqa: E501 :param key: The key of this V1beta2DeviceTaint. # noqa: E501 :type: str
key
python
kubernetes-client/python
kubernetes/client/models/v1beta2_device_taint.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_device_taint.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta2OpaqueDeviceConfiguration. 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. M...
Sets the driver of this V1beta2OpaqueDeviceConfiguration. 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 end...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta2_opaque_device_configuration.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_opaque_device_configuration.py
Apache-2.0
def parameters(self, parameters): """Sets the parameters of this V1beta2OpaqueDeviceConfiguration. 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\" + \"apiVers...
Sets the parameters of this V1beta2OpaqueDeviceConfiguration. 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 betw...
parameters
python
kubernetes-client/python
kubernetes/client/models/v1beta2_opaque_device_configuration.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_opaque_device_configuration.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta2ResourceClaim. :param spec: The spec of this V1beta2ResourceClaim. # noqa: E501 :type: V1beta2ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise V...
Sets the spec of this V1beta2ResourceClaim. :param spec: The spec of this V1beta2ResourceClaim. # noqa: E501 :type: V1beta2ResourceClaimSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2ResourceClaimConsumerReference. Name is the name of resource being referenced. # noqa: E501 :param name: The name of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_config...
Sets the name of this V1beta2ResourceClaimConsumerReference. Name is the name of resource being referenced. # noqa: E501 :param name: The name of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
Apache-2.0
def resource(self, resource): """Sets the resource of this V1beta2ResourceClaimConsumerReference. Resource is the type of resource being referenced, for example \"pods\". # noqa: E501 :param resource: The resource of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str...
Sets the resource of this V1beta2ResourceClaimConsumerReference. Resource is the type of resource being referenced, for example "pods". # noqa: E501 :param resource: The resource of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str
resource
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
Apache-2.0
def uid(self, uid): """Sets the uid of this V1beta2ResourceClaimConsumerReference. UID identifies exactly one incarnation of the resource. # noqa: E501 :param uid: The uid of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_co...
Sets the uid of this V1beta2ResourceClaimConsumerReference. UID identifies exactly one incarnation of the resource. # noqa: E501 :param uid: The uid of this V1beta2ResourceClaimConsumerReference. # noqa: E501 :type: str
uid
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta2ResourceClaimList. Items is the list of resource claims. # noqa: E501 :param items: The items of this V1beta2ResourceClaimList. # noqa: E501 :type: list[V1beta2ResourceClaim] """ if self.local_vars_configuration...
Sets the items of this V1beta2ResourceClaimList. Items is the list of resource claims. # noqa: E501 :param items: The items of this V1beta2ResourceClaimList. # noqa: E501 :type: list[V1beta2ResourceClaim]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_list.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta2ResourceClaimTemplate. :param spec: The spec of this V1beta2ResourceClaimTemplate. # noqa: E501 :type: V1beta2ResourceClaimTemplateSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: ...
Sets the spec of this V1beta2ResourceClaimTemplate. :param spec: The spec of this V1beta2ResourceClaimTemplate. # noqa: E501 :type: V1beta2ResourceClaimTemplateSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_template.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_template.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta2ResourceClaimTemplateList. Items is the list of resource claim templates. # noqa: E501 :param items: The items of this V1beta2ResourceClaimTemplateList. # noqa: E501 :type: list[V1beta2ResourceClaimTemplate] """ ...
Sets the items of this V1beta2ResourceClaimTemplateList. Items is the list of resource claim templates. # noqa: E501 :param items: The items of this V1beta2ResourceClaimTemplateList. # noqa: E501 :type: list[V1beta2ResourceClaimTemplate]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_template_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_template_list.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta2ResourceClaimTemplateSpec. :param spec: The spec of this V1beta2ResourceClaimTemplateSpec. # noqa: E501 :type: V1beta2ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: ...
Sets the spec of this V1beta2ResourceClaimTemplateSpec. :param spec: The spec of this V1beta2ResourceClaimTemplateSpec. # noqa: E501 :type: V1beta2ResourceClaimSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_claim_template_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_claim_template_spec.py
Apache-2.0
def generation(self, generation): """Sets the generation of this V1beta2ResourcePool. 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. Cons...
Sets the generation of this V1beta2ResourcePool. 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/v1beta2_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_pool.py
Apache-2.0
def name(self, name): """Sets the name of this V1beta2ResourcePool. 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 fie...
Sets the name of this V1beta2ResourcePool. 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/v1beta2_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_pool.py
Apache-2.0
def resource_slice_count(self, resource_slice_count): """Sets the resource_slice_count of this V1beta2ResourcePool. 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 Reso...
Sets the resource_slice_count of this V1beta2ResourcePool. 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 :pa...
resource_slice_count
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_pool.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_pool.py
Apache-2.0
def spec(self, spec): """Sets the spec of this V1beta2ResourceSlice. :param spec: The spec of this V1beta2ResourceSlice. # noqa: E501 :type: V1beta2ResourceSliceSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise V...
Sets the spec of this V1beta2ResourceSlice. :param spec: The spec of this V1beta2ResourceSlice. # noqa: E501 :type: V1beta2ResourceSliceSpec
spec
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_slice.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_slice.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta2ResourceSliceList. Items is the list of resource ResourceSlices. # noqa: E501 :param items: The items of this V1beta2ResourceSliceList. # noqa: E501 :type: list[V1beta2ResourceSlice] """ if self.local_vars_confi...
Sets the items of this V1beta2ResourceSliceList. Items is the list of resource ResourceSlices. # noqa: E501 :param items: The items of this V1beta2ResourceSliceList. # noqa: E501 :type: list[V1beta2ResourceSlice]
items
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_slice_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_slice_list.py
Apache-2.0
def driver(self, driver): """Sets the driver of this V1beta2ResourceSliceSpec. 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...
Sets the driver of this V1beta2ResourceSliceSpec. 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 fi...
driver
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_slice_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_slice_spec.py
Apache-2.0
def pool(self, pool): """Sets the pool of this V1beta2ResourceSliceSpec. :param pool: The pool of this V1beta2ResourceSliceSpec. # noqa: E501 :type: V1beta2ResourcePool """ if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 rais...
Sets the pool of this V1beta2ResourceSliceSpec. :param pool: The pool of this V1beta2ResourceSliceSpec. # noqa: E501 :type: V1beta2ResourcePool
pool
python
kubernetes-client/python
kubernetes/client/models/v1beta2_resource_slice_spec.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1beta2_resource_slice_spec.py
Apache-2.0
def name(self, name): """Sets the name of this V1APIGroup. name is the name of the group. # noqa: E501 :param name: The name of this V1APIGroup. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 ...
Sets the name of this V1APIGroup. name is the name of the group. # noqa: E501 :param name: The name of this V1APIGroup. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_api_group.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_group.py
Apache-2.0
def versions(self, versions): """Sets the versions of this V1APIGroup. versions are the versions supported in this group. # noqa: E501 :param versions: The versions of this V1APIGroup. # noqa: E501 :type: list[V1GroupVersionForDiscovery] """ if self.local_vars_configu...
Sets the versions of this V1APIGroup. versions are the versions supported in this group. # noqa: E501 :param versions: The versions of this V1APIGroup. # noqa: E501 :type: list[V1GroupVersionForDiscovery]
versions
python
kubernetes-client/python
kubernetes/client/models/v1_api_group.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_group.py
Apache-2.0
def groups(self, groups): """Sets the groups of this V1APIGroupList. groups is a list of APIGroup. # noqa: E501 :param groups: The groups of this V1APIGroupList. # noqa: E501 :type: list[V1APIGroup] """ if self.local_vars_configuration.client_side_validation and group...
Sets the groups of this V1APIGroupList. groups is a list of APIGroup. # noqa: E501 :param groups: The groups of this V1APIGroupList. # noqa: E501 :type: list[V1APIGroup]
groups
python
kubernetes-client/python
kubernetes/client/models/v1_api_group_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_group_list.py
Apache-2.0
def kind(self, kind): """Sets the kind of this V1APIResource. kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') # noqa: E501 :param kind: The kind of this V1APIResource. # noqa: E501 :type: str """ if self.local_vars_configuration.client_...
Sets the kind of this V1APIResource. kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') # noqa: E501 :param kind: The kind of this V1APIResource. # noqa: E501 :type: str
kind
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource.py
Apache-2.0
def name(self, name): """Sets the name of this V1APIResource. name is the plural name of the resource. # noqa: E501 :param name: The name of this V1APIResource. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # no...
Sets the name of this V1APIResource. name is the plural name of the resource. # noqa: E501 :param name: The name of this V1APIResource. # noqa: E501 :type: str
name
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource.py
Apache-2.0
def namespaced(self, namespaced): """Sets the namespaced of this V1APIResource. namespaced indicates if a resource is namespaced or not. # noqa: E501 :param namespaced: The namespaced of this V1APIResource. # noqa: E501 :type: bool """ if self.local_vars_configuration...
Sets the namespaced of this V1APIResource. namespaced indicates if a resource is namespaced or not. # noqa: E501 :param namespaced: The namespaced of this V1APIResource. # noqa: E501 :type: bool
namespaced
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource.py
Apache-2.0
def singular_name(self, singular_name): """Sets the singular_name of this V1APIResource. singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural ar...
Sets the singular_name of this V1APIResource. singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. # noqa: ...
singular_name
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource.py
Apache-2.0
def verbs(self, verbs): """Sets the verbs of this V1APIResource. verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) # noqa: E501 :param verbs: The verbs of this V1APIResource. # noqa: E501 :type: list[s...
Sets the verbs of this V1APIResource. verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) # noqa: E501 :param verbs: The verbs of this V1APIResource. # noqa: E501 :type: list[str]
verbs
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource.py
Apache-2.0
def group_version(self, group_version): """Sets the group_version of this V1APIResourceList. groupVersion is the group and version this APIResourceList is for. # noqa: E501 :param group_version: The group_version of this V1APIResourceList. # noqa: E501 :type: str """ ...
Sets the group_version of this V1APIResourceList. groupVersion is the group and version this APIResourceList is for. # noqa: E501 :param group_version: The group_version of this V1APIResourceList. # noqa: E501 :type: str
group_version
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource_list.py
Apache-2.0
def resources(self, resources): """Sets the resources of this V1APIResourceList. resources contains the name of the resources and if they are namespaced. # noqa: E501 :param resources: The resources of this V1APIResourceList. # noqa: E501 :type: list[V1APIResource] """ ...
Sets the resources of this V1APIResourceList. resources contains the name of the resources and if they are namespaced. # noqa: E501 :param resources: The resources of this V1APIResourceList. # noqa: E501 :type: list[V1APIResource]
resources
python
kubernetes-client/python
kubernetes/client/models/v1_api_resource_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_resource_list.py
Apache-2.0
def status(self, status): """Sets the status of this V1APIServiceCondition. Status is the status of the condition. Can be True, False, Unknown. # noqa: E501 :param status: The status of this V1APIServiceCondition. # noqa: E501 :type: str """ if self.local_vars_configu...
Sets the status of this V1APIServiceCondition. Status is the status of the condition. Can be True, False, Unknown. # noqa: E501 :param status: The status of this V1APIServiceCondition. # noqa: E501 :type: str
status
python
kubernetes-client/python
kubernetes/client/models/v1_api_service_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_service_condition.py
Apache-2.0
def type(self, type): """Sets the type of this V1APIServiceCondition. Type is the type of the condition. # noqa: E501 :param type: The type of this V1APIServiceCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and type is N...
Sets the type of this V1APIServiceCondition. Type is the type of the condition. # noqa: E501 :param type: The type of this V1APIServiceCondition. # noqa: E501 :type: str
type
python
kubernetes-client/python
kubernetes/client/models/v1_api_service_condition.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_service_condition.py
Apache-2.0
def items(self, items): """Sets the items of this V1APIServiceList. Items is the list of APIService # noqa: E501 :param items: The items of this V1APIServiceList. # noqa: E501 :type: list[V1APIService] """ if self.local_vars_configuration.client_side_validation and it...
Sets the items of this V1APIServiceList. Items is the list of APIService # noqa: E501 :param items: The items of this V1APIServiceList. # noqa: E501 :type: list[V1APIService]
items
python
kubernetes-client/python
kubernetes/client/models/v1_api_service_list.py
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_api_service_list.py
Apache-2.0
def ca_bundle(self, ca_bundle): """Sets the ca_bundle of this V1APIServiceSpec. CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 :param ca_bundle: The ca_bundle of...
Sets the ca_bundle of this V1APIServiceSpec. CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 :param ca_bundle: The ca_bundle of this V1APIServiceSpec. # noqa: E501 ...
ca_bundle
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 group_priority_minimum(self, group_priority_minimum): """Sets the group_priority_minimum of this V1APIServiceSpec. GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of...
Sets the group_priority_minimum of this V1APIServiceSpec. GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values suc...
group_priority_minimum
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