Documentation ¶
Index ¶
- func AddN(val int, oList ...increasable)
- func Capabilities() *volume.CapabilitiesResponse
- func Get(d Driver, vName string) (Volume, Mount, error)
- func List(d Driver) (*volume.ListResponse, error)
- func MountExist(d Driver, vName string) (Volume, Mount, error)
- func Remove(d Driver, vName string) error
- func SetN(val int, oList ...increasable)
- func Unmount(d Driver, vName string) error
- type Driver
- type Mount
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capabilities ¶
func Capabilities() *volume.CapabilitiesResponse
Capabilities wrapper around github.com/docker/go-plugins-helpers/volume
func List ¶
func List(d Driver) (*volume.ListResponse, error)
List wrapper around github.com/docker/go-plugins-helpers/volume
func MountExist ¶
MountExist wrapper around github.com/docker/go-plugins-helpers/volume
Types ¶
type Driver ¶
type Driver interface { GetLock() *sync.RWMutex GetVolumes() map[string]Volume GetMounts() map[string]Mount SaveConfig() error RunCmd(string) error }
Driver needed interface for some commons interactions
Click to show internal directories.
Click to hide internal directories.