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 ConfigMapNodeConfigSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKubeletConfigKey()KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.StringgetName()Name is the metadata.name of the referenced ConfigMap.StringgetNamespace()Namespace is the metadata.namespace of the referenced ConfigMap.StringgetResourceVersion()ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.StringgetUid()UID is the metadata.UID of the referenced ConfigMap.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKubeletConfigKey(String kubeletConfigKey)KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.voidsetName(String name)Name is the metadata.name of the referenced ConfigMap.voidsetNamespace(String namespace)Namespace is the metadata.namespace of the referenced ConfigMap.voidsetResourceVersion(String resourceVersion)ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.voidsetUid(String uid)UID is the metadata.UID of the referenced ConfigMap.ConfigMapNodeConfigSourceBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConfigMapNodeConfigSourceBuilder>
-
toBuilder
public ConfigMapNodeConfigSourceBuilder toBuilder()
-
-