ConfigMapEnvSource class

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

Constructors

ConfigMapEnvSource({String? name, bool? optional})
Default constructor.
const
ConfigMapEnvSource.fromJson(Map<String, dynamic> json)
Creates a ConfigMapEnvSource 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 ConfigMap 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 ConfigMapEnvSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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