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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.