Documentation ¶
Overview ¶
Package config is the top-level configuration parsing package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderConfig ¶
RenderConfig renders the templated config in configFlag to renderFlag.
Types ¶
type Config ¶
type Config struct { Discovery discovery.Backend LogConfig *logger.Config StopTimeout int Jobs []*jobs.Config Watches []*watches.Config Telemetry *telemetry.Config Control *control.Config }
Config contains the parsed config elements
func LoadConfig ¶
LoadConfig loads, parses, and validates the configuration
func (*Config) InitLogging ¶
InitLogging configure logrus with the new log config if available
Directories ¶
Path | Synopsis |
---|---|
Package decode contains helper functions for turning mapstructure interfaces into simpler structs for configs
|
Package decode contains helper functions for turning mapstructure interfaces into simpler structs for configs |
Package logger manages the configuration of logging
|
Package logger manages the configuration of logging |
Package services contains miscellaneous configuration validation for service names and IP addresses registered with Consul
|
Package services contains miscellaneous configuration validation for service names and IP addresses registered with Consul |
Package template provides rendering for the configuration files and the extra functions for use by the golang templating engine.
|
Package template provides rendering for the configuration files and the extra functions for use by the golang templating engine. |
Package timing provides functions for parsing time configurations into time.Duration instances
|
Package timing provides functions for parsing time configurations into time.Duration instances |
Click to show internal directories.
Click to hide internal directories.