agent

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 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) InitLogger added in v1.3.0

func (a *Agent) InitLogger(cn *pbm.PBM)

func (*Agent) PITR added in v1.3.0

func (a *Agent) PITR()

func (*Agent) PITRestore added in v1.3.0

func (a *Agent) PITRestore(r pbm.PITRestoreCmd)

PITRestore starts the point-in-time recovery

func (*Agent) Restore

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

Restore starts the restore

func (*Agent) ResyncStorage added in v1.3.0

func (a *Agent) ResyncStorage()

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