FileKeySelectorPatch class
FileKeySelector selects a key of the env file.
Constructors
-
FileKeySelectorPatch({Input<
String> ? key, Input<bool> ? optional, Input<String> ? path, Input<String> ? volumeName}) -
Creates a new FileKeySelectorPatch.
keyThe key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.optionalSpecify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.pathThe path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.volumeNameThe name of the volume mount containing the env file.const -
FileKeySelectorPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> ? -
The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
final
-
optional
→ Input<
bool> ? -
Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.
final
-
path
→ Input<
String> ? -
The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumeName
→ Input<
String> ? -
The name of the volume mount containing the env file.
final
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