Class V1ConfigMapKeySelector
Selects a key from a ConfigMap.
Inheritance
V1ConfigMapKeySelector
Assembly: KubernetesClient.dll
Syntax
public record V1ConfigMapKeySelector : IEquatable<V1ConfigMapKeySelector>
Constructors
V1ConfigMapKeySelector()
Declaration
public V1ConfigMapKeySelector()
V1ConfigMapKeySelector(V1ConfigMapKeySelector)
Declaration
protected V1ConfigMapKeySelector(V1ConfigMapKeySelector original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Key
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Optional
Specify whether the ConfigMap or its key must be defined
Declaration
[JsonPropertyName("optional")]
public bool? Optional { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1ConfigMapKeySelector?)
Declaration
public virtual bool Equals(V1ConfigMapKeySelector? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1ConfigMapKeySelector?, V1ConfigMapKeySelector?)
Declaration
public static bool operator ==(V1ConfigMapKeySelector? left, V1ConfigMapKeySelector? right)
Parameters
Returns
operator !=(V1ConfigMapKeySelector?, V1ConfigMapKeySelector?)
Declaration
public static bool operator !=(V1ConfigMapKeySelector? left, V1ConfigMapKeySelector? right)
Parameters
Returns
Implements