Documentation
¶
Index ¶
Constants ¶
View Source
const ( OPT_MOUNT_POINT = "MountPoint" OPT_SIZE = "Size" OPT_VOLUME_UUID = "VolumeUUID" OPT_VOLUME_NAME = "VolumeName" OPT_VOLUME_CREATED_TIME = "VolumeCreatedAt" OPT_SNAPSHOT_NAME = "SnapshotName" OPT_SNAPSHOT_CREATED_TIME = "SnapshotCreatedAt" OPT_FILESYSTEM = "FileSystem" OPT_BACKUP_URL = "BackupURL" OPT_REFERENCE_ONLY = "ReferenceOnly" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackupOperations ¶
type BackupOperations interface {
Name() string
CreateBackup(snapshotID, volumeID, destURL string, opts map[string]string) (string, error)
DeleteBackup(backupURL string) error
GetBackupInfo(backupURL string) (map[string]string, error)
ListBackup(destURL string, opts map[string]string) (map[string]map[string]string, error)
}
type ConvoyDriver ¶
type ConvoyDriver interface {
Name() string
Info() (map[string]string, error)
VolumeOps() (VolumeOperations, error)
SnapshotOps() (SnapshotOperations, error)
BackupOps() (BackupOperations, error)
}
type SnapshotOperations ¶
type VolumeOperations ¶
type VolumeOperations interface {
Name() string
CreateVolume(id string, opts map[string]string) error
DeleteVolume(id string, opts map[string]string) error
MountVolume(id string, opts map[string]string) (string, error)
UmountVolume(id string) error
MountPoint(id string) (string, error)
GetVolumeInfo(id string) (map[string]string, error)
ListVolume(opts map[string]string) (map[string]map[string]string, error)
}
Click to show internal directories.
Click to hide internal directories.