VolumeArgs class

The set of arguments for Volume. The set of arguments for Volume.

Constructors

VolumeArgs({Input<VolumeCluster?>? cluster, Input<String?>? driver, Input<Map<String, String>?>? driverOpts, Input<List<VolumeLabel>?>? labels, Input<String?>? name})
Creates a new VolumeArgs. cluster Cluster-specific options for volume creation. Only works if the Docker daemon is running in swarm mode and is the swarm manager. driver Driver type for the volume. Defaults to local. driverOpts Options specific to the driver. labels User-defined key/value metadata name The name of the Docker volume (will be generated if not provided).
const
VolumeArgs.fromMap(Map<String, dynamic> map)
factory

Properties

cluster → Input<VolumeCluster?>?
Cluster-specific options for volume creation. Only works if the Docker daemon is running in swarm mode and is the swarm manager.
final
driver → Input<String?>?
Driver type for the volume. Defaults to local.
final
driverOpts → Input<Map<String, String>?>?
Options specific to the driver.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<List<VolumeLabel>?>?
User-defined key/value metadata
final
name → Input<String?>?
The name of the Docker volume (will be generated if not provided).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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