Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Version bool `short:"V" long:"version" description:"Display version."`
Loglevel string `` /* 144-byte string literal not displayed */
Manpage bool `short:"m" long:"manpage" description:"Output manpage."`
JSON bool `short:"j" long:"json" description:"Log as JSON (to stderr)." env:"UPKICK_JSON_OUTPUT"`
Warn bool `short:"w" long:"warn-only" description:"Only warn, do not kick out-of-date containers." env:"UPKICK_WARN_ONLY"`
HostnameFromRancher bool `` /* 132-byte string literal not displayed */
Docker struct {
Endpoint string `` /* 127-byte string literal not displayed */
} `group:"Docker Options"`
Metrics struct {
PushgatewayURL string `short:"g" long:"gateway-url" description:"The prometheus push gateway URL to use." env:"PUSHGATEWAY_URL"`
} `group:"Metrics Options"`
}
Config stores the handler's configuration and UI interface parameters
func LoadConfig ¶
LoadConfig loads the config from flags & environment
Click to show internal directories.
Click to hide internal directories.