cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CONFIG_FILENAME = ".stormforger"
	ENV_PREFIX      = "stormforger"
)

Variables

View Source
var DatasourceCmd = &cobra.Command{
	Use:   "datasource",
	Short: "Work with and manage data sources",
	Long: `Work with and manage data sources.

  Currently only a rough validation is implemented.`,
	Run: func(cmd *cobra.Command, args []string) {
		log.Fatal("Cannot be run without subcommand, like validate!")
	},
}
View Source
var (
	RootCmd = &cobra.Command{
		Use:   "forge",
		Short: "Command line client to StormForger (https://stormforger.com)",
		Long: `The command line client "forge" to StormForger offers a interface
to the StormForger API and several convenience methods
to handle load and performance tests.

Happy Load Testing :)`,
	}
)

Functions

func Execute

func Execute()

func NewClient

func NewClient() *api.Client

func RunValidate

func RunValidate(cmd *cobra.Command, args []string)

Types

type CsvError

type CsvError struct {
	Row     int
	Column  int
	Message string
}

Jump to

Keyboard shortcuts

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