Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultNamespace = "default"
DefaultNamespace const contains the name of the default Kubernetes namespace.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigOptions ¶
type ConfigOptions struct {
ConfigFile string `validate:"filepath" name:"config"`
LogLevel string `validate:"logrus" name:"loglevel" default:"info"`
LogFormat string `validate:"format" name:"logformat" default:"text"`
}
ConfigOptions represent the persistent configuration flags of event-generator.
func NewConfigOptions ¶
func NewConfigOptions() *ConfigOptions
NewConfigOptions creates an instance of ConfigOptions.
func (*ConfigOptions) Validate ¶
func (co *ConfigOptions) Validate() []error
Validate validates the ConfigOptions fields.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
alertretriever
Package alertretriever defines a Config object that allows to store the configuration for an HTTP alert retriever and build it.
|
Package alertretriever defines a Config object that allows to store the configuration for an HTTP alert retriever and build it. |
|
Package suite provides the implementation of the "suite" command.
|
Package suite provides the implementation of the "suite" command. |
|
config
Package config provides the implementation of Config, the configuration shared among suite-related commands.
|
Package config provides the implementation of Config, the configuration shared among suite-related commands. |
|
explain
Package explain provides the implementation of the "explain" command.
|
Package explain provides the implementation of the "explain" command. |
|
run
Package run provides the implementation of the "run" command.
|
Package run provides the implementation of the "run" command. |
|
test
Package test provides the implementation of the "test" command.
|
Package test provides the implementation of the "test" command. |
Click to show internal directories.
Click to hide internal directories.