Volume class

Volume represents a named volume in a container.

Constructors

Volume({Input<ConfigMapVolumeSource>? configMap, Input<EmptyDirVolumeSource>? emptyDir, Input<String>? name, Input<SecretVolumeSource>? secret})
Creates a new Volume. configMap Not supported in Cloud Run. emptyDir Ephemeral storage used as a shared volume. name Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved. secret The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secretName.
const
Volume.fromMap(Map<String, dynamic> map)
factory

Properties

configMap → Input<ConfigMapVolumeSource>?
Not supported in Cloud Run.
final
emptyDir → Input<EmptyDirVolumeSource>?
Ephemeral storage used as a shared volume.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Input<SecretVolumeSource>?
The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secretName.
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