Documentation ¶
Index ¶
- Constants
- func Init(cfg *config.Config) (storage.Driver, error)
- type Driver
- func (driver *Driver) AttachVolume(runAsync bool, volumeID, instanceID string) ([]*storage.VolumeAttachment, error)
- func (driver *Driver) CopySnapshot(runAsync bool, ...) (*storage.Snapshot, error)
- func (driver *Driver) CreateSnapshot(runAsync bool, snapshotName, volumeID, description string) ([]*storage.Snapshot, error)
- func (driver *Driver) CreateVolume(runAsync bool, volumeName string, volumeID string, snapshotID string, ...) (*storage.Volume, error)
- func (driver *Driver) DetachVolume(runAsync bool, volumeID, instanceID string) error
- func (driver *Driver) GetDeviceNextAvailable() (string, error)
- func (driver *Driver) GetInstance() (*storage.Instance, error)
- func (driver *Driver) GetSnapshot(volumeID, snapshotID, snapshotName string) ([]*storage.Snapshot, error)
- func (driver *Driver) GetVolume(volumeID, volumeName string) ([]*storage.Volume, error)
- func (driver *Driver) GetVolumeAttach(volumeID, instanceID string) ([]*storage.VolumeAttachment, error)
- func (driver *Driver) GetVolumeMapping() ([]*storage.BlockDevice, error)
- func (driver *Driver) RemoveSnapshot(snapshotID string) error
- func (driver *Driver) RemoveVolume(volumeID string) error
Constants ¶
View Source
const ProviderName = "Rackspace"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct { Provider *gophercloud.ProviderClient Client *gophercloud.ServiceClient ClientBlockStorage *gophercloud.ServiceClient Region string InstanceID string Config *config.Config }
func (*Driver) AttachVolume ¶
func (*Driver) CopySnapshot ¶
func (*Driver) CreateSnapshot ¶
func (*Driver) CreateVolume ¶
func (*Driver) DetachVolume ¶
func (*Driver) GetDeviceNextAvailable ¶
func (*Driver) GetSnapshot ¶
func (*Driver) GetVolumeAttach ¶
func (driver *Driver) GetVolumeAttach(volumeID, instanceID string) ([]*storage.VolumeAttachment, error)
func (*Driver) GetVolumeMapping ¶
func (driver *Driver) GetVolumeMapping() ([]*storage.BlockDevice, error)
func (*Driver) RemoveSnapshot ¶
func (*Driver) RemoveVolume ¶
Click to show internal directories.
Click to hide internal directories.