agent

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(pbm *pbm.PBM) *Agent

func (*Agent) AddNode

func (a *Agent) AddNode(ctx context.Context, curi string) (err error)

func (*Agent) Backup

func (a *Agent) Backup(bcp pbm.BackupCmd)

Backup starts backup

func (*Agent) CancelBackup added in v1.2.0

func (a *Agent) CancelBackup()

CancelBackup cancels current backup

func (*Agent) Restore

func (a *Agent) Restore(r pbm.RestoreCmd)

Restore starts the restore

func (*Agent) ResyncBackupList added in v1.1.0

func (a *Agent) ResyncBackupList()

ResyncBackupList uploads a backup list from the remote store

func (*Agent) Start

func (a *Agent) Start() error

Start starts listening the commands stream.

Jump to

Keyboard shortcuts

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