ConfigMapNodeConfigSource class
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.
Constructors
- ConfigMapNodeConfigSource({required String kubeletConfigKey, required String name, required String namespace, String? resourceVersion, String? uid})
-
Default constructor.
const
-
ConfigMapNodeConfigSource.fromJson(Map<
String, dynamic> json) -
Creates a ConfigMapNodeConfigSource from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kubeletConfigKey → String
-
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
final
- name → String
-
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
final
- namespace → String
-
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
final
- resourceVersion → String?
-
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → String?
-
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ConfigMapNodeConfigSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited