EphemeralVolumeSource class
Represents an ephemeral volume that is handled by a normal storage driver.
Constructors
-
EphemeralVolumeSource({Input<
bool> ? readOnly, Input<PersistentVolumeClaimTemplate> ? volumeClaimTemplate}) -
Creates a new EphemeralVolumeSource.
readOnlySpecifies a read-only configuration for the volume. Defaults to false (read/write).volumeClaimTemplateWill be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be<pod name>-<volume name>where<volume name>is the name from thePodSpec.Volumesarray entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).const -
EphemeralVolumeSource.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
readOnly
→ Input<
bool> ? -
Specifies a read-only configuration for the volume. Defaults to false (read/write).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumeClaimTemplate
→ Input<
PersistentVolumeClaimTemplate> ? -
Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be
<pod name>-<volume name>where<volume name>is the name from thePodSpec.Volumesarray entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).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