Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flags ¶
type Flags struct {
Version ctl.VersionFlag `name:"version" help:"Print version information and quit" hidden:""`
Cfg string `short:"c" help:"load configuration file"`
CfgOverride string `help:"configuration override file"`
CPUProfile string `help:"enable CPU profiling, specify a file to store CPU profiling info"`
DryRun bool `help:"verify config etc, and do not start the service"`
ClientCert string `help:"Path to the client TLS cert file"`
ClientKey string `help:"Path to the client TLS key file"`
ClientTrustedCA string `help:"Path to the client TLS trusted CA file"`
Env string `help:"Override environment value"`
ServiceName string `help:"Override service value"`
Region string `help:"Override region value"`
Cluster string `help:"Override cluster value"`
WaitOnExit int `help:"Number of seconds to wait on exist"`
}
Flags defines common flags
type LogConfig ¶
type LogConfig struct {
LogStd bool `help:"output logs to stderr"`
LogDebug bool `help:"output logs with debug info, such as filename:line"`
LogPretty bool `help:"output logs in pretty format, with colors"`
LogJSON bool `help:"output logs in JSON format"`
LogDir string `help:"Store logs in folder"`
}
LogConfig defines config for logs
Click to show internal directories.
Click to hide internal directories.