commands

package
v0.0.0-...-efab62b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoFailureTextInJson string = "{'message':'No Failures'}"
	NoFailureTextInText        = "No Failures"
)

Variables

This section is empty.

Functions

func CommandNotFound

func CommandNotFound(c *cli.Context, command string)

func GetCommand

func GetCommand(commandName string) cli.Command

func GetCommands

func GetCommands() []cli.Command

func GetFlagsForCommand

func GetFlagsForCommand(commandName string) []cli.Flag

func OsSignalShutdown

func OsSignalShutdown(doBeforeShutdown func(), shutdownDelay int)

Types

type AsrtHandler

type AsrtHandler struct {
	// contains filtered or unexported fields
}

func NewAsrtHandler

func NewAsrtHandler(cfg *config.Configuration, executor *execution.Executor) *AsrtHandler

func (*AsrtHandler) Close

func (asrt *AsrtHandler) Close() error

func (*AsrtHandler) ServeHTTP

func (asrt *AsrtHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*AsrtHandler) Write

func (asrt *AsrtHandler) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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