package volumedrivers
import "github.com/dotcloud/docker/volume/drivers"
Index ¶
- func Lookup(name string) (volume.Driver, error)
- func NewVolumeDriver(name string, c client) volume.Driver
- func Register(extension volume.Driver, name string) bool
- func Unregister(name string) bool
- type VolumeDriver
Functions ¶
func Lookup ¶
func NewVolumeDriver ¶
func Register ¶
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) }
Source Files ¶
adapter.go api.go extpoint.go proxy.go
- Version
- v1.8.0
- Published
- Aug 11, 2015
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.