Documentation ¶
Index ¶
- Variables
- func AttachVolume(runAsync bool, volumeID string, instanceID string) ([]*storagedriver.VolumeAttachment, error)
- func CreateSnapshot(runAsync bool, snapshotName, volumeID, description string) ([]*storagedriver.Snapshot, error)
- func CreateVolume(runAsync bool, volumeName string, volumeID, snapshotID string, ...) (*storagedriver.Volume, error)
- func DetachVolume(runAsync bool, volumeID string, instanceID string) error
- func GetBlockDeviceMapping() ([]*storagedriver.BlockDevice, error)
- func GetInstance() ([]*storagedriver.Instance, error)
- func GetSnapshot(volumeID, snapshotID, snapshotName string) ([]*storagedriver.Snapshot, error)
- func GetVolume(volumeID, volumeName string) ([]*storagedriver.Volume, error)
- func RemoveSnapshot(snapshotID string) error
- func RemoveVolume(volumeID string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDriverBlockDeviceDiscovery = errors.New("Driver Block Device discovery failed") ErrDriverInstanceDiscovery = errors.New("Driver Instance discovery failed") ErrDriverVolumeDiscovery = errors.New("Driver Volume discovery failed") ErrDriverSnapshotDiscovery = errors.New("Driver Snapshot discovery failed") ErrMultipleDriversDetected = errors.New("Multiple drivers detected, must declare with driver with env of REXRAY_STORAGEDRIVER=") )
Functions ¶
func AttachVolume ¶
func AttachVolume(runAsync bool, volumeID string, instanceID string) ([]*storagedriver.VolumeAttachment, error)
func CreateSnapshot ¶
func CreateSnapshot(runAsync bool, snapshotName, volumeID, description string) ([]*storagedriver.Snapshot, error)
func CreateVolume ¶
func GetBlockDeviceMapping ¶
func GetBlockDeviceMapping() ([]*storagedriver.BlockDevice, error)
GetBlockDeviceMapping performs storage introspection and returns a listing of block devices from the guest
func GetInstance ¶
func GetInstance() ([]*storagedriver.Instance, error)
func GetSnapshot ¶
func GetSnapshot(volumeID, snapshotID, snapshotName string) ([]*storagedriver.Snapshot, error)
func RemoveSnapshot ¶
func RemoveVolume ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.