aws

package
v0.0.0-...-6e535ca Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Name     = "aws"
	Type     = api.Block
	AwsDBKey = "OpenStorageAWSKey"
)

Variables

This section is empty.

Functions

func Init

Init aws volume driver metadata.

Types

type Driver

type Driver struct {
	*volume.IoNotSupported
	*volume.DefaultEnumerator
	*device.SingleLetter
	// contains filtered or unexported fields
}

Driver implements VolumeDriver interface

func (*Driver) Alerts

func (d *Driver) Alerts(volumeID api.VolumeID) (api.Alerts, error)

func (*Driver) Attach

func (d *Driver) Attach(volumeID api.VolumeID) (path string, err error)

func (*Driver) Create

func (d *Driver) Create(
	locator api.VolumeLocator,
	source *api.Source,
	spec *api.VolumeSpec) (api.VolumeID, error)

Create aws volume from spec.

func (*Driver) Delete

func (d *Driver) Delete(volumeID api.VolumeID) error

func (*Driver) Detach

func (d *Driver) Detach(volumeID api.VolumeID) error

func (*Driver) Format

func (d *Driver) Format(volumeID api.VolumeID) error

func (*Driver) Inspect

func (d *Driver) Inspect(volumeIDs []api.VolumeID) ([]api.Volume, error)

func (*Driver) Mount

func (d *Driver) Mount(volumeID api.VolumeID, mountpath string) error

func (*Driver) Set

func (d *Driver) Set(volumeID api.VolumeID, locator *api.VolumeLocator, spec *api.VolumeSpec) error

func (*Driver) Shutdown

func (d *Driver) Shutdown()

func (*Driver) Snapshot

func (d *Driver) Snapshot(volumeID api.VolumeID, readonly bool, locator api.VolumeLocator) (api.VolumeID, error)

func (*Driver) Stats

func (d *Driver) Stats(volumeID api.VolumeID) (api.Stats, error)

func (*Driver) Status

func (v *Driver) Status() [][2]string

Status diagnostic information

func (*Driver) String

func (d *Driver) String() string

String is a description of this driver.

func (*Driver) Type

func (d *Driver) Type() api.DriverType

Type returns aws as a Block driver.

func (*Driver) Unmount

func (d *Driver) Unmount(volumeID api.VolumeID, mountpath string) error

type Metadata

type Metadata struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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