package compact

import "github.com/influxdata/influxdb/cmd/influx_tools/compact"

Index

Types

type Command

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

Command represents the program execution for "influx-tools compact".

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of the export Command.

func (*Command) Run

func (cmd *Command) Run(args []string) (err error)

Run executes the export command using the specified args.

Source Files

command.go

Version
v1.12.1 (latest)
Published
Jun 24, 2025
Platform
linux/amd64
Imports
21 packages
Last checked
1 day ago

Tools for package owners.