export - ActiveState ActiveGo 1.8

Package export

import "github.com/influxdata/influxdb/cmd/influx_inspect/export"

Overview ▾

Package export exports TSM files into InfluxDB line protocol format.

type Command

Command represents the program execution for "influx_inspect export".

type Command struct {
    // Standard input/output, overridden for testing.
    Stderr io.Writer
    Stdout io.Writer
    // contains filtered or unexported fields

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of Command.

func (*Command) Run

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

Run executes the command.