SecretKeySelector class

SecretKeySelector selects a key of a Secret.

Constructors

SecretKeySelector({required String key, String? name, bool? optional})
The main constructor.
const
SecretKeySelector.fromJson(Map<String, dynamic> json)
Creates a SecretKeySelector from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The key of the secret to select from. Must be a valid secret key.
final
name String?
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names.
final
optional 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
toJson() Map<String, Object>
Converts a SecretKeySelector instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<SecretKeySelector>
Creates a list of SecretKeySelector from JSON data.