storagedriver

package
v0.1.150413 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDriverInstanceIDDiscovery = errors.New("Driver InstanceID discovery failed")
)

Functions

func GetDrivers

func GetDrivers(storageDrivers string) (map[string]Driver, error)

func Register

func Register(name string, initFunc InitFunc) error

Types

type BlockDevice

type BlockDevice struct {
	ProviderName string
	InstanceID   string
	VolumeID     string
	DeviceName   string
	Region       string
	Status       string
}

type Driver

type Driver interface {
	GetBlockDeviceMapping() (interface{}, error)
}

type InitFunc

type InitFunc func() (Driver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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