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 LogLevel string `validate:"logrus" name:"log level" default:"info"` }
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.
Click to show internal directories.
Click to hide internal directories.