package volumedrivers
import "github.com/docker/docker/volume/drivers"
Index ¶
- func GetAllDrivers() ([]volume.Driver, error)
- func GetDriver(name string) (volume.Driver, error)
- func GetDriverList() []string
- 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
Functions ¶
func GetAllDrivers ¶
GetAllDrivers lists all the registered drivers
func GetDriver ¶
GetDriver returns a volume driver by it's name. If the driver is empty, it looks for the local driver.
func GetDriverList ¶
func GetDriverList() []string
GetDriverList returns list of volume drivers registered. If no driver is registered, empty string list will be returned.
func Lookup ¶
Lookup returns the driver associated with the given name. If a driver with the given name has not been registered it checks if there is a VolumeDriver plugin available with the given name.
func NewVolumeDriver ¶
NewVolumeDriver returns a driver has the given name mapped on the given client.
func Register ¶
Register associates the given driver to the given name, checking if the name is already associated
func Unregister ¶
Unregister dissociates the name from it's driver, if the association exists.
Source Files ¶
adapter.go extpoint.go proxy.go
- Version
- v1.10.1
- Published
- Feb 11, 2016
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 1 hour ago –
Tools for package owners.