Documentation ¶
Index ¶
- Constants
- func GetSnapshotsInfo(replicas []*types.ControllerReplicaInfo) (outputDisks map[string]types.DiskInfo, err error)
- type BackupCreateInfo
- type BackupStatusInfo
- type ReplicaRebuildStatus
- type RestoreStatus
- type SnapshotPurgeStatus
- type Task
- func (t *Task) AddReplica(replica string) error
- func (t *Task) CreateBackup(snapshot, dest string, labels []string, credential map[string]string) (*BackupCreateInfo, error)
- func (t *Task) DeleteSnapshot(snapshot string) error
- func (t *Task) FetchBackupStatus(backupID string, replicaIP string) (*BackupStatusInfo, error)
- func (t *Task) PurgeSnapshotStatus() (map[string]*SnapshotPurgeStatus, error)
- func (t *Task) PurgeSnapshots(skip bool) error
- func (t *Task) RebuildStatus() (map[string]*ReplicaRebuildStatus, error)
- func (t *Task) Reset() error
- func (t *Task) RestoreBackup(backup string, credential map[string]string) error
- func (t *Task) RestoreBackupIncrementally(backup, backupName, lastRestored string, credential map[string]string) error
- func (t *Task) RestoreStatus() (map[string]*RestoreStatus, error)
- func (t *Task) StartWithReplicas(replicas []string) error
Constants ¶
View Source
const VolumeHeadName = "volume-head"
Variables ¶
This section is empty.
Functions ¶
func GetSnapshotsInfo ¶
Types ¶
type BackupCreateInfo ¶
type BackupStatusInfo ¶
type ReplicaRebuildStatus ¶
type RestoreStatus ¶
type SnapshotPurgeStatus ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) AddReplica ¶
func (*Task) CreateBackup ¶
func (*Task) DeleteSnapshot ¶
func (*Task) FetchBackupStatus ¶
func (t *Task) FetchBackupStatus(backupID string, replicaIP string) (*BackupStatusInfo, error)
func (*Task) PurgeSnapshotStatus ¶
func (t *Task) PurgeSnapshotStatus() (map[string]*SnapshotPurgeStatus, error)
func (*Task) PurgeSnapshots ¶
func (*Task) RebuildStatus ¶
func (t *Task) RebuildStatus() (map[string]*ReplicaRebuildStatus, error)
func (*Task) RestoreBackup ¶
func (*Task) RestoreBackupIncrementally ¶
func (*Task) RestoreStatus ¶
func (t *Task) RestoreStatus() (map[string]*RestoreStatus, error)
func (*Task) StartWithReplicas ¶
Click to show internal directories.
Click to hide internal directories.