restore

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = kingpin.Command("restore", "")

	HostCmd    = Cmd.Command("host", "Restore this host from backup")
	ClusterCmd = Cmd.Command("cluster", "Download from multiple hosts' backups")
)
View Source
var ChangesDetected = errors.New("file changes detected")
View Source
var NoBackupsFound = errors.New("no backups found for host")
View Source
var NoSnapshotsFound = errors.New("no snapshots found for host")

Functions

func RestoreCluster

func RestoreCluster(ctx context.Context) error

func RestoreHost

func RestoreHost(ctx context.Context) error

Types

type FileErrors

type FileErrors map[string]error

func (FileErrors) Error

func (e FileErrors) Error() string

func (FileErrors) MarshalLogObject

func (e FileErrors) MarshalLogObject(enc zapcore.ObjectEncoder) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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