Class V1SecretKeySelector
SecretKeySelector selects a key of a Secret.
Inheritance
V1SecretKeySelector
Assembly: KubernetesClient.dll
Syntax
public record V1SecretKeySelector : IEquatable<V1SecretKeySelector>
Constructors
View Source
V1SecretKeySelector()
Declaration
public V1SecretKeySelector()
View Source
V1SecretKeySelector(V1SecretKeySelector)
Declaration
protected V1SecretKeySelector(V1SecretKeySelector original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Key
The key of the secret to select from. Must be a valid secret key.
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
View Source
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
Optional
Specify whether the Secret or its key 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(V1SecretKeySelector?)
Declaration
public virtual bool Equals(V1SecretKeySelector? 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 ==(V1SecretKeySelector?, V1SecretKeySelector?)
Declaration
public static bool operator ==(V1SecretKeySelector? left, V1SecretKeySelector? right)
Parameters
Returns
View Source
operator !=(V1SecretKeySelector?, V1SecretKeySelector?)
Declaration
public static bool operator !=(V1SecretKeySelector? left, V1SecretKeySelector? right)
Parameters
Returns
Implements