restore

package
v1.5.1-0...-4d21ab9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package restore is the restore subcommand for the influxd command, for restoring from a backup.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// The logger passed to the ticker during execution.
	StdoutLogger *log.Logger
	StderrLogger *log.Logger

	// Standard input/output, overridden for testing.
	Stderr io.Writer
	Stdout io.Writer

	// TODO: when the new meta stuff is done this should not be exported or be gone
	MetaConfig *meta.Config
	// contains filtered or unexported fields
}

Command represents the program execution for "influxd restore".

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of Command with default settings.

func (*Command) Run

func (cmd *Command) Run(args ...string) error

Run executes the program.

Jump to

Keyboard shortcuts

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