gen

package
v0.0.0-...-96f1409 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Main

type Main struct {
	Seed           int64  `help:"Random seed for generating data. -1 will use current nanosecond."`
	GenConcurrency int    `help:"Number of goroutines generating data."`
	Num            uint64 `help:"Number of records to generate. 0 means infinity."`
	Framer         pdk.DashField
	PilosaHosts    []string `help:"Comma separated list of Pilosa hosts and ports."`
	Index          string   `help:"Pilosa index."`
	BatchSize      uint     `help:"Batch size for Pilosa imports (latency/throughput tradeoff)."`
	SubjectPath    []string `help:"Path to value in each record that should be mapped to column ID. Blank gets a sequential ID."`
	Proxy          string   `help:"Bind to this address to proxy and translate requests to Pilosa"`
}

Main holds the options for generating fake data and ingesting it to Pilosa.

func NewMain

func NewMain() *Main

NewMain returns a new Main.

func (*Main) Run

func (m *Main) Run() error

Run begins generating data and ingesting it to Pilosa.

Jump to

Keyboard shortcuts

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