cmd

package
Version: v0.0.0-...-2374f08 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of this software - filled in by ldflags in Makefile.
	Version string
	// BuildTime of this software - filled in by ldflags in Makefile.
	BuildTime string
)
View Source
var FileMain *file.Main

FileMain is wrapped by NewFileCommand and only exported for testing purposes.

View Source
var GenMain *gen.Main

GenMain is wrapped by NewGenCommand and only exported for testing purposes.

View Source
var KafkaMain *kafka.Main

KafkaMain is wrapped by NewKafkaCommand and only exported for testing purposes.

View Source
var KafkaSource *kafka.Source

KafkaSource is wrapped by NewKafkaTestCommand and only exported for testing purposes.

View Source
var KafkagenMain *kafkagen.Main

KafkagenMain is wrapped by NewKafkagenCommand and only exported for testing purposes.

View Source
var S3Main *s3.Main

S3Main is wrapped by NewS3Command and only exported for testing purposes.

View Source
var SSBMain *ssb.Main

SSBMain is wrapped by NewSSBCommand. It is exported for testing purposes.

View Source
var TaxiMain *taxi.Main

TaxiMain is wrapped by NewTaxiCommand. It is exported for testing purposes.

View Source
var WeatherMain *weather.Main

WeatherMain is wrapped by NewWeatherCommand. It is exported for testing purposes.

Functions

func NewFileCommand

func NewFileCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewFileCommand returns a new cobra command wrapping FileMain.

func NewGenCommand

func NewGenCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewGenCommand returns a new cobra command wrapping GenMain.

func NewHTTPCommand

func NewHTTPCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewHTTPCommand returns a new cobra command which wraps http.Main

func NewKafkaCommand

func NewKafkaCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewKafkaCommand returns a new cobra command wrapping KafkaMain.

func NewKafkaTestCommand

func NewKafkaTestCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewKafkaTestCommand returns a new cobra command wrapping KafkaSource.

func NewKafkagenCommand

func NewKafkagenCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewKafkagenCommand returns a new cobra command wrapping KafkagenMain.

func NewRootCommand

func NewRootCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewRootCommand reads the map of subcommandFns and creates a top level cobra command with each of them as subcommands.

func NewS3Command

func NewS3Command(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewS3Command returns a new cobra command wrapping S3Main.

func NewSSBCommand

func NewSSBCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewSSBCommand wraps ssb.Main with cobra.Command for use from a CLI.

func NewTaxiCommand

func NewTaxiCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewTaxiCommand wraps taxi.Main with cobra.Command for use from a CLI.

func NewWeatherCommand

func NewWeatherCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

NewWeatherCommand wraps weather.Main with cobra.Command for use from a CLI.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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