SecretEnvSource class

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.

Constructors

SecretEnvSource({String? name, bool? optional})
Default constructor.
const
SecretEnvSource.fromJson(Map<String, dynamic> json)
Creates a SecretEnvSource from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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 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 SecretEnvSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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