Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + const DefaultCopyMode + const DefaultDriverName + const DefaultPropagationMode + const GlobalScope + const LocalScope + const RXDestination — windows/amd64 + const RXHostDir — windows/amd64 + const RXMode — windows/amd64 + const RXName — windows/amd64 + const RXReservedNames — windows/amd64 + const RXSource — windows/amd64 + func ConvertTmpfsOptions(opt *mounttypes.TmpfsOptions, readOnly bool) (string, error) + func GetPropagation(mode string) mounttypes.Propagation + func HasPropagation(mode string) bool + func IsVolumeNameValid(name string) (bool, error) — darwin/amd64, linux/amd64, windows/amd64 + func ParseVolumesFrom(spec string) (string, string, error) + func ReadWrite(mode string) bool — darwin/amd64, linux/amd64, windows/amd64 + func ValidMountMode(mode string) bool — darwin/amd64, linux/amd64, windows/amd64 + type Capability struct + Scope string + type DetailedVolume interface + Labels func() map[string]string + Options func() map[string]string + Scope func() string + type Driver interface + Create func(name string, opts map[string]string) (Volume, error) + Get func(name string) (Volume, error) + List func() ([]Volume, error) + Name func() string + Remove func(vol Volume) (err error) + Scope func() string + type MountPoint struct + CopyData bool + Destination string + Driver string + ID string + Mode string + Name string + Propagation mounttypes.Propagation + RW bool + Source string + Spec mounttypes.Mount + Type mounttypes.Type + Volume Volume + func ParseMountRaw(raw, volumeDriver string) (*MountPoint, error) + func ParseMountSpec(cfg mounttypes.Mount, options ...func(*validateOpts)) (*MountPoint, error) + func (m *MountPoint) BackwardsCompatible() bool + func (m *MountPoint) HasResource(absolutePath string) bool + func (m *MountPoint) Path() string + func (m *MountPoint) Setup(mountLabel string, rootUID, rootGID int) (string, error) + type Volume interface + DriverName func() string + Mount func(id string) (string, error) + Name func() string + Path func() string + Status func() map[string]interface{} + Unmount func(id string) error