package volumedrivers
import "github.com/docker/cli/components/engine/volume/drivers"
Index ¶
- func CreateDriver(name string) (volume.Driver, error)
- func GetAllDrivers() ([]volume.Driver, error)
- func GetDriver(name string) (volume.Driver, error)
- func GetDriverList() []string
- func NewVolumeDriver(name string, baseHostPath string, c client) volume.Driver
- func Register(extension volume.Driver, name string) bool
- func RegisterPluginGetter(plugingetter getter.PluginGetter)
- func ReleaseDriver(name string) (volume.Driver, error)
- func Unregister(name string) bool
Functions ¶
func CreateDriver ¶
CreateDriver returns a volume driver by its name and increments RefCount. If the driver is empty, it looks for the local driver.
func GetAllDrivers ¶
GetAllDrivers lists all the registered drivers
func GetDriver ¶
GetDriver returns a volume driver by its 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 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 RegisterPluginGetter ¶
func RegisterPluginGetter(plugingetter getter.PluginGetter)
RegisterPluginGetter sets the plugingetter
func ReleaseDriver ¶
ReleaseDriver returns a volume driver by its name and decrements RefCount.. If the driver is empty, it looks for the local driver.
func Unregister ¶
Unregister dissociates the name from its driver, if the association exists.
Source Files ¶
adapter.go extpoint.go proxy.go
- Version
- v17.12.0-ce+incompatible
- Published
- Dec 27, 2017
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.