Help us shape the future of Go! Take the 2026 Go Developer Survey

restore

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Stdout io.Writer
	Stderr 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