volumedrivers

package
v1.4.2-0...-422fa7f Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2015 License: Apache-2.0 Imports: 4 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)

func NewVolumeDriver

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

func Register

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

func Unregister

func Unregister(name string) bool

Types

type VolumeDriver

type VolumeDriver interface {
	Create(name string) (err error)
	Remove(name string) (err error)
	Path(name string) (mountpoint string, err error)
	Mount(name string) (mountpoint string, err error)
	Unmount(name string) (err error)
}

Jump to

Keyboard shortcuts

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