Documentation
¶
Index ¶
- Variables
- func Init() (storagedriver.Driver, error)
- type Driver
- func (driver *Driver) AttachVolume(runAsync bool, volumeID, instanceID string) (interface{}, error)
- func (driver *Driver) CreateSnapshot(runAsync bool, snapshotName, volumeID, description string) (interface{}, error)
- func (driver *Driver) CreateVolume(runAsync bool, volumeName string, volumeID string, snapshotID string, ...) (interface{}, error)
- func (driver *Driver) DetachVolume(runAsync bool, volumeID string, blank string) error
- func (driver *Driver) GetBlockDeviceMapping() (interface{}, error)
- func (driver *Driver) GetDeviceNextAvailable() (string, error)
- func (driver *Driver) GetInstance() (interface{}, error)
- func (driver *Driver) GetSnapshot(volumeID, snapshotID, snapshotName string) (interface{}, error)
- func (driver *Driver) GetVolume(volumeID, volumeName string) (interface{}, error)
- func (driver *Driver) GetVolumeAttach(volumeID, instanceID string) (interface{}, error)
- func (driver *Driver) RemoveSnapshot(snapshotID string) error
- func (driver *Driver) RemoveVolume(volumeID string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingVolumeID = errors.New("Missing VolumeID")
)
Functions ¶
func Init ¶
func Init() (storagedriver.Driver, error)
Types ¶
type Driver ¶
type Driver struct { InstanceDocument *instanceIdentityDocument EC2Instance *ec2.EC2 DDTable *dynamodb.Table }
func (*Driver) AttachVolume ¶ added in v0.1.150418
func (*Driver) CreateSnapshot ¶ added in v0.1.150418
func (*Driver) CreateVolume ¶ added in v0.1.150418
func (*Driver) DetachVolume ¶ added in v0.1.150418
func (*Driver) GetBlockDeviceMapping ¶
func (*Driver) GetDeviceNextAvailable ¶ added in v0.1.150418
func (*Driver) GetInstance ¶ added in v0.1.150418
func (*Driver) GetSnapshot ¶ added in v0.1.150418
func (*Driver) GetVolumeAttach ¶ added in v0.1.150418
func (*Driver) RemoveSnapshot ¶ added in v0.1.150418
func (*Driver) RemoveVolume ¶ added in v0.1.150418
Click to show internal directories.
Click to hide internal directories.