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 V1SecretList.
Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret # noqa: E501
:param items: The items of this V1SecretList. # noqa: E501
:type: list[V1Secret]
"""
if ... | Sets the items of this V1SecretList.
Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret # noqa: E501
:param items: The items of this V1SecretList. # noqa: E501
:type: list[V1Secret]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_secret_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_secret_list.py | Apache-2.0 |
def json_path(self, json_path):
"""Sets the json_path of this V1SelectableField.
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or int... | Sets the json_path of this V1SelectableField.
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings wi... | json_path | python | kubernetes-client/python | kubernetes/client/models/v1_selectable_field.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_selectable_field.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1SelfSubjectAccessReview.
:param spec: The spec of this V1SelfSubjectAccessReview. # noqa: E501
:type: V1SelfSubjectAccessReviewSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1SelfSubjectAccessReview.
:param spec: The spec of this V1SelfSubjectAccessReview. # noqa: E501
:type: V1SelfSubjectAccessReviewSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_self_subject_access_review.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_self_subject_access_review.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1SelfSubjectRulesReview.
:param spec: The spec of this V1SelfSubjectRulesReview. # noqa: E501
:type: V1SelfSubjectRulesReviewSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1SelfSubjectRulesReview.
:param spec: The spec of this V1SelfSubjectRulesReview. # noqa: E501
:type: V1SelfSubjectRulesReviewSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_self_subject_rules_review.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_self_subject_rules_review.py | Apache-2.0 |
def client_cidr(self, client_cidr):
"""Sets the client_cidr of this V1ServerAddressByClientCIDR.
The CIDR with which clients can match their IP to figure out the server address that they should use. # noqa: E501
:param client_cidr: The client_cidr of this V1ServerAddressByClientCIDR. # noqa:... | Sets the client_cidr of this V1ServerAddressByClientCIDR.
The CIDR with which clients can match their IP to figure out the server address that they should use. # noqa: E501
:param client_cidr: The client_cidr of this V1ServerAddressByClientCIDR. # noqa: E501
:type: str
| client_cidr | python | kubernetes-client/python | kubernetes/client/models/v1_server_address_by_client_cidr.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_server_address_by_client_cidr.py | Apache-2.0 |
def server_address(self, server_address):
"""Sets the server_address of this V1ServerAddressByClientCIDR.
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. # noqa: E501
:param server_address: The server_address of ... | Sets the server_address of this V1ServerAddressByClientCIDR.
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. # noqa: E501
:param server_address: The server_address of this V1ServerAddressByClientCIDR. # noqa: E501
... | server_address | python | kubernetes-client/python | kubernetes/client/models/v1_server_address_by_client_cidr.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_server_address_by_client_cidr.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ServiceAccountList.
List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ # noqa: E501
:param items: The items of this V1ServiceAccountList. # noqa: E501
:type: list[... | Sets the items of this V1ServiceAccountList.
List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ # noqa: E501
:param items: The items of this V1ServiceAccountList. # noqa: E501
:type: list[V1ServiceAccount]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_service_account_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_account_list.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ServiceAccountSubject.
`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. # noqa: E501
:param name: The name of this V1ServiceAccountSubject. # noqa: E501
:type: str
"""
... | Sets the name of this V1ServiceAccountSubject.
`name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required. # noqa: E501
:param name: The name of this V1ServiceAccountSubject. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_service_account_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_account_subject.py | Apache-2.0 |
def namespace(self, namespace):
"""Sets the namespace of this V1ServiceAccountSubject.
`namespace` is the namespace of matching ServiceAccount objects. Required. # noqa: E501
:param namespace: The namespace of this V1ServiceAccountSubject. # noqa: E501
:type: str
"""
... | Sets the namespace of this V1ServiceAccountSubject.
`namespace` is the namespace of matching ServiceAccount objects. Required. # noqa: E501
:param namespace: The namespace of this V1ServiceAccountSubject. # noqa: E501
:type: str
| namespace | python | kubernetes-client/python | kubernetes/client/models/v1_service_account_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_account_subject.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1ServiceAccountTokenProjection.
path is the path relative to the mount point of the file to project the token into. # noqa: E501
:param path: The path of this V1ServiceAccountTokenProjection. # noqa: E501
:type: str
"""
... | Sets the path of this V1ServiceAccountTokenProjection.
path is the path relative to the mount point of the file to project the token into. # noqa: E501
:param path: The path of this V1ServiceAccountTokenProjection. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_service_account_token_projection.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_account_token_projection.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ServiceCIDRList.
items is the list of ServiceCIDRs. # noqa: E501
:param items: The items of this V1ServiceCIDRList. # noqa: E501
:type: list[V1ServiceCIDR]
"""
if self.local_vars_configuration.client_side_validation ... | Sets the items of this V1ServiceCIDRList.
items is the list of ServiceCIDRs. # noqa: E501
:param items: The items of this V1ServiceCIDRList. # noqa: E501
:type: list[V1ServiceCIDR]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_service_cidr_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_cidr_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ServiceList.
List of services # noqa: E501
:param items: The items of this V1ServiceList. # noqa: E501
:type: list[V1Service]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa: E5... | Sets the items of this V1ServiceList.
List of services # noqa: E501
:param items: The items of this V1ServiceList. # noqa: E501
:type: list[V1Service]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_service_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_list.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1ServicePort.
The port that will be exposed by this service. # noqa: E501
:param port: The port of this V1ServicePort. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and port is None:... | Sets the port of this V1ServicePort.
The port that will be exposed by this service. # noqa: E501
:param port: The port of this V1ServicePort. # noqa: E501
:type: int
| port | python | kubernetes-client/python | kubernetes/client/models/v1_service_port.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_service_port.py | Apache-2.0 |
def seconds(self, seconds):
"""Sets the seconds of this V1SleepAction.
Seconds is the number of seconds to sleep. # noqa: E501
:param seconds: The seconds of this V1SleepAction. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and se... | Sets the seconds of this V1SleepAction.
Seconds is the number of seconds to sleep. # noqa: E501
:param seconds: The seconds of this V1SleepAction. # noqa: E501
:type: int
| seconds | python | kubernetes-client/python | kubernetes/client/models/v1_sleep_action.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_sleep_action.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1StatefulSetCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1StatefulSetCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.clien... | Sets the status of this V1StatefulSetCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1StatefulSetCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1StatefulSetCondition.
Type of statefulset condition. # noqa: E501
:param type: The type of this V1StatefulSetCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is Non... | Sets the type of this V1StatefulSetCondition.
Type of statefulset condition. # noqa: E501
:param type: The type of this V1StatefulSetCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1StatefulSetList.
Items is the list of stateful sets. # noqa: E501
:param items: The items of this V1StatefulSetList. # noqa: E501
:type: list[V1StatefulSet]
"""
if self.local_vars_configuration.client_side_validation... | Sets the items of this V1StatefulSetList.
Items is the list of stateful sets. # noqa: E501
:param items: The items of this V1StatefulSetList. # noqa: E501
:type: list[V1StatefulSet]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_list.py | Apache-2.0 |
def selector(self, selector):
"""Sets the selector of this V1StatefulSetSpec.
:param selector: The selector of this V1StatefulSetSpec. # noqa: E501
:type: V1LabelSelector
"""
if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501
... | Sets the selector of this V1StatefulSetSpec.
:param selector: The selector of this V1StatefulSetSpec. # noqa: E501
:type: V1LabelSelector
| selector | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_spec.py | Apache-2.0 |
def template(self, template):
"""Sets the template of this V1StatefulSetSpec.
:param template: The template of this V1StatefulSetSpec. # noqa: E501
:type: V1PodTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501
... | Sets the template of this V1StatefulSetSpec.
:param template: The template of this V1StatefulSetSpec. # noqa: E501
:type: V1PodTemplateSpec
| template | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_spec.py | Apache-2.0 |
def replicas(self, replicas):
"""Sets the replicas of this V1StatefulSetStatus.
replicas is the number of Pods created by the StatefulSet controller. # noqa: E501
:param replicas: The replicas of this V1StatefulSetStatus. # noqa: E501
:type: int
"""
if self.local_vars... | Sets the replicas of this V1StatefulSetStatus.
replicas is the number of Pods created by the StatefulSet controller. # noqa: E501
:param replicas: The replicas of this V1StatefulSetStatus. # noqa: E501
:type: int
| replicas | python | kubernetes-client/python | kubernetes/client/models/v1_stateful_set_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_stateful_set_status.py | Apache-2.0 |
def provisioner(self, provisioner):
"""Sets the provisioner of this V1StorageClass.
provisioner indicates the type of the provisioner. # noqa: E501
:param provisioner: The provisioner of this V1StorageClass. # noqa: E501
:type: str
"""
if self.local_vars_configuration... | Sets the provisioner of this V1StorageClass.
provisioner indicates the type of the provisioner. # noqa: E501
:param provisioner: The provisioner of this V1StorageClass. # noqa: E501
:type: str
| provisioner | python | kubernetes-client/python | kubernetes/client/models/v1_storage_class.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_storage_class.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1StorageClassList.
items is the list of StorageClasses # noqa: E501
:param items: The items of this V1StorageClassList. # noqa: E501
:type: list[V1StorageClass]
"""
if self.local_vars_configuration.client_side_validat... | Sets the items of this V1StorageClassList.
items is the list of StorageClasses # noqa: E501
:param items: The items of this V1StorageClassList. # noqa: E501
:type: list[V1StorageClass]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_storage_class_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_storage_class_list.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1SubjectAccessReview.
:param spec: The spec of this V1SubjectAccessReview. # noqa: E501
:type: V1SubjectAccessReviewSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
rais... | Sets the spec of this V1SubjectAccessReview.
:param spec: The spec of this V1SubjectAccessReview. # noqa: E501
:type: V1SubjectAccessReviewSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_subject_access_review.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_subject_access_review.py | Apache-2.0 |
def allowed(self, allowed):
"""Sets the allowed of this V1SubjectAccessReviewStatus.
Allowed is required. True if the action would be allowed, false otherwise. # noqa: E501
:param allowed: The allowed of this V1SubjectAccessReviewStatus. # noqa: E501
:type: bool
"""
i... | Sets the allowed of this V1SubjectAccessReviewStatus.
Allowed is required. True if the action would be allowed, false otherwise. # noqa: E501
:param allowed: The allowed of this V1SubjectAccessReviewStatus. # noqa: E501
:type: bool
| allowed | python | kubernetes-client/python | kubernetes/client/models/v1_subject_access_review_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_subject_access_review_status.py | Apache-2.0 |
def incomplete(self, incomplete):
"""Sets the incomplete of this V1SubjectRulesReviewStatus.
Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. # noqa: E501
... | Sets the incomplete of this V1SubjectRulesReviewStatus.
Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. # noqa: E501
:param incomplete: The incomplete of thi... | incomplete | python | kubernetes-client/python | kubernetes/client/models/v1_subject_rules_review_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_subject_rules_review_status.py | Apache-2.0 |
def non_resource_rules(self, non_resource_rules):
"""Sets the non_resource_rules of this V1SubjectRulesReviewStatus.
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. # no... | Sets the non_resource_rules of this V1SubjectRulesReviewStatus.
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. # noqa: E501
:param non_resource_rules: The non_resource... | non_resource_rules | python | kubernetes-client/python | kubernetes/client/models/v1_subject_rules_review_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_subject_rules_review_status.py | Apache-2.0 |
def resource_rules(self, resource_rules):
"""Sets the resource_rules of this V1SubjectRulesReviewStatus.
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. # noqa: E501
:... | Sets the resource_rules of this V1SubjectRulesReviewStatus.
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. # noqa: E501
:param resource_rules: The resource_rules of this V1Su... | resource_rules | python | kubernetes-client/python | kubernetes/client/models/v1_subject_rules_review_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_subject_rules_review_status.py | Apache-2.0 |
def rules(self, rules):
"""Sets the rules of this V1SuccessPolicy.
rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering p... | Sets the rules of this V1SuccessPolicy.
rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state f... | rules | python | kubernetes-client/python | kubernetes/client/models/v1_success_policy.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_success_policy.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1Sysctl.
Name of a property to set # noqa: E501
:param name: The name of this V1Sysctl. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
rais... | Sets the name of this V1Sysctl.
Name of a property to set # noqa: E501
:param name: The name of this V1Sysctl. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_sysctl.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_sysctl.py | Apache-2.0 |
def value(self, value):
"""Sets the value of this V1Sysctl.
Value of a property to set # noqa: E501
:param value: The value of this V1Sysctl. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501
... | Sets the value of this V1Sysctl.
Value of a property to set # noqa: E501
:param value: The value of this V1Sysctl. # noqa: E501
:type: str
| value | python | kubernetes-client/python | kubernetes/client/models/v1_sysctl.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_sysctl.py | Apache-2.0 |
def effect(self, effect):
"""Sets the effect of this V1Taint.
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. # noqa: E501
:param effect: The effect of this V1Taint. # noqa: E501
:type: str
... | Sets the effect of this V1Taint.
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. # noqa: E501
:param effect: The effect of this V1Taint. # noqa: E501
:type: str
| effect | python | kubernetes-client/python | kubernetes/client/models/v1_taint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_taint.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1Taint.
Required. The taint key to be applied to a node. # noqa: E501
:param key: The key of this V1Taint. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501
... | Sets the key of this V1Taint.
Required. The taint key to be applied to a node. # noqa: E501
:param key: The key of this V1Taint. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_taint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_taint.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1TCPSocketAction.
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. # noqa: E501
:param port: The port of this V1TCPSocketAction. # noqa: E501
:type: object
... | Sets the port of this V1TCPSocketAction.
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. # noqa: E501
:param port: The port of this V1TCPSocketAction. # noqa: E501
:type: object
| port | python | kubernetes-client/python | kubernetes/client/models/v1_tcp_socket_action.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_tcp_socket_action.py | Apache-2.0 |
def audiences(self, audiences):
"""Sets the audiences of this V1TokenRequestSpec.
Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multipl... | Sets the audiences of this V1TokenRequestSpec.
Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate aga... | audiences | python | kubernetes-client/python | kubernetes/client/models/v1_token_request_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_token_request_spec.py | Apache-2.0 |
def expiration_timestamp(self, expiration_timestamp):
"""Sets the expiration_timestamp of this V1TokenRequestStatus.
ExpirationTimestamp is the time of expiration of the returned token. # noqa: E501
:param expiration_timestamp: The expiration_timestamp of this V1TokenRequestStatus. # noqa: E... | Sets the expiration_timestamp of this V1TokenRequestStatus.
ExpirationTimestamp is the time of expiration of the returned token. # noqa: E501
:param expiration_timestamp: The expiration_timestamp of this V1TokenRequestStatus. # noqa: E501
:type: datetime
| expiration_timestamp | python | kubernetes-client/python | kubernetes/client/models/v1_token_request_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_token_request_status.py | Apache-2.0 |
def token(self, token):
"""Sets the token of this V1TokenRequestStatus.
Token is the opaque bearer token. # noqa: E501
:param token: The token of this V1TokenRequestStatus. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and token i... | Sets the token of this V1TokenRequestStatus.
Token is the opaque bearer token. # noqa: E501
:param token: The token of this V1TokenRequestStatus. # noqa: E501
:type: str
| token | python | kubernetes-client/python | kubernetes/client/models/v1_token_request_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_token_request_status.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1TokenReview.
:param spec: The spec of this V1TokenReview. # noqa: E501
:type: V1TokenReviewSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise ValueError("Invalid va... | Sets the spec of this V1TokenReview.
:param spec: The spec of this V1TokenReview. # noqa: E501
:type: V1TokenReviewSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_token_review.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_token_review.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1TopologySelectorLabelRequirement.
The label key that the selector applies to. # noqa: E501
:param key: The key of this V1TopologySelectorLabelRequirement. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client... | Sets the key of this V1TopologySelectorLabelRequirement.
The label key that the selector applies to. # noqa: E501
:param key: The key of this V1TopologySelectorLabelRequirement. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_topology_selector_label_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_topology_selector_label_requirement.py | Apache-2.0 |
def values(self, values):
"""Sets the values of this V1TopologySelectorLabelRequirement.
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. # noqa: E501
:param values: The values of this V1TopologySelectorLabelRequirement. # noqa: E501
... | Sets the values of this V1TopologySelectorLabelRequirement.
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. # noqa: E501
:param values: The values of this V1TopologySelectorLabelRequirement. # noqa: E501
:type: list[str]
| values | python | kubernetes-client/python | kubernetes/client/models/v1_topology_selector_label_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_topology_selector_label_requirement.py | Apache-2.0 |
def topology_key(self, topology_key):
"""Sets the topology_key of this V1TopologySpreadConstraint.
TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put b... | Sets the topology_key of this V1TopologySpreadConstraint.
TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. We define ... | topology_key | python | kubernetes-client/python | kubernetes/client/models/v1_topology_spread_constraint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_topology_spread_constraint.py | Apache-2.0 |
def when_unsatisfiable(self, when_unsatisfiable):
"""Sets the when_unsatisfiable of this V1TopologySpreadConstraint.
WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells t... | Sets the when_unsatisfiable of this V1TopologySpreadConstraint.
WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but givin... | when_unsatisfiable | python | kubernetes-client/python | kubernetes/client/models/v1_topology_spread_constraint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_topology_spread_constraint.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V1TypedLocalObjectReference.
Kind is the type of resource being referenced # noqa: E501
:param kind: The kind of this V1TypedLocalObjectReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_v... | Sets the kind of this V1TypedLocalObjectReference.
Kind is the type of resource being referenced # noqa: E501
:param kind: The kind of this V1TypedLocalObjectReference. # noqa: E501
:type: str
| kind | python | kubernetes-client/python | kubernetes/client/models/v1_typed_local_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_typed_local_object_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1TypedLocalObjectReference.
Name is the name of resource being referenced # noqa: E501
:param name: The name of this V1TypedLocalObjectReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_v... | Sets the name of this V1TypedLocalObjectReference.
Name is the name of resource being referenced # noqa: E501
:param name: The name of this V1TypedLocalObjectReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_typed_local_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_typed_local_object_reference.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V1TypedObjectReference.
Kind is the type of resource being referenced # noqa: E501
:param kind: The kind of this V1TypedObjectReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation ... | Sets the kind of this V1TypedObjectReference.
Kind is the type of resource being referenced # noqa: E501
:param kind: The kind of this V1TypedObjectReference. # noqa: E501
:type: str
| kind | python | kubernetes-client/python | kubernetes/client/models/v1_typed_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_typed_object_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1TypedObjectReference.
Name is the name of resource being referenced # noqa: E501
:param name: The name of this V1TypedObjectReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation ... | Sets the name of this V1TypedObjectReference.
Name is the name of resource being referenced # noqa: E501
:param name: The name of this V1TypedObjectReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_typed_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_typed_object_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1UserSubject.
`name` is the username that matches, or \"*\" to match all usernames. Required. # noqa: E501
:param name: The name of this V1UserSubject. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_... | Sets the name of this V1UserSubject.
`name` is the username that matches, or "*" to match all usernames. Required. # noqa: E501
:param name: The name of this V1UserSubject. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_user_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_user_subject.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ValidatingAdmissionPolicyBindingList.
List of PolicyBinding. # noqa: E501
:param items: The items of this V1ValidatingAdmissionPolicyBindingList. # noqa: E501
:type: list[V1ValidatingAdmissionPolicyBinding]
"""
if se... | Sets the items of this V1ValidatingAdmissionPolicyBindingList.
List of PolicyBinding. # noqa: E501
:param items: The items of this V1ValidatingAdmissionPolicyBindingList. # noqa: E501
:type: list[V1ValidatingAdmissionPolicyBinding]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_validating_admission_policy_binding_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_admission_policy_binding_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ValidatingAdmissionPolicyList.
List of ValidatingAdmissionPolicy. # noqa: E501
:param items: The items of this V1ValidatingAdmissionPolicyList. # noqa: E501
:type: list[V1ValidatingAdmissionPolicy]
"""
if self.local_... | Sets the items of this V1ValidatingAdmissionPolicyList.
List of ValidatingAdmissionPolicy. # noqa: E501
:param items: The items of this V1ValidatingAdmissionPolicyList. # noqa: E501
:type: list[V1ValidatingAdmissionPolicy]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_validating_admission_policy_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_admission_policy_list.py | Apache-2.0 |
def admission_review_versions(self, admission_review_versions):
"""Sets the admission_review_versions of this V1ValidatingWebhook.
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it suppor... | Sets the admission_review_versions of this V1ValidatingWebhook.
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server,... | admission_review_versions | python | kubernetes-client/python | kubernetes/client/models/v1_validating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_webhook.py | Apache-2.0 |
def client_config(self, client_config):
"""Sets the client_config of this V1ValidatingWebhook.
:param client_config: The client_config of this V1ValidatingWebhook. # noqa: E501
:type: AdmissionregistrationV1WebhookClientConfig
"""
if self.local_vars_configuration.client_side_v... | Sets the client_config of this V1ValidatingWebhook.
:param client_config: The client_config of this V1ValidatingWebhook. # noqa: E501
:type: AdmissionregistrationV1WebhookClientConfig
| client_config | python | kubernetes-client/python | kubernetes/client/models/v1_validating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_webhook.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ValidatingWebhook.
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. # noqa: E501
:... | Sets the name of this V1ValidatingWebhook.
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. # noqa: E501
:param name: The name of this V1Vali... | name | python | kubernetes-client/python | kubernetes/client/models/v1_validating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_webhook.py | Apache-2.0 |
def side_effects(self, side_effects):
"""Sets the side_effects of this V1ValidatingWebhook.
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a re... | Sets the side_effects of this V1ValidatingWebhook.
SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejec... | side_effects | python | kubernetes-client/python | kubernetes/client/models/v1_validating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_webhook.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1ValidatingWebhookConfigurationList.
List of ValidatingWebhookConfiguration. # noqa: E501
:param items: The items of this V1ValidatingWebhookConfigurationList. # noqa: E501
:type: list[V1ValidatingWebhookConfiguration]
"""
... | Sets the items of this V1ValidatingWebhookConfigurationList.
List of ValidatingWebhookConfiguration. # noqa: E501
:param items: The items of this V1ValidatingWebhookConfigurationList. # noqa: E501
:type: list[V1ValidatingWebhookConfiguration]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_validating_webhook_configuration_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validating_webhook_configuration_list.py | Apache-2.0 |
def expression(self, expression):
"""Sets the expression of this V1Validation.
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 so... | Sets the expression of this V1Validation.
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' - The ... | expression | python | kubernetes-client/python | kubernetes/client/models/v1_validation.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validation.py | Apache-2.0 |
def rule(self, rule):
"""Sets the rule of this V1ValidationRule.
Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression i... | Sets the rule of this V1ValidationRule.
Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Exam... | rule | python | kubernetes-client/python | kubernetes/client/models/v1_validation_rule.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_validation_rule.py | Apache-2.0 |
def expression(self, expression):
"""Sets the expression of this V1Variable.
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 expres... | Sets the expression of this V1Variable.
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 V1Variable. # noqa: E501
... | expression | python | kubernetes-client/python | kubernetes/client/models/v1_variable.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_variable.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1Variable.
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 `... | Sets the name of this V1Variable.
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/v1_variable.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_variable.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1Volume.
name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501
:param name: The name of this V1Volume. # noqa: E501
:typ... | Sets the name of this V1Volume.
name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501
:param name: The name of this V1Volume. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_volume.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1VolumeAttachment.
:param spec: The spec of this V1VolumeAttachment. # noqa: E501
:type: V1VolumeAttachmentSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
raise ValueEr... | Sets the spec of this V1VolumeAttachment.
:param spec: The spec of this V1VolumeAttachment. # noqa: E501
:type: V1VolumeAttachmentSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1VolumeAttachmentList.
items is the list of VolumeAttachments # noqa: E501
:param items: The items of this V1VolumeAttachmentList. # noqa: E501
:type: list[V1VolumeAttachment]
"""
if self.local_vars_configuration.clie... | Sets the items of this V1VolumeAttachmentList.
items is the list of VolumeAttachments # noqa: E501
:param items: The items of this V1VolumeAttachmentList. # noqa: E501
:type: list[V1VolumeAttachment]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment_list.py | Apache-2.0 |
def attacher(self, attacher):
"""Sets the attacher of this V1VolumeAttachmentSpec.
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). # noqa: E501
:param attacher: The attacher of this V1VolumeAttachmentSpec. # noqa: ... | Sets the attacher of this V1VolumeAttachmentSpec.
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). # noqa: E501
:param attacher: The attacher of this V1VolumeAttachmentSpec. # noqa: E501
:type: str
| attacher | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment_spec.py | Apache-2.0 |
def node_name(self, node_name):
"""Sets the node_name of this V1VolumeAttachmentSpec.
nodeName represents the node that the volume should be attached to. # noqa: E501
:param node_name: The node_name of this V1VolumeAttachmentSpec. # noqa: E501
:type: str
"""
if self.l... | Sets the node_name of this V1VolumeAttachmentSpec.
nodeName represents the node that the volume should be attached to. # noqa: E501
:param node_name: The node_name of this V1VolumeAttachmentSpec. # noqa: E501
:type: str
| node_name | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment_spec.py | Apache-2.0 |
def source(self, source):
"""Sets the source of this V1VolumeAttachmentSpec.
:param source: The source of this V1VolumeAttachmentSpec. # noqa: E501
:type: V1VolumeAttachmentSource
"""
if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501
... | Sets the source of this V1VolumeAttachmentSpec.
:param source: The source of this V1VolumeAttachmentSpec. # noqa: E501
:type: V1VolumeAttachmentSource
| source | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment_spec.py | Apache-2.0 |
def attached(self, attached):
"""Sets the attached of this V1VolumeAttachmentStatus.
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. # noqa: E501
:param attached: The attached of thi... | Sets the attached of this V1VolumeAttachmentStatus.
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. # noqa: E501
:param attached: The attached of this V1VolumeAttachmentStatus. # noqa: E501... | attached | python | kubernetes-client/python | kubernetes/client/models/v1_volume_attachment_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_attachment_status.py | Apache-2.0 |
def device_path(self, device_path):
"""Sets the device_path of this V1VolumeDevice.
devicePath is the path inside of the container that the device will be mapped to. # noqa: E501
:param device_path: The device_path of this V1VolumeDevice. # noqa: E501
:type: str
"""
i... | Sets the device_path of this V1VolumeDevice.
devicePath is the path inside of the container that the device will be mapped to. # noqa: E501
:param device_path: The device_path of this V1VolumeDevice. # noqa: E501
:type: str
| device_path | python | kubernetes-client/python | kubernetes/client/models/v1_volume_device.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_device.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1VolumeDevice.
name must match the name of a persistentVolumeClaim in the pod # noqa: E501
:param name: The name of this V1VolumeDevice. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation... | Sets the name of this V1VolumeDevice.
name must match the name of a persistentVolumeClaim in the pod # noqa: E501
:param name: The name of this V1VolumeDevice. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_volume_device.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_device.py | Apache-2.0 |
def mount_path(self, mount_path):
"""Sets the mount_path of this V1VolumeMount.
Path within the container at which the volume should be mounted. Must not contain ':'. # noqa: E501
:param mount_path: The mount_path of this V1VolumeMount. # noqa: E501
:type: str
"""
if... | Sets the mount_path of this V1VolumeMount.
Path within the container at which the volume should be mounted. Must not contain ':'. # noqa: E501
:param mount_path: The mount_path of this V1VolumeMount. # noqa: E501
:type: str
| mount_path | python | kubernetes-client/python | kubernetes/client/models/v1_volume_mount.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_mount.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1VolumeMount.
This must match the Name of a Volume. # noqa: E501
:param name: The name of this V1VolumeMount. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa:... | Sets the name of this V1VolumeMount.
This must match the Name of a Volume. # noqa: E501
:param name: The name of this V1VolumeMount. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_volume_mount.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_mount.py | Apache-2.0 |
def mount_path(self, mount_path):
"""Sets the mount_path of this V1VolumeMountStatus.
MountPath corresponds to the original VolumeMount. # noqa: E501
:param mount_path: The mount_path of this V1VolumeMountStatus. # noqa: E501
:type: str
"""
if self.local_vars_configur... | Sets the mount_path of this V1VolumeMountStatus.
MountPath corresponds to the original VolumeMount. # noqa: E501
:param mount_path: The mount_path of this V1VolumeMountStatus. # noqa: E501
:type: str
| mount_path | python | kubernetes-client/python | kubernetes/client/models/v1_volume_mount_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_mount_status.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1VolumeMountStatus.
Name corresponds to the name of the original VolumeMount. # noqa: E501
:param name: The name of this V1VolumeMountStatus. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_valid... | Sets the name of this V1VolumeMountStatus.
Name corresponds to the name of the original VolumeMount. # noqa: E501
:param name: The name of this V1VolumeMountStatus. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_volume_mount_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_volume_mount_status.py | Apache-2.0 |
def volume_path(self, volume_path):
"""Sets the volume_path of this V1VsphereVirtualDiskVolumeSource.
volumePath is the path that identifies vSphere volume vmdk # noqa: E501
:param volume_path: The volume_path of this V1VsphereVirtualDiskVolumeSource. # noqa: E501
:type: str
... | Sets the volume_path of this V1VsphereVirtualDiskVolumeSource.
volumePath is the path that identifies vSphere volume vmdk # noqa: E501
:param volume_path: The volume_path of this V1VsphereVirtualDiskVolumeSource. # noqa: E501
:type: str
| volume_path | python | kubernetes-client/python | kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py | Apache-2.0 |
def object(self, object):
"""Sets the object of this V1WatchEvent.
Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on... | Sets the object of this V1WatchEvent.
Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. # noqa: E501
:par... | object | python | kubernetes-client/python | kubernetes/client/models/v1_watch_event.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_watch_event.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1WatchEvent.
:param type: The type of this V1WatchEvent. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
raise ValueError("Invalid value for `type`, ... | Sets the type of this V1WatchEvent.
:param type: The type of this V1WatchEvent. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_watch_event.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_watch_event.py | Apache-2.0 |
def conversion_review_versions(self, conversion_review_versions):
"""Sets the conversion_review_versions of this V1WebhookConversion.
conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it ... | Sets the conversion_review_versions of this V1WebhookConversion.
conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API... | conversion_review_versions | python | kubernetes-client/python | kubernetes/client/models/v1_webhook_conversion.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_webhook_conversion.py | Apache-2.0 |
def pod_affinity_term(self, pod_affinity_term):
"""Sets the pod_affinity_term of this V1WeightedPodAffinityTerm.
:param pod_affinity_term: The pod_affinity_term of this V1WeightedPodAffinityTerm. # noqa: E501
:type: V1PodAffinityTerm
"""
if self.local_vars_configuration.client... | Sets the pod_affinity_term of this V1WeightedPodAffinityTerm.
:param pod_affinity_term: The pod_affinity_term of this V1WeightedPodAffinityTerm. # noqa: E501
:type: V1PodAffinityTerm
| pod_affinity_term | python | kubernetes-client/python | kubernetes/client/models/v1_weighted_pod_affinity_term.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_weighted_pod_affinity_term.py | Apache-2.0 |
def weight(self, weight):
"""Sets the weight of this V1WeightedPodAffinityTerm.
weight associated with matching the corresponding podAffinityTerm, in the range 1-100. # noqa: E501
:param weight: The weight of this V1WeightedPodAffinityTerm. # noqa: E501
:type: int
"""
... | Sets the weight of this V1WeightedPodAffinityTerm.
weight associated with matching the corresponding podAffinityTerm, in the range 1-100. # noqa: E501
:param weight: The weight of this V1WeightedPodAffinityTerm. # noqa: E501
:type: int
| weight | python | kubernetes-client/python | kubernetes/client/models/v1_weighted_pod_affinity_term.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_weighted_pod_affinity_term.py | Apache-2.0 |
def container(self, container):
"""Sets the container of this V2ContainerResourceMetricSource.
container is the name of the container in the pods of the scaling target # noqa: E501
:param container: The container of this V2ContainerResourceMetricSource. # noqa: E501
:type: str
... | Sets the container of this V2ContainerResourceMetricSource.
container is the name of the container in the pods of the scaling target # noqa: E501
:param container: The container of this V2ContainerResourceMetricSource. # noqa: E501
:type: str
| container | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_source.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V2ContainerResourceMetricSource.
name is the name of the resource in question. # noqa: E501
:param name: The name of this V2ContainerResourceMetricSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.clien... | Sets the name of this V2ContainerResourceMetricSource.
name is the name of the resource in question. # noqa: E501
:param name: The name of this V2ContainerResourceMetricSource. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_source.py | Apache-2.0 |
def target(self, target):
"""Sets the target of this V2ContainerResourceMetricSource.
:param target: The target of this V2ContainerResourceMetricSource. # noqa: E501
:type: V2MetricTarget
"""
if self.local_vars_configuration.client_side_validation and target is None: # noqa: ... | Sets the target of this V2ContainerResourceMetricSource.
:param target: The target of this V2ContainerResourceMetricSource. # noqa: E501
:type: V2MetricTarget
| target | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_source.py | Apache-2.0 |
def container(self, container):
"""Sets the container of this V2ContainerResourceMetricStatus.
container is the name of the container in the pods of the scaling target # noqa: E501
:param container: The container of this V2ContainerResourceMetricStatus. # noqa: E501
:type: str
... | Sets the container of this V2ContainerResourceMetricStatus.
container is the name of the container in the pods of the scaling target # noqa: E501
:param container: The container of this V2ContainerResourceMetricStatus. # noqa: E501
:type: str
| container | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_status.py | Apache-2.0 |
def current(self, current):
"""Sets the current of this V2ContainerResourceMetricStatus.
:param current: The current of this V2ContainerResourceMetricStatus. # noqa: E501
:type: V2MetricValueStatus
"""
if self.local_vars_configuration.client_side_validation and current is None... | Sets the current of this V2ContainerResourceMetricStatus.
:param current: The current of this V2ContainerResourceMetricStatus. # noqa: E501
:type: V2MetricValueStatus
| current | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_status.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V2ContainerResourceMetricStatus.
name is the name of the resource in question. # noqa: E501
:param name: The name of this V2ContainerResourceMetricStatus. # noqa: E501
:type: str
"""
if self.local_vars_configuration.clien... | Sets the name of this V2ContainerResourceMetricStatus.
name is the name of the resource in question. # noqa: E501
:param name: The name of this V2ContainerResourceMetricStatus. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v2_container_resource_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_container_resource_metric_status.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V2CrossVersionObjectReference.
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501
:param kind: The kind of this V2CrossVersionObjectReference. ... | Sets the kind of this V2CrossVersionObjectReference.
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501
:param kind: The kind of this V2CrossVersionObjectReference. # noqa: E501
:type: str
... | kind | python | kubernetes-client/python | kubernetes/client/models/v2_cross_version_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_cross_version_object_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V2CrossVersionObjectReference.
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501
:param name: The name of this V2CrossVersionObjectReference. # noqa: E501
... | Sets the name of this V2CrossVersionObjectReference.
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501
:param name: The name of this V2CrossVersionObjectReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v2_cross_version_object_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_cross_version_object_reference.py | Apache-2.0 |
def metric(self, metric):
"""Sets the metric of this V2ExternalMetricSource.
:param metric: The metric of this V2ExternalMetricSource. # noqa: E501
:type: V2MetricIdentifier
"""
if self.local_vars_configuration.client_side_validation and metric is None: # noqa: E501
... | Sets the metric of this V2ExternalMetricSource.
:param metric: The metric of this V2ExternalMetricSource. # noqa: E501
:type: V2MetricIdentifier
| metric | python | kubernetes-client/python | kubernetes/client/models/v2_external_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_external_metric_source.py | Apache-2.0 |
def target(self, target):
"""Sets the target of this V2ExternalMetricSource.
:param target: The target of this V2ExternalMetricSource. # noqa: E501
:type: V2MetricTarget
"""
if self.local_vars_configuration.client_side_validation and target is None: # noqa: E501
r... | Sets the target of this V2ExternalMetricSource.
:param target: The target of this V2ExternalMetricSource. # noqa: E501
:type: V2MetricTarget
| target | python | kubernetes-client/python | kubernetes/client/models/v2_external_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_external_metric_source.py | Apache-2.0 |
def current(self, current):
"""Sets the current of this V2ExternalMetricStatus.
:param current: The current of this V2ExternalMetricStatus. # noqa: E501
:type: V2MetricValueStatus
"""
if self.local_vars_configuration.client_side_validation and current is None: # noqa: E501
... | Sets the current of this V2ExternalMetricStatus.
:param current: The current of this V2ExternalMetricStatus. # noqa: E501
:type: V2MetricValueStatus
| current | python | kubernetes-client/python | kubernetes/client/models/v2_external_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_external_metric_status.py | Apache-2.0 |
def metric(self, metric):
"""Sets the metric of this V2ExternalMetricStatus.
:param metric: The metric of this V2ExternalMetricStatus. # noqa: E501
:type: V2MetricIdentifier
"""
if self.local_vars_configuration.client_side_validation and metric is None: # noqa: E501
... | Sets the metric of this V2ExternalMetricStatus.
:param metric: The metric of this V2ExternalMetricStatus. # noqa: E501
:type: V2MetricIdentifier
| metric | python | kubernetes-client/python | kubernetes/client/models/v2_external_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_external_metric_status.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V2HorizontalPodAutoscalerCondition.
status is the status of the condition (True, False, Unknown) # noqa: E501
:param status: The status of this V2HorizontalPodAutoscalerCondition. # noqa: E501
:type: str
"""
if self... | Sets the status of this V2HorizontalPodAutoscalerCondition.
status is the status of the condition (True, False, Unknown) # noqa: E501
:param status: The status of this V2HorizontalPodAutoscalerCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V2HorizontalPodAutoscalerCondition.
type describes the current condition # noqa: E501
:param type: The type of this V2HorizontalPodAutoscalerCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_s... | Sets the type of this V2HorizontalPodAutoscalerCondition.
type describes the current condition # noqa: E501
:param type: The type of this V2HorizontalPodAutoscalerCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V2HorizontalPodAutoscalerList.
items is the list of horizontal pod autoscaler objects. # noqa: E501
:param items: The items of this V2HorizontalPodAutoscalerList. # noqa: E501
:type: list[V2HorizontalPodAutoscaler]
"""
... | Sets the items of this V2HorizontalPodAutoscalerList.
items is the list of horizontal pod autoscaler objects. # noqa: E501
:param items: The items of this V2HorizontalPodAutoscalerList. # noqa: E501
:type: list[V2HorizontalPodAutoscaler]
| items | python | kubernetes-client/python | kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py | Apache-2.0 |
def scale_target_ref(self, scale_target_ref):
"""Sets the scale_target_ref of this V2HorizontalPodAutoscalerSpec.
:param scale_target_ref: The scale_target_ref of this V2HorizontalPodAutoscalerSpec. # noqa: E501
:type: V2CrossVersionObjectReference
"""
if self.local_vars_confi... | Sets the scale_target_ref of this V2HorizontalPodAutoscalerSpec.
:param scale_target_ref: The scale_target_ref of this V2HorizontalPodAutoscalerSpec. # noqa: E501
:type: V2CrossVersionObjectReference
| scale_target_ref | python | kubernetes-client/python | kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py | Apache-2.0 |
def desired_replicas(self, desired_replicas):
"""Sets the desired_replicas of this V2HorizontalPodAutoscalerStatus.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. # noqa: E501
:param desired_replicas: The desired_rep... | Sets the desired_replicas of this V2HorizontalPodAutoscalerStatus.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. # noqa: E501
:param desired_replicas: The desired_replicas of this V2HorizontalPodAutoscalerStatus. # noqa: E... | desired_replicas | python | kubernetes-client/python | kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py | Apache-2.0 |
def period_seconds(self, period_seconds):
"""Sets the period_seconds of this V2HPAScalingPolicy.
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). # noqa: E501
:param period_second... | Sets the period_seconds of this V2HPAScalingPolicy.
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). # noqa: E501
:param period_seconds: The period_seconds of this V2HPAScalingPolicy. # ... | period_seconds | python | kubernetes-client/python | kubernetes/client/models/v2_hpa_scaling_policy.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_hpa_scaling_policy.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V2HPAScalingPolicy.
type is used to specify the scaling policy. # noqa: E501
:param type: The type of this V2HPAScalingPolicy. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type i... | Sets the type of this V2HPAScalingPolicy.
type is used to specify the scaling policy. # noqa: E501
:param type: The type of this V2HPAScalingPolicy. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v2_hpa_scaling_policy.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_hpa_scaling_policy.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V2MetricIdentifier.
name is the name of the given metric # noqa: E501
:param name: The name of this V2MetricIdentifier. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None:... | Sets the name of this V2MetricIdentifier.
name is the name of the given metric # noqa: E501
:param name: The name of this V2MetricIdentifier. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v2_metric_identifier.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_metric_identifier.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V2MetricSpec.
type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. # noqa: E501
:param type: The type of this V2MetricSp... | Sets the type of this V2MetricSpec.
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. # noqa: E501
:param type: The type of this V2MetricSpec. # noqa: E501
:type: str
... | type | python | kubernetes-client/python | kubernetes/client/models/v2_metric_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_metric_spec.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V2MetricStatus.
type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. # noqa: E501
:param type: The type of this V2Metr... | Sets the type of this V2MetricStatus.
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. # noqa: E501
:param type: The type of this V2MetricStatus. # noqa: E501
:type: str
... | type | python | kubernetes-client/python | kubernetes/client/models/v2_metric_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_metric_status.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V2MetricTarget.
type represents whether the metric type is Utilization, Value, or AverageValue # noqa: E501
:param type: The type of this V2MetricTarget. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client... | Sets the type of this V2MetricTarget.
type represents whether the metric type is Utilization, Value, or AverageValue # noqa: E501
:param type: The type of this V2MetricTarget. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v2_metric_target.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_metric_target.py | Apache-2.0 |
def described_object(self, described_object):
"""Sets the described_object of this V2ObjectMetricSource.
:param described_object: The described_object of this V2ObjectMetricSource. # noqa: E501
:type: V2CrossVersionObjectReference
"""
if self.local_vars_configuration.client_si... | Sets the described_object of this V2ObjectMetricSource.
:param described_object: The described_object of this V2ObjectMetricSource. # noqa: E501
:type: V2CrossVersionObjectReference
| described_object | python | kubernetes-client/python | kubernetes/client/models/v2_object_metric_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v2_object_metric_source.py | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.