kubernetes_asyncio.client.models.v1_config_map_node_config_source module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_config_map_node_config_source.V1ConfigMapNodeConfigSource(kubelet_config_key=None, name=None, namespace=None, resource_version=None, uid=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'kubelet_config_key': 'kubeletConfigKey', 'name': 'name', 'namespace': 'namespace', 'resource_version': 'resourceVersion', 'uid': 'uid'}
property kubelet_config_key

Gets the kubelet_config_key of this V1ConfigMapNodeConfigSource. # noqa: E501

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. # noqa: E501

Returns:

The kubelet_config_key of this V1ConfigMapNodeConfigSource. # noqa: E501

Return type:

str

property name

Gets the name of this V1ConfigMapNodeConfigSource. # noqa: E501

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. # noqa: E501

Returns:

The name of this V1ConfigMapNodeConfigSource. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this V1ConfigMapNodeConfigSource. # noqa: E501

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. # noqa: E501

Returns:

The namespace of this V1ConfigMapNodeConfigSource. # noqa: E501

Return type:

str

openapi_types = {'kubelet_config_key': 'str', 'name': 'str', 'namespace': 'str', 'resource_version': 'str', 'uid': 'str'}
property resource_version

Gets the resource_version of this V1ConfigMapNodeConfigSource. # noqa: E501

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501

Returns:

The resource_version of this V1ConfigMapNodeConfigSource. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property uid

Gets the uid of this V1ConfigMapNodeConfigSource. # noqa: E501

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501

Returns:

The uid of this V1ConfigMapNodeConfigSource. # noqa: E501

Return type:

str