Show / Hide Table of Contents

Class V1EnvFromSource

EnvFromSource represents the source of a set of ConfigMaps or Secrets

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

Constructors

View Source

V1EnvFromSource()

Declaration
public V1EnvFromSource()
View Source

V1EnvFromSource(V1EnvFromSource)

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

Properties

View Source

ConfigMapRef

The ConfigMap to select from

Declaration
[JsonPropertyName("configMapRef")]
public V1ConfigMapEnvSource ConfigMapRef { get; set; }
Property Value
Type Description
V1ConfigMapEnvSource
View Source

EqualityContract

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

Prefix

Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.

Declaration
[JsonPropertyName("prefix")]
public string Prefix { get; set; }
Property Value
Type Description
string
View Source

SecretRef

The Secret to select from

Declaration
[JsonPropertyName("secretRef")]
public V1SecretEnvSource SecretRef { get; set; }
Property Value
Type Description
V1SecretEnvSource

Methods

View Source

Equals(object?)

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

Equals(V1EnvFromSource?)

Declaration
public virtual bool Equals(V1EnvFromSource? other)
Parameters
Type Name Description
V1EnvFromSource other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1EnvFromSource?, V1EnvFromSource?)

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

operator !=(V1EnvFromSource?, V1EnvFromSource?)

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

Implements

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