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(notUsed bool, snapshotName, volumeID, description string) ([]*storage.Snapshot, error)
- func (driver *Driver) CreateVolume(notUsed bool, volumeName string, volumeID string, snapshotID string, ...) (*storage.Volume, error)
- func (driver *Driver) DetachVolume(runAsync bool, volumeID string, blank 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 = "ScaleIO"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct { Client *goscaleio.Client System *goscaleio.System ProtectionDomain *goscaleio.ProtectionDomain StoragePool *goscaleio.StoragePool Sdc *goscaleio.Sdc 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.