cmd

package
v0.0.0-...-adf94fa Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApp

func RunApp(Version string, args []string)

func RunClient

func RunClient(Version string, args []string) int

RunClient run client

Types

type Options

type Options struct {
	RuleURL        string            `short:"r" long:"rule" description:"rule URL"`
	Validate       bool              `short:"V" long:"validate" description:"run validation"`
	BatchField     string            `short:"b" long:"batch" description:"batch field"`
	SequenceField  string            `short:"q" long:"seq" description:"sequence field"`
	SourceURL      string            `short:"s" long:"sourceURL" description:"source URL"`
	DestinationURL string            `short:"d" long:"destinationURL" description:"destination URL"`
	TimeField      string            `short:"t" long:"timeField" description:"time field"`
	IndexingFields map[string]string `short:"f" long:"fields" description:"indexing fields, e.g.: -f x:string -f y:int"`
	Concurrency    int               `short:"c" long:"concurrency" description:"processor concurrency"`
	Compress       bool              `short:"a" long:"archive" description:"gzip output"`
	ConfigURL      string            `short:"C" long:"configURL" description:"configuration url"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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