Versions in this module Expand all Collapse all v0 v0.2.1 Oct 27, 2015 Changes in this version + func DriverNames() <-chan string + func RegisterDriver(driverName string, ctor NewDriver) + type BlockDevice struct + DeviceName string + InstanceID string + NetworkName string + ProviderName string + Region string + Status string + VolumeID string + type Driver interface + Init func(rexray *RexRay) error + Name func() string + type Instance struct + InstanceID string + Name string + ProviderName string + Region string + type MountInfoArray []*mount.Info + type NewDriver func() Driver + type OSDriver interface + Format func(string, string, bool) error + GetMounts func(string, string) (MountInfoArray, error) + Mount func(string, string, string, string) error + Mounted func(string) (bool, error) + Unmount func(string) error + type OSDriverManager interface + Drivers func() <-chan OSDriver + type RexRay struct + Config *config.Config + OS OSDriverManager + Storage StorageDriverManager + Volume VolumeDriverManager + func New(conf *config.Config) *RexRay + func (r *RexRay) DriverNames() <-chan string + func (r *RexRay) InitDrivers() error + type Snapshot struct + Description string + Name string + SnapshotID string + StartTime string + Status string + VolumeID string + VolumeSize string + type StorageDriver interface + AttachVolume func(runAsync bool, volumeID, instanceID string) ([]*VolumeAttachment, error) + CopySnapshot func(runAsync bool, ...) (*Snapshot, error) + CreateSnapshot func(runAsync bool, snapshotName, volumeID, description string) ([]*Snapshot, error) + CreateVolume func(runAsync bool, volumeName, volumeID, snapshotID, volumeType string, ...) (*Volume, error) + DetachVolume func(runAsync bool, volumeID string, instanceID string) error + GetDeviceNextAvailable func() (string, error) + GetInstance func() (*Instance, error) + GetSnapshot func(volumeID, snapshotID, snapshotName string) ([]*Snapshot, error) + GetVolume func(volumeID, volumeName string) ([]*Volume, error) + GetVolumeAttach func(volumeID, instanceID string) ([]*VolumeAttachment, error) + GetVolumeMapping func() ([]*BlockDevice, error) + RemoveSnapshot func(snapshotID string) error + RemoveVolume func(volumeID string) error + type StorageDriverManager interface + Drivers func() <-chan StorageDriver + GetInstances func() ([]*Instance, error) + type Volume struct + Attachments []*VolumeAttachment + AvailabilityZone string + IOPS int64 + Name string + NetworkName string + Size string + Status string + VolumeID string + VolumeType string + type VolumeAttachment struct + DeviceName string + InstanceID string + Status string + VolumeID string + type VolumeDriver interface + Attach func(volumeName, instanceID string) (string, error) + Create func(volumeName string, opts VolumeOpts) error + Detach func(volumeName, instanceID string) error + Mount func(volumeName, volumeID string, overwriteFs bool, newFsType string) (string, error) + NetworkName func(volumeName, instanceID string) (string, error) + Path func(volumeName, volumeID string) (string, error) + Remove func(volumeName string) error + Unmount func(volumeName, volumeID string) error + type VolumeDriverManager interface + DetachAll func(instanceID string) error + Drivers func() <-chan VolumeDriver + RemoveAll func() error + UnmountAll func() error + type VolumeOpts map[string]string v0.2.1-rc1 Oct 20, 2015