Class V1SecretEnvSource
SecretEnvSource selects a Secret to populate the environment variables with.
The contents of the target Secret's Data field will represent the key-value
pairs as environment variables.
Inheritance
V1SecretEnvSource
Assembly: KubernetesClient.dll
Syntax
public record V1SecretEnvSource : IEquatable<V1SecretEnvSource>
Constructors
View Source
V1SecretEnvSource()
Declaration
public V1SecretEnvSource()
View Source
V1SecretEnvSource(V1SecretEnvSource)
Declaration
protected V1SecretEnvSource(V1SecretEnvSource original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
Optional
Specify whether the Secret must be defined
Declaration
[JsonPropertyName("optional")]
public bool? Optional { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1SecretEnvSource?)
Declaration
public virtual bool Equals(V1SecretEnvSource? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1SecretEnvSource?, V1SecretEnvSource?)
Declaration
public static bool operator ==(V1SecretEnvSource? left, V1SecretEnvSource? right)
Parameters
Returns
View Source
operator !=(V1SecretEnvSource?, V1SecretEnvSource?)
Declaration
public static bool operator !=(V1SecretEnvSource? left, V1SecretEnvSource? right)
Parameters
Returns
Implements