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