Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultLanguage .
DefaultLanguage = "en-US"
)
Global Configurations
View Source
const (
// Empty .
Empty = "empty"
)
Other
View Source
const (
// Terminal .
Terminal = "term"
)
App Metadata
Variables ¶
View Source
var ( // ErrControllerURLInvalid . ErrControllerURLInvalid = errors.New("Invalid Controller URL") // ErrControllerURLNotFound . ErrControllerURLNotFound = errors.New("Controller URL has not been set") // ErrGremlinURLInvalid . ErrGremlinURLInvalid = errors.New("Invalid Gremlin URL") // ErrGremlinURLNotFound . ErrGremlinURLNotFound = errors.New("Gremlin URL has not been set") // ErrUnsoportedFormat . ErrUnsoportedFormat = errors.New("Unsupported format") // ErrInvalidFormat . ErrInvalidFormat = errors.New("Invalid format") // ErrFileNotFound . ErrFileNotFound = errors.New("File does not exist") // ErrInvalidFile . ErrInvalidFile = errors.New("Invalid file") // ErrNotFound . ErrNotFound = errors.New("Not found") // ErrUnknowFlag . ErrUnknowFlag = errors.New("flag provided but not defined") // ErrInvalidFlagArg . ErrInvalidFlagArg = errors.New("flag needs an argument") // ErrIncorrectAmountRange . ErrIncorrectAmountRange = errors.New("--amount must be between 0 and 100") // ErrNotRulesFoundForService . ErrNotRulesFoundForService = errors.New("No rules found for service") // ErrInvalidStateForTrafficStart . ErrInvalidStateForTrafficStart = errors.New("Invalid state for start operation") // ErrInvalidStateForTrafficStep . ErrInvalidStateForTrafficStep = errors.New("Invalid state for step operation") // ErrTopologyOrScenariosNotFound . ErrTopologyOrScenariosNotFound = errors.New("You must specify -topology and -scenarios") )
Functions ¶
This section is empty.
Types ¶
type Const ¶
type Const string
Const .
const ( // ControllerURL . ControllerURL Const = "CONTROLLER_URL" // ControllerToken . ControllerToken Const = "CONTROLLER_TOKEN" // GremlinURL . GremlinURL Const = "GREMLIN_URL" // GremlinToken . GremlinToken Const = "GREMLIN_TOKEN" // Debug . Debug Const = "DEBUG" )
Used for EnvVars or Flags
Click to show internal directories.
Click to hide internal directories.