Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVolumeDriver ¶
func Unregister ¶
Types ¶
type VolumeDriver ¶
type VolumeDriver interface { // Create a volume with the given name Create(name string) (err error) // Remove the volume with the given name Remove(name string) (err error) // Get the mountpoint of the given volume Path(name string) (mountpoint string, err error) // Mount the given volume and return the mountpoint Mount(name string) (mountpoint string, err error) // Unmount the given volume Unmount(name string) (err error) }
Click to show internal directories.
Click to hide internal directories.