backend

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CRUD      = "crud"
	Mount     = "mount"
	Snapshot  = "snapshot"
	MountPath = "/mnt"
)

DriverTypes

CRUDDrivers is the map of string to storage.CRUDDriver.

MountDrivers is the map of string to storage.MountDriver.

SnapshotDrivers is the map of string to storage.SnapshotDriver.

Functions

func NewCRUDDriver

func NewCRUDDriver(backend string) (storage.CRUDDriver, error)

NewCRUDDriver instantiates a CRUD Driver.

func NewMountDriver

func NewMountDriver(backend, mountpath string) (storage.MountDriver, error)

NewMountDriver instantiates and return a mount driver instance of the specified type

func NewSnapshotDriver

func NewSnapshotDriver(backend string) (storage.SnapshotDriver, error)

NewSnapshotDriver creates a SnapshotDriver based on the backend name.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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