Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeConfig ¶
type VolumeConfig struct {
Options *volume.CreateOptions
}
Volume represents a Docker volume along with its creation options.
func NewConfig ¶
func NewConfig(name string) *VolumeConfig
NewVolume creates a new Volume instance with the specified name. The Volume instance contains configuration options for creating a Docker volume.
func (*VolumeConfig) SetOptions ¶
func (v *VolumeConfig) SetOptions(setVOFns ...volumeoptions.SetVolumeOptFn)
SetOptions configures options for the Docker volume. Use this method to set various volume options using functions from the volumeopt package.
Click to show internal directories.
Click to hide internal directories.