Class V1ConfigMapNodeConfigSource
java.lang.Object
io.kubernetes.client.openapi.models.V1ConfigMapNodeConfigSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1ConfigMapNodeConfigSource
extends Object
ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.getName()
Name is the metadata.name of the referenced ConfigMap.Namespace is the metadata.namespace of the referenced ConfigMap.ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.getUid()
UID is the metadata.UID of the referenced ConfigMap.int
hashCode()
kubeletConfigKey
(String kubeletConfigKey) resourceVersion
(String resourceVersion) void
setKubeletConfigKey
(String kubeletConfigKey) void
void
setNamespace
(String namespace) void
setResourceVersion
(String resourceVersion) void
toString()
-
Field Details
-
SERIALIZED_NAME_KUBELET_CONFIG_KEY
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_RESOURCE_VERSION
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
-
Constructor Details
-
V1ConfigMapNodeConfigSource
public V1ConfigMapNodeConfigSource()
-
-
Method Details
-
kubeletConfigKey
-
getKubeletConfigKey
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.- Returns:
- kubeletConfigKey
-
setKubeletConfigKey
-
name
-
getName
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.- Returns:
- name
-
setName
-
namespace
-
getNamespace
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.- Returns:
- namespace
-
setNamespace
-
resourceVersion
-
getResourceVersion
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
- resourceVersion
-
setResourceVersion
-
uid
-
getUid
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
- uid
-
setUid
-
equals
-
hashCode
public int hashCode() -
toString
-