Package io.fabric8.kubernetes.api.model
Class ConfigMapNodeConfigSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ConfigMapNodeConfigSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConfigMapNodeConfigSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConfigMapNodeConfigSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConfigMapNodeConfigSourceBuilder>, KubernetesResource
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- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigMapNodeConfigSource()
No args constructor for use in serializationConfigMapNodeConfigSource(String kubeletConfigKey, String name, String namespace, String resourceVersion, String uid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigMapNodeConfigSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getKubeletConfigKey()
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.String
getName()
Name is the metadata.name of the referenced ConfigMap.String
getNamespace()
Namespace is the metadata.namespace of the referenced ConfigMap.String
getResourceVersion()
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.String
getUid()
UID is the metadata.UID of the referenced ConfigMap.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setKubeletConfigKey(String kubeletConfigKey)
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.void
setName(String name)
Name is the metadata.name of the referenced ConfigMap.void
setNamespace(String namespace)
Namespace is the metadata.namespace of the referenced ConfigMap.void
setResourceVersion(String resourceVersion)
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.void
setUid(String uid)
UID is the metadata.UID of the referenced ConfigMap.ConfigMapNodeConfigSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getKubeletConfigKey
public String getKubeletConfigKey()
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
-
setKubeletConfigKey
public void setKubeletConfigKey(String kubeletConfigKey)
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
-
getName
public String getName()
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
-
setName
public void setName(String name)
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
-
getNamespace
public String getNamespace()
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
-
setNamespace
public void setNamespace(String namespace)
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
-
getResourceVersion
public String getResourceVersion()
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
-
setResourceVersion
public void setResourceVersion(String resourceVersion)
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
-
getUid
public String getUid()
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
-
setUid
public void setUid(String uid)
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
-
edit
public ConfigMapNodeConfigSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ConfigMapNodeConfigSourceBuilder>
-
toBuilder
public ConfigMapNodeConfigSourceBuilder toBuilder()
-
-