backup

package
v0.0.0-...-c2ba8ab 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Backup(clusterName string) (string, error)
	Restore(key string) error
}

Runner implementations can execute backups and store them in storage backends.

func NewConfiguredRunner

func NewConfiguredRunner(execConfig *v1.Executor, execCreds map[string]string, storeConfig *v1.Storage, storeCreds map[string]string) (Runner, error)

NewConfiguredRunner creates a runner configured with the Backup/Restore target executor and storage configurations.

Directories

Path Synopsis
s3

Jump to

Keyboard shortcuts

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