agent

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 9 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, cn *mongo.Client, curi string)

func (*Agent) Backup

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

Backup starts backup

func (*Agent) Restore

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

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