com.coralogix.zio.k8s.model.core.v1
ConfigMapNodeConfigSource
Companion object ConfigMapNodeConfigSource
case class ConfigMapNodeConfigSource(kubeletConfigKey: String, name: String, namespace: String, resourceVersion: Optional[String] = Optional.Absent, uid: Optional[String] = Optional.Absent) extends Product with Serializable
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
- kubeletConfigKey
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
- name
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
- namespace
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
- resourceVersion
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
- uid
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
- Alphabetic
- By Inheritance
- ConfigMapNodeConfigSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ConfigMapNodeConfigSource(kubeletConfigKey: String, name: String, namespace: String, resourceVersion: Optional[String] = Optional.Absent, uid: Optional[String] = Optional.Absent)
- kubeletConfigKey
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
- name
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
- namespace
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
- resourceVersion
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
- uid
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
Value Members
-
def
getKubeletConfigKey: IO[K8sFailure, String]
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
This effect always succeeds, it is safe to use the field kubeletConfigKey directly.
-
def
getName: IO[K8sFailure, String]
Name is the metadata.name of the referenced ConfigMap.
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
This effect always succeeds, it is safe to use the field name directly.
-
def
getNamespace: IO[K8sFailure, String]
Namespace is the metadata.namespace of the referenced ConfigMap.
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
This effect always succeeds, it is safe to use the field namespace directly.
-
def
getResourceVersion: IO[K8sFailure, String]
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUid: IO[K8sFailure, String]
UID is the metadata.UID of the referenced ConfigMap.
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val kubeletConfigKey: String
- val name: String
- val namespace: String
- val resourceVersion: Optional[String]
- val uid: Optional[String]