sync

package
v1.10.0-RC2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 NewTask

func NewTask(controller string) *Task

func (*Task) AddQuorumReplica

func (t *Task) AddQuorumReplica(replicaAddress string, _ *replica.Server) error

func (*Task) AddReplica

func (t *Task) AddReplica(replicaAddress string, s *replica.Server) error

func (*Task) CloneReplica

func (t *Task) CloneReplica(s *replica.Server, url string, address string, cloneIP string, snapName string) error

func (*Task) CreateBackup

func (t *Task) CreateBackup(snapshot, dest string) (string, error)

func (*Task) DeleteSnapshot

func (t *Task) DeleteSnapshot(snapshot string) error

func (*Task) InspectBackup

func (t *Task) InspectBackup(backup string) (string, error)

func (*Task) ListBackup

func (t *Task) ListBackup(destURL string) (string, error)

func (*Task) RestoreBackup

func (t *Task) RestoreBackup(backup string) error

func (*Task) RmBackup

func (t *Task) RmBackup(backup string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL