EphemeralVolumeSource class

Represents an ephemeral volume that is handled by a normal storage driver.

Constructors

EphemeralVolumeSource({PersistentVolumeClaimTemplate? volumeClaimTemplate})
The main constructor.
const
EphemeralVolumeSource.fromJson(Map<String, dynamic> json)
Creates a EphemeralVolumeSource from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volumeClaimTemplate 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 the PodSpec.Volumes array 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
toJson() Map<String, Object>
Converts a EphemeralVolumeSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<EphemeralVolumeSource>
Creates a list of EphemeralVolumeSource from JSON data.