Documentation ¶
Overview ¶
Package common contains common constants and variables.
Index ¶
Constants ¶
View Source
const ( CfgLogFmt = "log.format" CfgLogLevel = "log.level" CfgScenarioRegex = "scenario" CfgScenarioRegexShort = "s" CfgScenarioSkipRegex = "skip" // ScenarioParamsMask is the form of parameters passed to specific scenario. // // [1] parameter is scenario name, [2] parameter is a parameter name. This // is used when binding and parsing (recursive) parameters with viper. ScenarioParamsMask = "%[1]s.%[2]s" )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultScenarios ¶
GetDefaultScenarios returns all registered default scenarios.
This function *is not* thread-safe.
func GetScenarioNames ¶
func GetScenarioNames() (names []string)
GetScenarioNames returns the names of all scenarios. NOTE: Scenarios are sorted alphabetically.
func GetScenarios ¶
GetScenarios returns all registered scenarios.
This function *is not* thread-safe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.