Show / Hide Table of Contents

Class V1ConfigMapNodeConfigSource

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

Inheritance
object
V1ConfigMapNodeConfigSource
Implements
IEquatable<V1ConfigMapNodeConfigSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ConfigMapNodeConfigSource : IEquatable<V1ConfigMapNodeConfigSource>

Constructors

V1ConfigMapNodeConfigSource()

Declaration
public V1ConfigMapNodeConfigSource()

V1ConfigMapNodeConfigSource(V1ConfigMapNodeConfigSource)

Declaration
protected V1ConfigMapNodeConfigSource(V1ConfigMapNodeConfigSource original)
Parameters
Type Name Description
V1ConfigMapNodeConfigSource original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

KubeletConfigKey

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.

Declaration
[JsonPropertyName("kubeletConfigKey")]
public string KubeletConfigKey { get; set; }
Property Value
Type Description
string

Name

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.

Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type Description
string

NamespaceProperty

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.

Declaration
[JsonPropertyName("namespace")]
public string NamespaceProperty { get; set; }
Property Value
Type Description
string

ResourceVersion

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

Declaration
[JsonPropertyName("resourceVersion")]
public string ResourceVersion { get; set; }
Property Value
Type Description
string

Uid

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

Declaration
[JsonPropertyName("uid")]
public string Uid { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1ConfigMapNodeConfigSource?)

Declaration
public virtual bool Equals(V1ConfigMapNodeConfigSource? other)
Parameters
Type Name Description
V1ConfigMapNodeConfigSource other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1ConfigMapNodeConfigSource?, V1ConfigMapNodeConfigSource?)

Declaration
public static bool operator ==(V1ConfigMapNodeConfigSource? left, V1ConfigMapNodeConfigSource? right)
Parameters
Type Name Description
V1ConfigMapNodeConfigSource left
V1ConfigMapNodeConfigSource right
Returns
Type Description
bool

operator !=(V1ConfigMapNodeConfigSource?, V1ConfigMapNodeConfigSource?)

Declaration
public static bool operator !=(V1ConfigMapNodeConfigSource? left, V1ConfigMapNodeConfigSource? right)
Parameters
Type Name Description
V1ConfigMapNodeConfigSource left
V1ConfigMapNodeConfigSource right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX