exec

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand added in v1.0.2

func GetCommand() *cobra.Command

Types

type Dependencies

type Dependencies struct {
	Server server.Interface

	// SeriesGeneratorFilter wraps g with a SeriesGenerator that
	// returns a subset of keys from g
	SeriesGeneratorFilter SeriesGeneratorFilter
}

type Generator

type Generator struct {
	Concurrency int
	BuildTSI    bool
	// contains filtered or unexported fields
}

func (*Generator) Run

func (g *Generator) Run(ctx context.Context, database, shardPath string, groups []meta.ShardGroupInfo, gens []gen.SeriesGenerator) (err error)

type Options added in v1.0.2

type Options struct {
	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
	// contains filtered or unexported fields
}

Options represents the program execution for "store query".

func NewOptions added in v1.0.2

func NewOptions(deps Dependencies) *Options

NewOptions returns a new instance of Options.

type SeriesGeneratorFilter

type SeriesGeneratorFilter func(sgi meta.ShardGroupInfo, g gen.SeriesGenerator) gen.SeriesGenerator

Jump to

Keyboard shortcuts

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