restore

package
v1.2.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: MIT Imports: 16 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 {
	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