EnvVarSource class

EnvVarSource represents a source for the value of an EnvVar.

Constructors

EnvVarSource({ConfigMapKeySelector? configMapKeyRef, ObjectFieldSelector? fieldRef, ResourceFieldSelector? resourceFieldRef, SecretKeySelector? secretKeyRef})
Default constructor.
const
EnvVarSource.fromJson(Map<String, dynamic> json)
Creates a EnvVarSource from JSON data.
factory

Properties

configMapKeyRef ConfigMapKeySelector?
Selects a key of a ConfigMap.
final
fieldRef ObjectFieldSelector?
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
final
hashCode int
The hash code for this object.
no setterinherited
resourceFieldRef ResourceFieldSelector?
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKeyRef SecretKeySelector?
Selects a key of a secret in the pod's namespace.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a EnvVarSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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