agent

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 16 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, dumpConns int) (err error)

func (*Agent) Backup

func (a *Agent) Backup(cmd pbm.BackupCmd, opid pbm.OPID, ep pbm.Epoch)

Backup starts backup

func (*Agent) CancelBackup added in v1.2.0

func (a *Agent) CancelBackup()

CancelBackup cancels current backup

func (*Agent) Delete added in v1.3.2

func (a *Agent) Delete(d pbm.DeleteBackupCmd, opid pbm.OPID, ep pbm.Epoch)

Delete deletes backup(s) from the store and cleans up its metadata

func (*Agent) DeletePITR added in v1.6.0

func (a *Agent) DeletePITR(d pbm.DeletePITRCmd, opid pbm.OPID, ep pbm.Epoch)

DeletePITR deletes PITR chunks from the store and cleans up its metadata

func (*Agent) HbIsRun added in v1.7.0

func (a *Agent) HbIsRun() bool

func (*Agent) HbPause added in v1.7.0

func (a *Agent) HbPause()

func (*Agent) HbResume added in v1.7.0

func (a *Agent) HbResume()

func (*Agent) HbStatus added in v1.4.0

func (a *Agent) HbStatus()

func (*Agent) InitLogger added in v1.3.0

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

func (*Agent) OplogReplay added in v1.7.0

func (a *Agent) OplogReplay(r pbm.ReplayCmd, opID pbm.OPID, ep pbm.Epoch)

OplogReplay replays oplog between r.Start and r.End timestamps (wall time in UTC tz)

func (*Agent) PITR added in v1.3.0

func (a *Agent) PITR()

PITR starts PITR processing routine

func (*Agent) PITRestore added in v1.3.0

func (a *Agent) PITRestore(r pbm.PITRestoreCmd, opid pbm.OPID, ep pbm.Epoch)

PITRestore starts the point-in-time recovery

func (*Agent) Restore

func (a *Agent) Restore(r pbm.RestoreCmd, opid pbm.OPID, ep pbm.Epoch)

func (*Agent) Resync added in v1.7.0

func (a *Agent) Resync(opid pbm.OPID, ep pbm.Epoch)

Resync 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