cmd

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: GPL-3.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const (
	RestApiPathPrefix = "/api"
)

Variables

This section is empty.

Functions

func JSONMarshal added in v0.0.8

func JSONMarshal(t interface{}) ([]byte, error)

func ParseFlags added in v0.0.8

func ParseFlags() (*flag.FlagSet, []string)

Types

type CmdDataCollector

type CmdDataCollector struct {
	CmdPipelineBuilder
	DefaultOutput string
	RestApis      []RestApiPath // HttpTagger and FileOutputFilterApi included by default
	// contains filtered or unexported fields
}

func (*CmdDataCollector) BuildPipeline added in v0.0.9

func (c *CmdDataCollector) BuildPipeline() (*bitflow.SamplePipeline, error)

func (*CmdDataCollector) RegisterFlags added in v0.0.8

func (c *CmdDataCollector) RegisterFlags()

type CmdPipelineBuilder added in v0.0.8

type CmdPipelineBuilder struct {
	reg.ProcessorRegistry
	SkipInputFlags bool
	// contains filtered or unexported fields
}

func (*CmdPipelineBuilder) BuildPipeline added in v0.0.8

func (c *CmdPipelineBuilder) BuildPipeline(getScript func() (string, error)) (*bitflow.SamplePipeline, error)

func (*CmdPipelineBuilder) PrintPipeline added in v0.0.17

func (*CmdPipelineBuilder) RegisterFlags added in v0.0.8

func (c *CmdPipelineBuilder) RegisterFlags()

type FileOutputFilterApi

type FileOutputFilterApi struct {
	FileOutputEnabled bool
	// contains filtered or unexported fields
}

func (*FileOutputFilterApi) Register

func (api *FileOutputFilterApi) Register(pathPrefix string, router *mux.Router)

type RestApiPath

type RestApiPath interface {
	Register(pathPrefix string, router *mux.Router)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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