pub type VolumeCreateVolumeConfigParam = VolumeCreateOptions;
Expand description
Volume configuration
Aliased Type§
struct VolumeCreateVolumeConfigParam {
pub cluster_volume_spec: Option<ClusterVolumeSpec>,
pub driver: Option<String>,
pub driver_opts: Option<HashMap<String, String>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Fields§
§cluster_volume_spec: Option<ClusterVolumeSpec>
§driver: Option<String>
Name of the volume driver to use.
driver_opts: Option<HashMap<String, String>>
A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
name: Option<String>
The new volume’s name. If not specified, Docker generates a name.