Class V1ConfigMapNodeConfigSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ConfigMapNodeConfigSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
ConstructorDescriptionV1ConfigMapNodeConfigSource
(String kubeletConfigKey, String name, String namespace) -
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) Set kubeletConfigKey in a chainable fashion.Set name in a chainable fashion.Set namespace in a chainable fashion.resourceVersion
(String resourceVersion) Set resourceVersion in a chainable fashion.void
setKubeletConfigKey
(String kubeletConfigKey) Set the kubeletConfigKey property valuevoid
Set the name property valuevoid
setNamespace
(String namespace) Set the namespace property valuevoid
setResourceVersion
(String resourceVersion) Set the resourceVersion property valuevoid
Set the uid property valuetoString()
Set uid in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_KUBELET_CONFIG_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACE
- See Also:
-
JSON_PROPERTY_RESOURCE_VERSION
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
-
Constructor Details
-
V1ConfigMapNodeConfigSource
-
-
Method Details
-
getKubeletConfigKey
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.- Returns:
- the kubeletConfigKey property value
-
setKubeletConfigKey
Set the kubeletConfigKey property value -
kubeletConfigKey
Set kubeletConfigKey in a chainable fashion.- Returns:
- The same instance of V1ConfigMapNodeConfigSource for chaining.
-
getName
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1ConfigMapNodeConfigSource for chaining.
-
getNamespace
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.- Returns:
- the namespace property value
-
setNamespace
Set the namespace property value -
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of V1ConfigMapNodeConfigSource for chaining.
-
getResourceVersion
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
- the resourceVersion property value
-
setResourceVersion
Set the resourceVersion property value -
resourceVersion
Set resourceVersion in a chainable fashion.- Returns:
- The same instance of V1ConfigMapNodeConfigSource for chaining.
-
getUid
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.- Returns:
- the uid property value
-
setUid
Set the uid property value -
uid
Set uid in a chainable fashion.- Returns:
- The same instance of V1ConfigMapNodeConfigSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-