Volume class

Volume represents a named volume in a container.

Constructors

Volume({ConfigMapVolumeSource? configMap, CSIVolumeSource? csi, EmptyDirVolumeSource? emptyDir, String? name, NFSVolumeSource? nfs, SecretVolumeSource? secret})
Volume.fromJson(Map json_)

Properties

configMap ConfigMapVolumeSource?
Not supported in Cloud Run.
getter/setter pair
csi CSIVolumeSource?
Volume specified by the Container Storage Interface driver
getter/setter pair
emptyDir EmptyDirVolumeSource?
Ephemeral storage used as a shared volume.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Volume's name.
getter/setter pair
nfs NFSVolumeSource?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret SecretVolumeSource?
The secret's value will be presented as the content of a file whose name is defined in the item path.
getter/setter pair

Methods

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

Operators

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