Class V1ConfigMapNodeConfigSource
java.lang.Object
io.kubernetes.client.openapi.models.V1ConfigMapNodeConfigSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanKubeletConfigKey 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.inthashCode()kubeletConfigKey(String kubeletConfigKey) resourceVersion(String resourceVersion) voidsetKubeletConfigKey(String kubeletConfigKey) voidvoidsetNamespace(String namespace) voidsetResourceVersion(String resourceVersion) voidtoString()
-
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
-