Class V1ConfigMapNodeConfigSource
java.lang.Object
io.kubernetes.client.openapi.models.V1ConfigMapNodeConfigSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1ConfigMapNodeConfigSource
Create an instance of V1ConfigMapNodeConfigSource given an JSON stringKubeletConfigKey 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
toJson()
Convert an instance of V1ConfigMapNodeConfigSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
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:
-
openapiFields
-
openapiRequiredFields
-
-
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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1ConfigMapNodeConfigSource
-
fromJson
Create an instance of V1ConfigMapNodeConfigSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ConfigMapNodeConfigSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1ConfigMapNodeConfigSource
-
toJson
Convert an instance of V1ConfigMapNodeConfigSource to an JSON string- Returns:
- JSON string
-