VolumeArgs constructor
const
VolumeArgs({
- Input<
VolumeCluster?> ? cluster, - Input<
String?> ? driver, - Input<
Map< ? driverOpts,String, String> ?> - Input<
List< ? labels,VolumeLabel> ?> - 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).
Implementation
const VolumeArgs({
this.cluster,
this.driver,
this.driverOpts,
this.labels,
this.name,
});