restore

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDumps

func LoadDumps(context *Context)

Types

type Context

type Context struct {
	Kubeconfig  string         `yaml:"kubeconfig"`
	Source      DatabaseAccess `yaml:"source,omitempty"`
	Destination DatabaseAccess `yaml:"destination,omitempty"`
	Namespace   string         `yaml:"namespace"`
	Purge       bool           `yaml:"purge"`
}

type DatabaseAccess

type DatabaseAccess struct {
	Host     string `yaml:"host"`
	Port     string `yaml:"port"`
	User     string `yaml:"user"`
	Password string `yaml:"password"`
	Path     string `yaml:"path"`
	Database string `yaml:"db"`
}

Jump to

Keyboard shortcuts

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