Documentation ¶
Overview ¶
Package cmd represents the discovery client command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct { Globals Alerts alertCmd `cmd:"" help:"Show alerts." aliases:"a"` Targets targetCmd `cmd:"" help:"Show targets." aliases:"t"` Server serverCmd `cmd:"" help:"Start a web server running the Prometheus React UI."` }
CLI is the client command.
type Globals ¶
type Globals struct { PrometheusURLs []string `short:"u" name:"prometheus-urls" help:"A comma separated list of prometheus base URLs." default:"http://localhost:9090"` ShowConfig king.ShowConfig `help:"Show used config files"` Version king.VersionFlag `help:"Show version information"` Debug bool `short:"d" help:"Show debug output." ` Timeout time.Duration `help:"The http request timeout." default:"20s"` }
Globals are the global client flags.
Click to show internal directories.
Click to hide internal directories.