VolumeState constructor
const
VolumeState({
- Input<
VolumeCluster?> ? cluster, - Input<
String?> ? driver, - Input<
Map< ? driverOpts,String, String> ?> - Input<
List< ? labels,VolumeLabel> ?> - Input<
String?> ? mountpoint, - Input<
String?> ? name,
Creates a new VolumeState.
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
mountpoint The mountpoint of the volume.
name The name of the Docker volume (will be generated if not provided).
Implementation
const VolumeState({
this.cluster,
this.driver,
this.driverOpts,
this.labels,
this.mountpoint,
this.name,
});