Class V1ConfigMapEnvSource
ConfigMapEnvSource selects a ConfigMap to populate the environment variables
with.
The contents of the target ConfigMap's Data field will represent the key-value
pairs as environment variables.
Inheritance
V1ConfigMapEnvSource
Assembly: KubernetesClient.dll
Syntax
public record V1ConfigMapEnvSource : IEquatable<V1ConfigMapEnvSource>
Constructors
V1ConfigMapEnvSource()
Declaration
public V1ConfigMapEnvSource()
V1ConfigMapEnvSource(V1ConfigMapEnvSource)
Declaration
protected V1ConfigMapEnvSource(V1ConfigMapEnvSource original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Optional
Specify whether the ConfigMap 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(V1ConfigMapEnvSource?)
Declaration
public virtual bool Equals(V1ConfigMapEnvSource? 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 ==(V1ConfigMapEnvSource?, V1ConfigMapEnvSource?)
Declaration
public static bool operator ==(V1ConfigMapEnvSource? left, V1ConfigMapEnvSource? right)
Parameters
Returns
operator !=(V1ConfigMapEnvSource?, V1ConfigMapEnvSource?)
Declaration
public static bool operator !=(V1ConfigMapEnvSource? left, V1ConfigMapEnvSource? right)
Parameters
Returns
Implements