volumedrivers

package
v1.4.2-0...-4133401 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(name string) (volume.Driver, error)

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

func NewVolumeDriver(name string, c client) volume.Driver

NewVolumeDriver returns a driver has the given name mapped on the given client.

func Register

func Register(extension volume.Driver, name string) bool

Register associates the given driver to the given name, checking if the name is already associated

func Unregister

func Unregister(name string) bool

Unregister dissociates the name from it's driver, if the association exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL