Documentation ¶
Index ¶
- Constants
- func Init(params volume.DriverParams) (volume.VolumeDriver, error)
- type Driver
- func (d *Driver) Alerts(volumeID api.VolumeID) (api.Alerts, error)
- func (d *Driver) Attach(volumeID api.VolumeID) (path string, err error)
- func (d *Driver) Create(locator api.VolumeLocator, opt *api.CreateOptions, spec *api.VolumeSpec) (api.VolumeID, error)
- func (d *Driver) Delete(volumeID api.VolumeID) error
- func (d *Driver) Detach(volumeID api.VolumeID) error
- func (d *Driver) Enumerate(locator api.VolumeLocator, labels api.Labels) ([]api.Volume, error)
- func (d *Driver) Format(volumeID api.VolumeID) error
- func (d *Driver) Inspect(volumeIDs []api.VolumeID) ([]api.Volume, error)
- func (d *Driver) Mount(volumeID api.VolumeID, mountpath string) error
- func (d *Driver) Shutdown()
- func (d *Driver) SnapEnumerate(volIds []api.VolumeID, labels api.Labels) ([]api.Volume, error)
- func (d *Driver) Snapshot(volumeID api.VolumeID, readonly bool, locator api.VolumeLocator) (api.VolumeID, error)
- func (d *Driver) Stats(volumeID api.VolumeID) (api.Stats, error)
- func (v *Driver) Status() [][2]string
- func (d *Driver) String() string
- func (d *Driver) Type() volume.DriverType
- func (d *Driver) Unmount(volumeID api.VolumeID, mountpath string) error
- type Metadata
Constants ¶
View Source
const ( Name = "aws" Type = volume.Block AwsDBKey = "OpenStorageAWSKey" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(params volume.DriverParams) (volume.VolumeDriver, error)
Init aws volume driver metadata.
Types ¶
type Driver ¶
type Driver struct { *volume.DefaultEnumerator *device.SingleLetter // contains filtered or unexported fields }
Driver implements VolumeDriver interface
func (*Driver) Create ¶
func (d *Driver) Create( locator api.VolumeLocator, opt *api.CreateOptions, spec *api.VolumeSpec) (api.VolumeID, error)
Create aws volume from spec.
func (*Driver) SnapEnumerate ¶
Click to show internal directories.
Click to hide internal directories.