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 V1DeploymentList.
Items is the list of Deployments. # noqa: E501
:param items: The items of this V1DeploymentList. # noqa: E501
:type: list[V1Deployment]
"""
if self.local_vars_configuration.client_side_validation and ... | Sets the items of this V1DeploymentList.
Items is the list of Deployments. # noqa: E501
:param items: The items of this V1DeploymentList. # noqa: E501
:type: list[V1Deployment]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_deployment_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_deployment_list.py | Apache-2.0 |
def selector(self, selector):
"""Sets the selector of this V1DeploymentSpec.
:param selector: The selector of this V1DeploymentSpec. # noqa: E501
:type: V1LabelSelector
"""
if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501
... | Sets the selector of this V1DeploymentSpec.
:param selector: The selector of this V1DeploymentSpec. # noqa: E501
:type: V1LabelSelector
| selector | python | kubernetes-client/python | kubernetes/client/models/v1_deployment_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_deployment_spec.py | Apache-2.0 |
def template(self, template):
"""Sets the template of this V1DeploymentSpec.
:param template: The template of this V1DeploymentSpec. # noqa: E501
:type: V1PodTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501
... | Sets the template of this V1DeploymentSpec.
:param template: The template of this V1DeploymentSpec. # noqa: E501
:type: V1PodTemplateSpec
| template | python | kubernetes-client/python | kubernetes/client/models/v1_deployment_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_deployment_spec.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1DownwardAPIVolumeFile.
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' # noqa: E501
:param p... | Sets the path of this V1DownwardAPIVolumeFile.
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' # noqa: E501
:param path: The path of this V1DownwardA... | path | python | kubernetes-client/python | kubernetes/client/models/v1_downward_api_volume_file.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_downward_api_volume_file.py | Apache-2.0 |
def addresses(self, addresses):
"""Sets the addresses of this V1Endpoint.
addresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least o... | Sets the addresses of this V1Endpoint.
addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices... | addresses | python | kubernetes-client/python | kubernetes/client/models/v1_endpoint.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoint.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1EndpointsList.
List of endpoints. # noqa: E501
:param items: The items of this V1EndpointsList. # noqa: E501
:type: list[V1Endpoints]
"""
if self.local_vars_configuration.client_side_validation and items is None: # ... | Sets the items of this V1EndpointsList.
List of endpoints. # noqa: E501
:param items: The items of this V1EndpointsList. # noqa: E501
:type: list[V1Endpoints]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_endpoints_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoints_list.py | Apache-2.0 |
def ip(self, ip):
"""Sets the ip of this V1EndpointAddress.
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16). # noqa: E501
:param ip: The ip of this V1EndpointAddress. # noqa: E501... | Sets the ip of this V1EndpointAddress.
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16). # noqa: E501
:param ip: The ip of this V1EndpointAddress. # noqa: E501
:type: str
| ip | python | kubernetes-client/python | kubernetes/client/models/v1_endpoint_address.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoint_address.py | Apache-2.0 |
def address_type(self, address_type):
"""Sets the address_type of this V1EndpointSlice.
addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported... | Sets the address_type of this V1EndpointSlice.
addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Rep... | address_type | python | kubernetes-client/python | kubernetes/client/models/v1_endpoint_slice.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoint_slice.py | Apache-2.0 |
def endpoints(self, endpoints):
"""Sets the endpoints of this V1EndpointSlice.
endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. # noqa: E501
:param endpoints: The endpoints of this V1EndpointSlice. # noqa: E501
:type: list[V1E... | Sets the endpoints of this V1EndpointSlice.
endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. # noqa: E501
:param endpoints: The endpoints of this V1EndpointSlice. # noqa: E501
:type: list[V1Endpoint]
| endpoints | python | kubernetes-client/python | kubernetes/client/models/v1_endpoint_slice.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoint_slice.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1EndpointSliceList.
items is the list of endpoint slices # noqa: E501
:param items: The items of this V1EndpointSliceList. # noqa: E501
:type: list[V1EndpointSlice]
"""
if self.local_vars_configuration.client_side_val... | Sets the items of this V1EndpointSliceList.
items is the list of endpoint slices # noqa: E501
:param items: The items of this V1EndpointSliceList. # noqa: E501
:type: list[V1EndpointSlice]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_endpoint_slice_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_endpoint_slice_list.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1EnvVar.
Name of the environment variable. Must be a C_IDENTIFIER. # noqa: E501
:param name: The name of this V1EnvVar. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None... | Sets the name of this V1EnvVar.
Name of the environment variable. Must be a C_IDENTIFIER. # noqa: E501
:param name: The name of this V1EnvVar. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_env_var.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_env_var.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1EphemeralContainer.
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers. # noqa: E501
:param name: The name of this V1EphemeralContainer. # noqa: E50... | Sets the name of this V1EphemeralContainer.
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers. # noqa: E501
:param name: The name of this V1EphemeralContainer. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_ephemeral_container.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ephemeral_container.py | Apache-2.0 |
def field_ref(self, field_ref):
"""Sets the field_ref of this V1ExpressionWarning.
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... | Sets the field_ref of this V1ExpressionWarning.
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 V1ExpressionWarning. # noqa: E501
... | field_ref | python | kubernetes-client/python | kubernetes/client/models/v1_expression_warning.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_expression_warning.py | Apache-2.0 |
def warning(self, warning):
"""Sets the warning of this V1ExpressionWarning.
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 V1ExpressionWarning.
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 V1Ex... | warning | python | kubernetes-client/python | kubernetes/client/models/v1_expression_warning.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_expression_warning.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1FieldSelectorRequirement.
key is the field selector key that the requirement applies to. # noqa: E501
:param key: The key of this V1FieldSelectorRequirement. # noqa: E501
:type: str
"""
if self.local_vars_configuration.cli... | Sets the key of this V1FieldSelectorRequirement.
key is the field selector key that the requirement applies to. # noqa: E501
:param key: The key of this V1FieldSelectorRequirement. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_field_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_field_selector_requirement.py | Apache-2.0 |
def operator(self, operator):
"""Sets the operator of this V1FieldSelectorRequirement.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. # noqa: E501
:param operator: The operator of ... | Sets the operator of this V1FieldSelectorRequirement.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. # noqa: E501
:param operator: The operator of this V1FieldSelectorRequirement. # noqa:... | operator | python | kubernetes-client/python | kubernetes/client/models/v1_field_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_field_selector_requirement.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1FlexPersistentVolumeSource.
driver is the name of the driver to use for this volume. # noqa: E501
:param driver: The driver of this V1FlexPersistentVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_conf... | Sets the driver of this V1FlexPersistentVolumeSource.
driver is the name of the driver to use for this volume. # noqa: E501
:param driver: The driver of this V1FlexPersistentVolumeSource. # noqa: E501
:type: str
| driver | python | kubernetes-client/python | kubernetes/client/models/v1_flex_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_flex_persistent_volume_source.py | Apache-2.0 |
def driver(self, driver):
"""Sets the driver of this V1FlexVolumeSource.
driver is the name of the driver to use for this volume. # noqa: E501
:param driver: The driver of this V1FlexVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_sid... | Sets the driver of this V1FlexVolumeSource.
driver is the name of the driver to use for this volume. # noqa: E501
:param driver: The driver of this V1FlexVolumeSource. # noqa: E501
:type: str
| driver | python | kubernetes-client/python | kubernetes/client/models/v1_flex_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_flex_volume_source.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1FlowDistinguisherMethod.
`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. # noqa: E501
:param type: The type of this V1FlowDistinguisherMethod. # noqa: E501
:type: str
... | Sets the type of this V1FlowDistinguisherMethod.
`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required. # noqa: E501
:param type: The type of this V1FlowDistinguisherMethod. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_flow_distinguisher_method.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_flow_distinguisher_method.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1FlowSchemaList.
`items` is a list of FlowSchemas. # noqa: E501
:param items: The items of this V1FlowSchemaList. # noqa: E501
:type: list[V1FlowSchema]
"""
if self.local_vars_configuration.client_side_validation and ... | Sets the items of this V1FlowSchemaList.
`items` is a list of FlowSchemas. # noqa: E501
:param items: The items of this V1FlowSchemaList. # noqa: E501
:type: list[V1FlowSchema]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_flow_schema_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_flow_schema_list.py | Apache-2.0 |
def priority_level_configuration(self, priority_level_configuration):
"""Sets the priority_level_configuration of this V1FlowSchemaSpec.
:param priority_level_configuration: The priority_level_configuration of this V1FlowSchemaSpec. # noqa: E501
:type: V1PriorityLevelConfigurationReference
... | Sets the priority_level_configuration of this V1FlowSchemaSpec.
:param priority_level_configuration: The priority_level_configuration of this V1FlowSchemaSpec. # noqa: E501
:type: V1PriorityLevelConfigurationReference
| priority_level_configuration | python | kubernetes-client/python | kubernetes/client/models/v1_flow_schema_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_flow_schema_spec.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ForNode.
name represents the name of the node. # noqa: E501
:param name: The name of this V1ForNode. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
... | Sets the name of this V1ForNode.
name represents the name of the node. # noqa: E501
:param name: The name of this V1ForNode. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_for_node.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_for_node.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1ForZone.
name represents the name of the zone. # noqa: E501
:param name: The name of this V1ForZone. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
... | Sets the name of this V1ForZone.
name represents the name of the zone. # noqa: E501
:param name: The name of this V1ForZone. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_for_zone.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_for_zone.py | Apache-2.0 |
def pd_name(self, pd_name):
"""Sets the pd_name of this V1GCEPersistentDiskVolumeSource.
pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk # noqa: E501
:param pd_name: The pd_name... | Sets the pd_name of this V1GCEPersistentDiskVolumeSource.
pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk # noqa: E501
:param pd_name: The pd_name of this V1GCEPersistentDiskVolumeSourc... | pd_name | python | kubernetes-client/python | kubernetes/client/models/v1_gce_persistent_disk_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py | Apache-2.0 |
def repository(self, repository):
"""Sets the repository of this V1GitRepoVolumeSource.
repository is the URL # noqa: E501
:param repository: The repository of this V1GitRepoVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validat... | Sets the repository of this V1GitRepoVolumeSource.
repository is the URL # noqa: E501
:param repository: The repository of this V1GitRepoVolumeSource. # noqa: E501
:type: str
| repository | python | kubernetes-client/python | kubernetes/client/models/v1_git_repo_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_git_repo_volume_source.py | Apache-2.0 |
def endpoints(self, endpoints):
"""Sets the endpoints of this V1GlusterfsPersistentVolumeSource.
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param endpoints: The endpoints of this V1G... | Sets the endpoints of this V1GlusterfsPersistentVolumeSource.
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param endpoints: The endpoints of this V1GlusterfsPersistentVolumeSource. # noqa: E5... | endpoints | python | kubernetes-client/python | kubernetes/client/models/v1_glusterfs_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1GlusterfsPersistentVolumeSource.
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param path: The path of this V1GlusterfsPersistentVolumeSource. # noqa: E501
... | Sets the path of this V1GlusterfsPersistentVolumeSource.
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param path: The path of this V1GlusterfsPersistentVolumeSource. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_glusterfs_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py | Apache-2.0 |
def endpoints(self, endpoints):
"""Sets the endpoints of this V1GlusterfsVolumeSource.
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param endpoints: The endpoints of this V1GlusterfsVo... | Sets the endpoints of this V1GlusterfsVolumeSource.
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param endpoints: The endpoints of this V1GlusterfsVolumeSource. # noqa: E501
:type: st... | endpoints | python | kubernetes-client/python | kubernetes/client/models/v1_glusterfs_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_glusterfs_volume_source.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1GlusterfsVolumeSource.
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param path: The path of this V1GlusterfsVolumeSource. # noqa: E501
:type: str
"... | Sets the path of this V1GlusterfsVolumeSource.
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
:param path: The path of this V1GlusterfsVolumeSource. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_glusterfs_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_glusterfs_volume_source.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1GroupSubject.
name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. # noqa: E501
:param name: T... | Sets the name of this V1GroupSubject.
name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. # noqa: E501
:param name: The name of this V1GroupSubject. # ... | name | python | kubernetes-client/python | kubernetes/client/models/v1_group_subject.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_group_subject.py | Apache-2.0 |
def group_version(self, group_version):
"""Sets the group_version of this V1GroupVersionForDiscovery.
groupVersion specifies the API group and version in the form \"group/version\" # noqa: E501
:param group_version: The group_version of this V1GroupVersionForDiscovery. # noqa: E501
:... | Sets the group_version of this V1GroupVersionForDiscovery.
groupVersion specifies the API group and version in the form "group/version" # noqa: E501
:param group_version: The group_version of this V1GroupVersionForDiscovery. # noqa: E501
:type: str
| group_version | python | kubernetes-client/python | kubernetes/client/models/v1_group_version_for_discovery.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_group_version_for_discovery.py | Apache-2.0 |
def version(self, version):
"""Sets the version of this V1GroupVersionForDiscovery.
version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. # noqa: E501
:param version: The version of this V1GroupVersionForDiscovery. # ... | Sets the version of this V1GroupVersionForDiscovery.
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion. # noqa: E501
:param version: The version of this V1GroupVersionForDiscovery. # noqa: E501
:type: str
| version | python | kubernetes-client/python | kubernetes/client/models/v1_group_version_for_discovery.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_group_version_for_discovery.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1GRPCAction.
Port number of the gRPC service. Number must be in the range 1 to 65535. # noqa: E501
:param port: The port of this V1GRPCAction. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_vali... | Sets the port of this V1GRPCAction.
Port number of the gRPC service. Number must be in the range 1 to 65535. # noqa: E501
:param port: The port of this V1GRPCAction. # noqa: E501
:type: int
| port | python | kubernetes-client/python | kubernetes/client/models/v1_grpc_action.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_grpc_action.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1HorizontalPodAutoscalerList.
items is the list of horizontal pod autoscaler objects. # noqa: E501
:param items: The items of this V1HorizontalPodAutoscalerList. # noqa: E501
:type: list[V1HorizontalPodAutoscaler]
"""
... | Sets the items of this V1HorizontalPodAutoscalerList.
items is the list of horizontal pod autoscaler objects. # noqa: E501
:param items: The items of this V1HorizontalPodAutoscalerList. # noqa: E501
:type: list[V1HorizontalPodAutoscaler]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py | Apache-2.0 |
def scale_target_ref(self, scale_target_ref):
"""Sets the scale_target_ref of this V1HorizontalPodAutoscalerSpec.
:param scale_target_ref: The scale_target_ref of this V1HorizontalPodAutoscalerSpec. # noqa: E501
:type: V1CrossVersionObjectReference
"""
if self.local_vars_confi... | Sets the scale_target_ref of this V1HorizontalPodAutoscalerSpec.
:param scale_target_ref: The scale_target_ref of this V1HorizontalPodAutoscalerSpec. # noqa: E501
:type: V1CrossVersionObjectReference
| scale_target_ref | python | kubernetes-client/python | kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py | Apache-2.0 |
def current_replicas(self, current_replicas):
"""Sets the current_replicas of this V1HorizontalPodAutoscalerStatus.
currentReplicas is the current number of replicas of pods managed by this autoscaler. # noqa: E501
:param current_replicas: The current_replicas of this V1HorizontalPodAutoscale... | Sets the current_replicas of this V1HorizontalPodAutoscalerStatus.
currentReplicas is the current number of replicas of pods managed by this autoscaler. # noqa: E501
:param current_replicas: The current_replicas of this V1HorizontalPodAutoscalerStatus. # noqa: E501
:type: int
| current_replicas | python | kubernetes-client/python | kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py | Apache-2.0 |
def desired_replicas(self, desired_replicas):
"""Sets the desired_replicas of this V1HorizontalPodAutoscalerStatus.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler. # noqa: E501
:param desired_replicas: The desired_replicas of this V1HorizontalPodAutoscal... | Sets the desired_replicas of this V1HorizontalPodAutoscalerStatus.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler. # noqa: E501
:param desired_replicas: The desired_replicas of this V1HorizontalPodAutoscalerStatus. # noqa: E501
:type: int
| desired_replicas | python | kubernetes-client/python | kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py | Apache-2.0 |
def ip(self, ip):
"""Sets the ip of this V1HostAlias.
IP address of the host file entry. # noqa: E501
:param ip: The ip of this V1HostAlias. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and ip is None: # noqa: E501
r... | Sets the ip of this V1HostAlias.
IP address of the host file entry. # noqa: E501
:param ip: The ip of this V1HostAlias. # noqa: E501
:type: str
| ip | python | kubernetes-client/python | kubernetes/client/models/v1_host_alias.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_host_alias.py | Apache-2.0 |
def ip(self, ip):
"""Sets the ip of this V1HostIP.
IP is the IP address assigned to the host # noqa: E501
:param ip: The ip of this V1HostIP. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and ip is None: # noqa: E501
... | Sets the ip of this V1HostIP.
IP is the IP address assigned to the host # noqa: E501
:param ip: The ip of this V1HostIP. # noqa: E501
:type: str
| ip | python | kubernetes-client/python | kubernetes/client/models/v1_host_ip.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_host_ip.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1HostPathVolumeSource.
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath # noqa: E501
:param path: The path of this V1Ho... | Sets the path of this V1HostPathVolumeSource.
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath # noqa: E501
:param path: The path of this V1HostPathVolumeSource. # noqa: E501... | path | python | kubernetes-client/python | kubernetes/client/models/v1_host_path_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_host_path_volume_source.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1HTTPGetAction.
Name or number 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 V1HTTPGetAction. # noqa: E501
:type: object
... | Sets the port of this V1HTTPGetAction.
Name or number 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 V1HTTPGetAction. # noqa: E501
:type: object
| port | python | kubernetes-client/python | kubernetes/client/models/v1_http_get_action.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_get_action.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1HTTPHeader.
The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. # noqa: E501
:param name: The name of this V1HTTPHeader. # noqa: E501
:type: str
"""
... | Sets the name of this V1HTTPHeader.
The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. # noqa: E501
:param name: The name of this V1HTTPHeader. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_http_header.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_header.py | Apache-2.0 |
def value(self, value):
"""Sets the value of this V1HTTPHeader.
The header field value # noqa: E501
:param value: The value of this V1HTTPHeader. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501
... | Sets the value of this V1HTTPHeader.
The header field value # noqa: E501
:param value: The value of this V1HTTPHeader. # noqa: E501
:type: str
| value | python | kubernetes-client/python | kubernetes/client/models/v1_http_header.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_header.py | Apache-2.0 |
def backend(self, backend):
"""Sets the backend of this V1HTTPIngressPath.
:param backend: The backend of this V1HTTPIngressPath. # noqa: E501
:type: V1IngressBackend
"""
if self.local_vars_configuration.client_side_validation and backend is None: # noqa: E501
rai... | Sets the backend of this V1HTTPIngressPath.
:param backend: The backend of this V1HTTPIngressPath. # noqa: E501
:type: V1IngressBackend
| backend | python | kubernetes-client/python | kubernetes/client/models/v1_http_ingress_path.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_ingress_path.py | Apache-2.0 |
def path_type(self, path_type):
"""Sets the path_type of this V1HTTPIngressPath.
pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done... | Sets the path_type of this V1HTTPIngressPath.
pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path... | path_type | python | kubernetes-client/python | kubernetes/client/models/v1_http_ingress_path.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_ingress_path.py | Apache-2.0 |
def paths(self, paths):
"""Sets the paths of this V1HTTPIngressRuleValue.
paths is a collection of paths that map requests to backends. # noqa: E501
:param paths: The paths of this V1HTTPIngressRuleValue. # noqa: E501
:type: list[V1HTTPIngressPath]
"""
if self.local_v... | Sets the paths of this V1HTTPIngressRuleValue.
paths is a collection of paths that map requests to backends. # noqa: E501
:param paths: The paths of this V1HTTPIngressRuleValue. # noqa: E501
:type: list[V1HTTPIngressPath]
| paths | python | kubernetes-client/python | kubernetes/client/models/v1_http_ingress_rule_value.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_http_ingress_rule_value.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1IngressClassList.
items is the list of IngressClasses. # noqa: E501
:param items: The items of this V1IngressClassList. # noqa: E501
:type: list[V1IngressClass]
"""
if self.local_vars_configuration.client_side_valida... | Sets the items of this V1IngressClassList.
items is the list of IngressClasses. # noqa: E501
:param items: The items of this V1IngressClassList. # noqa: E501
:type: list[V1IngressClass]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_class_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_class_list.py | Apache-2.0 |
def kind(self, kind):
"""Sets the kind of this V1IngressClassParametersReference.
kind is the type of resource being referenced. # noqa: E501
:param kind: The kind of this V1IngressClassParametersReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.... | Sets the kind of this V1IngressClassParametersReference.
kind is the type of resource being referenced. # noqa: E501
:param kind: The kind of this V1IngressClassParametersReference. # noqa: E501
:type: str
| kind | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_class_parameters_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_class_parameters_reference.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1IngressClassParametersReference.
name is the name of resource being referenced. # noqa: E501
:param name: The name of this V1IngressClassParametersReference. # noqa: E501
:type: str
"""
if self.local_vars_configuration.... | Sets the name of this V1IngressClassParametersReference.
name is the name of resource being referenced. # noqa: E501
:param name: The name of this V1IngressClassParametersReference. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_class_parameters_reference.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_class_parameters_reference.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1IngressList.
items is the list of Ingress. # noqa: E501
:param items: The items of this V1IngressList. # noqa: E501
:type: list[V1Ingress]
"""
if self.local_vars_configuration.client_side_validation and items is None... | Sets the items of this V1IngressList.
items is the list of Ingress. # noqa: E501
:param items: The items of this V1IngressList. # noqa: E501
:type: list[V1Ingress]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_list.py | Apache-2.0 |
def port(self, port):
"""Sets the port of this V1IngressPortStatus.
port is the port number of the ingress port. # noqa: E501
:param port: The port of this V1IngressPortStatus. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and por... | Sets the port of this V1IngressPortStatus.
port is the port number of the ingress port. # noqa: E501
:param port: The port of this V1IngressPortStatus. # noqa: E501
:type: int
| port | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_port_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_port_status.py | Apache-2.0 |
def protocol(self, protocol):
"""Sets the protocol of this V1IngressPortStatus.
protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\" # noqa: E501
:param protocol: The protocol of this V1IngressPortStatus. # noqa: E501
:type: str
"... | Sets the protocol of this V1IngressPortStatus.
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP" # noqa: E501
:param protocol: The protocol of this V1IngressPortStatus. # noqa: E501
:type: str
| protocol | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_port_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_port_status.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1IngressServiceBackend.
name is the referenced service. The service must exist in the same namespace as the Ingress object. # noqa: E501
:param name: The name of this V1IngressServiceBackend. # noqa: E501
:type: str
"""
... | Sets the name of this V1IngressServiceBackend.
name is the referenced service. The service must exist in the same namespace as the Ingress object. # noqa: E501
:param name: The name of this V1IngressServiceBackend. # noqa: E501
:type: str
| name | python | kubernetes-client/python | kubernetes/client/models/v1_ingress_service_backend.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ingress_service_backend.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1IPAddressList.
items is the list of IPAddresses. # noqa: E501
:param items: The items of this V1IPAddressList. # noqa: E501
:type: list[V1IPAddress]
"""
if self.local_vars_configuration.client_side_validation and ite... | Sets the items of this V1IPAddressList.
items is the list of IPAddresses. # noqa: E501
:param items: The items of this V1IPAddressList. # noqa: E501
:type: list[V1IPAddress]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_ip_address_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ip_address_list.py | Apache-2.0 |
def parent_ref(self, parent_ref):
"""Sets the parent_ref of this V1IPAddressSpec.
:param parent_ref: The parent_ref of this V1IPAddressSpec. # noqa: E501
:type: V1ParentReference
"""
if self.local_vars_configuration.client_side_validation and parent_ref is None: # noqa: E501
... | Sets the parent_ref of this V1IPAddressSpec.
:param parent_ref: The parent_ref of this V1IPAddressSpec. # noqa: E501
:type: V1ParentReference
| parent_ref | python | kubernetes-client/python | kubernetes/client/models/v1_ip_address_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ip_address_spec.py | Apache-2.0 |
def cidr(self, cidr):
"""Sets the cidr of this V1IPBlock.
cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" # noqa: E501
:param cidr: The cidr of this V1IPBlock. # noqa: E501
:type: str
"""
if self.local_vars_configur... | Sets the cidr of this V1IPBlock.
cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" # noqa: E501
:param cidr: The cidr of this V1IPBlock. # noqa: E501
:type: str
| cidr | python | kubernetes-client/python | kubernetes/client/models/v1_ip_block.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_ip_block.py | Apache-2.0 |
def iqn(self, iqn):
"""Sets the iqn of this V1ISCSIPersistentVolumeSource.
iqn is Target iSCSI Qualified Name. # noqa: E501
:param iqn: The iqn of this V1ISCSIPersistentVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation a... | Sets the iqn of this V1ISCSIPersistentVolumeSource.
iqn is Target iSCSI Qualified Name. # noqa: E501
:param iqn: The iqn of this V1ISCSIPersistentVolumeSource. # noqa: E501
:type: str
| iqn | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_persistent_volume_source.py | Apache-2.0 |
def lun(self, lun):
"""Sets the lun of this V1ISCSIPersistentVolumeSource.
lun is iSCSI Target Lun number. # noqa: E501
:param lun: The lun of this V1ISCSIPersistentVolumeSource. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and l... | Sets the lun of this V1ISCSIPersistentVolumeSource.
lun is iSCSI Target Lun number. # noqa: E501
:param lun: The lun of this V1ISCSIPersistentVolumeSource. # noqa: E501
:type: int
| lun | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_persistent_volume_source.py | Apache-2.0 |
def target_portal(self, target_portal):
"""Sets the target_portal of this V1ISCSIPersistentVolumeSource.
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). # noqa: E501
:param target_portal: The... | Sets the target_portal of this V1ISCSIPersistentVolumeSource.
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). # noqa: E501
:param target_portal: The target_portal of this V1ISCSIPersistentVolumeSourc... | target_portal | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_persistent_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_persistent_volume_source.py | Apache-2.0 |
def iqn(self, iqn):
"""Sets the iqn of this V1ISCSIVolumeSource.
iqn is the target iSCSI Qualified Name. # noqa: E501
:param iqn: The iqn of this V1ISCSIVolumeSource. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and iqn is None: ... | Sets the iqn of this V1ISCSIVolumeSource.
iqn is the target iSCSI Qualified Name. # noqa: E501
:param iqn: The iqn of this V1ISCSIVolumeSource. # noqa: E501
:type: str
| iqn | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_volume_source.py | Apache-2.0 |
def lun(self, lun):
"""Sets the lun of this V1ISCSIVolumeSource.
lun represents iSCSI Target Lun number. # noqa: E501
:param lun: The lun of this V1ISCSIVolumeSource. # noqa: E501
:type: int
"""
if self.local_vars_configuration.client_side_validation and lun is None: ... | Sets the lun of this V1ISCSIVolumeSource.
lun represents iSCSI Target Lun number. # noqa: E501
:param lun: The lun of this V1ISCSIVolumeSource. # noqa: E501
:type: int
| lun | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_volume_source.py | Apache-2.0 |
def target_portal(self, target_portal):
"""Sets the target_portal of this V1ISCSIVolumeSource.
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). # noqa: E501
:param target_portal: The target_po... | Sets the target_portal of this V1ISCSIVolumeSource.
targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). # noqa: E501
:param target_portal: The target_portal of this V1ISCSIVolumeSource. # noqa: E501
... | target_portal | python | kubernetes-client/python | kubernetes/client/models/v1_iscsi_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_iscsi_volume_source.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1JobCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1JobCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validatio... | Sets the status of this V1JobCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1JobCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_job_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_job_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1JobCondition.
Type of job condition, Complete or Failed. # noqa: E501
:param type: The type of this V1JobCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is None: ... | Sets the type of this V1JobCondition.
Type of job condition, Complete or Failed. # noqa: E501
:param type: The type of this V1JobCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_job_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_job_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1JobList.
items is the list of Jobs. # noqa: E501
:param items: The items of this V1JobList. # noqa: E501
:type: list[V1Job]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501... | Sets the items of this V1JobList.
items is the list of Jobs. # noqa: E501
:param items: The items of this V1JobList. # noqa: E501
:type: list[V1Job]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_job_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_job_list.py | Apache-2.0 |
def template(self, template):
"""Sets the template of this V1JobSpec.
:param template: The template of this V1JobSpec. # noqa: E501
:type: V1PodTemplateSpec
"""
if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501
raise ValueE... | Sets the template of this V1JobSpec.
:param template: The template of this V1JobSpec. # noqa: E501
:type: V1PodTemplateSpec
| template | python | kubernetes-client/python | kubernetes/client/models/v1_job_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_job_spec.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1KeyToPath.
key is the key to project. # noqa: E501
:param key: The key of this V1KeyToPath. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501
rai... | Sets the key of this V1KeyToPath.
key is the key to project. # noqa: E501
:param key: The key of this V1KeyToPath. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_key_to_path.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_key_to_path.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1KeyToPath.
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. # noqa: E501
:param path: The path of this V1KeyToPath. # noqa: E501
... | Sets the path of this V1KeyToPath.
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. # noqa: E501
:param path: The path of this V1KeyToPath. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_key_to_path.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_key_to_path.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1LabelSelectorRequirement.
key is the label key that the selector applies to. # noqa: E501
:param key: The key of this V1LabelSelectorRequirement. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_val... | Sets the key of this V1LabelSelectorRequirement.
key is the label key that the selector applies to. # noqa: E501
:param key: The key of this V1LabelSelectorRequirement. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_label_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_label_selector_requirement.py | Apache-2.0 |
def operator(self, operator):
"""Sets the operator of this V1LabelSelectorRequirement.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. # noqa: E501
:param operator: The operator of this V1LabelSelectorRequirement. # noqa: E... | Sets the operator of this V1LabelSelectorRequirement.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. # noqa: E501
:param operator: The operator of this V1LabelSelectorRequirement. # noqa: E501
:type: str
| operator | python | kubernetes-client/python | kubernetes/client/models/v1_label_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_label_selector_requirement.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1LeaseList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1LeaseList. # noqa: E501
:type: list[V1Lease]
"""
if self.local_vars_configuration.client_side_validation and items is None:... | Sets the items of this V1LeaseList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1LeaseList. # noqa: E501
:type: list[V1Lease]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_lease_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_lease_list.py | Apache-2.0 |
def gid(self, gid):
"""Sets the gid of this V1LinuxContainerUser.
GID is the primary gid initially attached to the first process in the container # noqa: E501
:param gid: The gid of this V1LinuxContainerUser. # noqa: E501
:type: int
"""
if self.local_vars_configuratio... | Sets the gid of this V1LinuxContainerUser.
GID is the primary gid initially attached to the first process in the container # noqa: E501
:param gid: The gid of this V1LinuxContainerUser. # noqa: E501
:type: int
| gid | python | kubernetes-client/python | kubernetes/client/models/v1_linux_container_user.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_linux_container_user.py | Apache-2.0 |
def uid(self, uid):
"""Sets the uid of this V1LinuxContainerUser.
UID is the primary uid initially attached to the first process in the container # noqa: E501
:param uid: The uid of this V1LinuxContainerUser. # noqa: E501
:type: int
"""
if self.local_vars_configuratio... | Sets the uid of this V1LinuxContainerUser.
UID is the primary uid initially attached to the first process in the container # noqa: E501
:param uid: The uid of this V1LinuxContainerUser. # noqa: E501
:type: int
| uid | python | kubernetes-client/python | kubernetes/client/models/v1_linux_container_user.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_linux_container_user.py | Apache-2.0 |
def spec(self, spec):
"""Sets the spec of this V1LocalSubjectAccessReview.
:param spec: The spec of this V1LocalSubjectAccessReview. # noqa: E501
:type: V1SubjectAccessReviewSpec
"""
if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501
... | Sets the spec of this V1LocalSubjectAccessReview.
:param spec: The spec of this V1LocalSubjectAccessReview. # noqa: E501
:type: V1SubjectAccessReviewSpec
| spec | python | kubernetes-client/python | kubernetes/client/models/v1_local_subject_access_review.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_local_subject_access_review.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1LocalVolumeSource.
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). # noqa: E501
:param path: The path of this V1LocalVolumeSource. # noqa: E501
:type: str
""... | Sets the path of this V1LocalVolumeSource.
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). # noqa: E501
:param path: The path of this V1LocalVolumeSource. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_local_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_local_volume_source.py | Apache-2.0 |
def expression(self, expression):
"""Sets the expression of this V1MatchCondition.
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' - Th... | Sets the expression of this V1MatchCondition.
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 value... | expression | python | kubernetes-client/python | kubernetes/client/models/v1_match_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_match_condition.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1MatchCondition.
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 qualifi... | Sets the name of this V1MatchCondition.
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 alphanumeri... | name | python | kubernetes-client/python | kubernetes/client/models/v1_match_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_match_condition.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1ModifyVolumeStatus.
status is the status of the ControllerModifyVolume operation. It can be in any of following states: - Pending Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the spec... | Sets the status of this V1ModifyVolumeStatus.
status is the status of the ControllerModifyVolume operation. It can be in any of following states: - Pending Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not exist... | status | python | kubernetes-client/python | kubernetes/client/models/v1_modify_volume_status.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_modify_volume_status.py | Apache-2.0 |
def admission_review_versions(self, admission_review_versions):
"""Sets the admission_review_versions of this V1MutatingWebhook.
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... | Sets the admission_review_versions of this V1MutatingWebhook.
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, v... | admission_review_versions | python | kubernetes-client/python | kubernetes/client/models/v1_mutating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_mutating_webhook.py | Apache-2.0 |
def client_config(self, client_config):
"""Sets the client_config of this V1MutatingWebhook.
:param client_config: The client_config of this V1MutatingWebhook. # noqa: E501
:type: AdmissionregistrationV1WebhookClientConfig
"""
if self.local_vars_configuration.client_side_valid... | Sets the client_config of this V1MutatingWebhook.
:param client_config: The client_config of this V1MutatingWebhook. # noqa: E501
:type: AdmissionregistrationV1WebhookClientConfig
| client_config | python | kubernetes-client/python | kubernetes/client/models/v1_mutating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_mutating_webhook.py | Apache-2.0 |
def name(self, name):
"""Sets the name of this V1MutatingWebhook.
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
:pa... | Sets the name of this V1MutatingWebhook.
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 V1Mutati... | name | python | kubernetes-client/python | kubernetes/client/models/v1_mutating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_mutating_webhook.py | Apache-2.0 |
def side_effects(self, side_effects):
"""Sets the side_effects of this V1MutatingWebhook.
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 reco... | Sets the side_effects of this V1MutatingWebhook.
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 rejecte... | side_effects | python | kubernetes-client/python | kubernetes/client/models/v1_mutating_webhook.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_mutating_webhook.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1MutatingWebhookConfigurationList.
List of MutatingWebhookConfiguration. # noqa: E501
:param items: The items of this V1MutatingWebhookConfigurationList. # noqa: E501
:type: list[V1MutatingWebhookConfiguration]
"""
if... | Sets the items of this V1MutatingWebhookConfigurationList.
List of MutatingWebhookConfiguration. # noqa: E501
:param items: The items of this V1MutatingWebhookConfigurationList. # noqa: E501
:type: list[V1MutatingWebhookConfiguration]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_mutating_webhook_configuration_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_mutating_webhook_configuration_list.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1NamespaceCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1NamespaceCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_si... | Sets the status of this V1NamespaceCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1NamespaceCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_namespace_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_namespace_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1NamespaceCondition.
Type of namespace controller condition. # noqa: E501
:param type: The type of this V1NamespaceCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type i... | Sets the type of this V1NamespaceCondition.
Type of namespace controller condition. # noqa: E501
:param type: The type of this V1NamespaceCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_namespace_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_namespace_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1NamespaceList.
Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ # noqa: E501
:param items: The items of this V1NamespaceList. # noqa: E501
:... | Sets the items of this V1NamespaceList.
Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ # noqa: E501
:param items: The items of this V1NamespaceList. # noqa: E501
:type: list[V1Namespace]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_namespace_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_namespace_list.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1NetworkPolicyList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1NetworkPolicyList. # noqa: E501
:type: list[V1NetworkPolicy]
"""
if self.local_vars_configuration.client_side_valid... | Sets the items of this V1NetworkPolicyList.
items is a list of schema objects. # noqa: E501
:param items: The items of this V1NetworkPolicyList. # noqa: E501
:type: list[V1NetworkPolicy]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_network_policy_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_network_policy_list.py | Apache-2.0 |
def pod_selector(self, pod_selector):
"""Sets the pod_selector of this V1NetworkPolicySpec.
:param pod_selector: The pod_selector of this V1NetworkPolicySpec. # noqa: E501
:type: V1LabelSelector
"""
if self.local_vars_configuration.client_side_validation and pod_selector is No... | Sets the pod_selector of this V1NetworkPolicySpec.
:param pod_selector: The pod_selector of this V1NetworkPolicySpec. # noqa: E501
:type: V1LabelSelector
| pod_selector | python | kubernetes-client/python | kubernetes/client/models/v1_network_policy_spec.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_network_policy_spec.py | Apache-2.0 |
def path(self, path):
"""Sets the path of this V1NFSVolumeSource.
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501
:param path: The path of this V1NFSVolumeSource. # noqa: E501
:type: str
"""
if s... | Sets the path of this V1NFSVolumeSource.
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501
:param path: The path of this V1NFSVolumeSource. # noqa: E501
:type: str
| path | python | kubernetes-client/python | kubernetes/client/models/v1_nfs_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_nfs_volume_source.py | Apache-2.0 |
def server(self, server):
"""Sets the server of this V1NFSVolumeSource.
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501
:param server: The server of this V1NFSVolumeSource. # noqa: E501
:type: str... | Sets the server of this V1NFSVolumeSource.
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs # noqa: E501
:param server: The server of this V1NFSVolumeSource. # noqa: E501
:type: str
| server | python | kubernetes-client/python | kubernetes/client/models/v1_nfs_volume_source.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_nfs_volume_source.py | Apache-2.0 |
def address(self, address):
"""Sets the address of this V1NodeAddress.
The node address. # noqa: E501
:param address: The address of this V1NodeAddress. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and address is None: # noqa: E... | Sets the address of this V1NodeAddress.
The node address. # noqa: E501
:param address: The address of this V1NodeAddress. # noqa: E501
:type: str
| address | python | kubernetes-client/python | kubernetes/client/models/v1_node_address.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_address.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1NodeAddress.
Node address type, one of Hostname, ExternalIP or InternalIP. # noqa: E501
:param type: The type of this V1NodeAddress. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation an... | Sets the type of this V1NodeAddress.
Node address type, one of Hostname, ExternalIP or InternalIP. # noqa: E501
:param type: The type of this V1NodeAddress. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_node_address.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_address.py | Apache-2.0 |
def status(self, status):
"""Sets the status of this V1NodeCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1NodeCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validat... | Sets the status of this V1NodeCondition.
Status of the condition, one of True, False, Unknown. # noqa: E501
:param status: The status of this V1NodeCondition. # noqa: E501
:type: str
| status | python | kubernetes-client/python | kubernetes/client/models/v1_node_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_condition.py | Apache-2.0 |
def type(self, type):
"""Sets the type of this V1NodeCondition.
Type of node condition. # noqa: E501
:param type: The type of this V1NodeCondition. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
... | Sets the type of this V1NodeCondition.
Type of node condition. # noqa: E501
:param type: The type of this V1NodeCondition. # noqa: E501
:type: str
| type | python | kubernetes-client/python | kubernetes/client/models/v1_node_condition.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_condition.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1NodeList.
List of nodes # noqa: E501
:param items: The items of this V1NodeList. # noqa: E501
:type: list[V1Node]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501
... | Sets the items of this V1NodeList.
List of nodes # noqa: E501
:param items: The items of this V1NodeList. # noqa: E501
:type: list[V1Node]
| items | python | kubernetes-client/python | kubernetes/client/models/v1_node_list.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_list.py | Apache-2.0 |
def node_selector_terms(self, node_selector_terms):
"""Sets the node_selector_terms of this V1NodeSelector.
Required. A list of node selector terms. The terms are ORed. # noqa: E501
:param node_selector_terms: The node_selector_terms of this V1NodeSelector. # noqa: E501
:type: list[V... | Sets the node_selector_terms of this V1NodeSelector.
Required. A list of node selector terms. The terms are ORed. # noqa: E501
:param node_selector_terms: The node_selector_terms of this V1NodeSelector. # noqa: E501
:type: list[V1NodeSelectorTerm]
| node_selector_terms | python | kubernetes-client/python | kubernetes/client/models/v1_node_selector.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_selector.py | Apache-2.0 |
def key(self, key):
"""Sets the key of this V1NodeSelectorRequirement.
The label key that the selector applies to. # noqa: E501
:param key: The key of this V1NodeSelectorRequirement. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation a... | Sets the key of this V1NodeSelectorRequirement.
The label key that the selector applies to. # noqa: E501
:param key: The key of this V1NodeSelectorRequirement. # noqa: E501
:type: str
| key | python | kubernetes-client/python | kubernetes/client/models/v1_node_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_selector_requirement.py | Apache-2.0 |
def operator(self, operator):
"""Sets the operator of this V1NodeSelectorRequirement.
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. # noqa: E501
:param operator: The operator of this V1NodeSelectorRequirement. # noqa: E50... | Sets the operator of this V1NodeSelectorRequirement.
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. # noqa: E501
:param operator: The operator of this V1NodeSelectorRequirement. # noqa: E501
:type: str
| operator | python | kubernetes-client/python | kubernetes/client/models/v1_node_selector_requirement.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_selector_requirement.py | Apache-2.0 |
def architecture(self, architecture):
"""Sets the architecture of this V1NodeSystemInfo.
The Architecture reported by the node # noqa: E501
:param architecture: The architecture of this V1NodeSystemInfo. # noqa: E501
:type: str
"""
if self.local_vars_configuration.cli... | Sets the architecture of this V1NodeSystemInfo.
The Architecture reported by the node # noqa: E501
:param architecture: The architecture of this V1NodeSystemInfo. # noqa: E501
:type: str
| architecture | python | kubernetes-client/python | kubernetes/client/models/v1_node_system_info.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py | Apache-2.0 |
def boot_id(self, boot_id):
"""Sets the boot_id of this V1NodeSystemInfo.
Boot ID reported by the node. # noqa: E501
:param boot_id: The boot_id of this V1NodeSystemInfo. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_side_validation and boot_id i... | Sets the boot_id of this V1NodeSystemInfo.
Boot ID reported by the node. # noqa: E501
:param boot_id: The boot_id of this V1NodeSystemInfo. # noqa: E501
:type: str
| boot_id | python | kubernetes-client/python | kubernetes/client/models/v1_node_system_info.py | https://github.com/kubernetes-client/python/blob/master/kubernetes/client/models/v1_node_system_info.py | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.