VolumeState class
Input properties used for looking up and filtering Volume resources.
Constructors
-
VolumeState({Input<
VolumeCluster?> ? cluster, Input<String?> ? driver, Input<Map< ? driverOpts, Input<String, String> ?>List< ? labels, Input<VolumeLabel> ?>String?> ? mountpoint, Input<String?> ? name}) -
Creates a new VolumeState.
clusterCluster-specific options for volume creation. Only works if the Docker daemon is running in swarm mode and is the swarm manager.driverDriver type for the volume. Defaults tolocal.driverOptsOptions specific to the driver.labelsUser-defined key/value metadatamountpointThe mountpoint of the volume.nameThe name of the Docker volume (will be generated if not provided).const -
VolumeState.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
-
mountpoint
→ Input<
String?> ? -
The mountpoint of the volume.
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