Documentation
¶
Index ¶
- Variables
- type Task
- func (t *Task) AddQuorumReplica(replicaAddress string, _ *replica.Server) error
- func (t *Task) AddReplica(replicaAddress string, s *replica.Server) error
- func (t *Task) CloneReplica(s *replica.Server, url string, address string, cloneIP string, snapName string) error
- func (t *Task) CreateBackup(snapshot, dest string) (string, error)
- func (t *Task) DeleteSnapshot(snapshot string) error
- func (t *Task) InspectBackup(backup string) (string, error)
- func (t *Task) ListBackup(destURL string) (string, error)
- func (t *Task) RestoreBackup(backup string) error
- func (t *Task) RmBackup(backup string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RetryCounts = 3
)
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) AddQuorumReplica ¶
func (*Task) CloneReplica ¶
func (*Task) DeleteSnapshot ¶
func (*Task) RestoreBackup ¶
Click to show internal directories.
Click to hide internal directories.