Versions in this module Expand all Collapse all v0 v0.6.0 Jun 14, 2019 Changes in this version + const CFG_POSTFIX + const CFG_PREFIX + const DEFAULT_FSFREEZE + const DEFAULT_VOLUME_SIZE + const DEFAULT_VOLUME_TYPE + const DRIVER_CONFIG_FILE + const DRIVER_NAME + const EBS_DEFAULT_ENCRYPTED + const EBS_DEFAULT_VOLUME_KEY + const EBS_DEFAULT_VOLUME_SIZE + const EBS_DEFAULT_VOLUME_TYPE + const EBS_FSFREEZE + const GB + const MOUNTS_DIR + const MOUNT_BINARY + const RETRY_INTERVAL + const UMOUNT_BINARY + const VOLUME_CFG_PREFIX + func Init(root string, config map[string]string) (ConvoyDriver, error) + func NewEBSService() (*ebsService, error) + type CreateEBSVolumeRequest struct + Encrypted bool + IOPS int64 + KmsKeyID string + Size int64 + SnapshotID string + Tags map[string]string + VolumeType string + type CreateSnapshotRequest struct + Description string + Tags map[string]string + VolumeID string + type Device struct + DefaultEncrypted bool + DefaultKmsKeyID string + DefaultVolumeSize int64 + DefaultVolumeType string + FsFreeze string + Root string + func (dev *Device) ConfigFile() (string, error) + type Driver struct + func (d *Driver) BackupOps() (BackupOperations, error) + func (d *Driver) CreateBackup(snapshotID, volumeID, destURL, endpointURL string, opts map[string]string) (string, error) + func (d *Driver) CreateSnapshot(req Request) error + func (d *Driver) CreateVolume(req Request) error + func (d *Driver) DeleteBackup(backupURL, endpointURL string) error + func (d *Driver) DeleteSnapshot(req Request) error + func (d *Driver) DeleteVolume(req Request) error + func (d *Driver) GetBackupInfo(backupURL, endpointURL string) (map[string]string, error) + func (d *Driver) GetSnapshotInfo(req Request) (map[string]string, error) + func (d *Driver) GetVolumeInfo(id string) (map[string]string, error) + func (d *Driver) Info() (map[string]string, error) + func (d *Driver) ListBackup(destURL, endpointURL string, opts map[string]string) (map[string]map[string]string, error) + func (d *Driver) ListSnapshot(opts map[string]string) (map[string]map[string]string, error) + func (d *Driver) ListVolume(opts map[string]string) (map[string]map[string]string, error) + func (d *Driver) MountPoint(req Request) (string, error) + func (d *Driver) MountVolume(req Request) (string, error) + func (d *Driver) Name() string + func (d *Driver) SnapshotOps() (SnapshotOperations, error) + func (d *Driver) UmountVolume(req Request) error + func (d *Driver) VolumeOps() (VolumeOperations, error) + type Snapshot struct + EBSID string + Name string + VolumeName string + type Volume struct + Device string + EBSID string + MountPoint string + Name string + Snapshots map[string]Snapshot + func (v *Volume) ConfigFile() (string, error) + func (v *Volume) GenerateDefaultMountPoint() string + func (v *Volume) GetDevice() (string, error) + func (v *Volume) GetMountOpts() []string