SecretKeySelectorPatch class
SecretKeySelector selects a key of a Secret.
Constructors
-
SecretKeySelectorPatch({Input<
String> ? key, Input<String> ? name, Input<bool> ? optional}) -
Creates a new SecretKeySelectorPatch.
keyThe key of the secret to select from. Must be a valid secret key.nameName of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesoptionalSpecify whether the Secret or its key must be definedconst -
SecretKeySelectorPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> ? -
The key of the secret to select from. Must be a valid secret key.
final
-
name
→ Input<
String> ? -
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
final
-
optional
→ Input<
bool> ? -
Specify whether the Secret or its key must be defined
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited