Documentation ¶
Overview ¶
Package subcommands provides all the alternative top-level functions that run one-off commands that don't run the main event loop.
Index ¶
- func GetPingHandler(params Params) error
- func MaintenanceHandler(params Params) error
- func PutEnvHandler(params Params) error
- func PutMetricsHandler(params Params) error
- func ReloadHandler(params Params) error
- func RenderHandler(params Params) error
- func VersionHandler(params Params) error
- type Handler
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPingHandler ¶
GetPingHandler fires a ping check through the HTTPClient.
func MaintenanceHandler ¶
MaintenanceHandler fires either an enable or disable SetMaintenance request through the HTTPClient.
func PutEnvHandler ¶
PutEnvHandler fires a PutEnv request through the HTTPClient.
func PutMetricsHandler ¶
PutMetricsHandler fires a PutMetric request through the HTTPClient.
func ReloadHandler ¶
ReloadHandler fires a Reload request through the HTTPClient.
func RenderHandler ¶
RenderHandler asks the configuration package to render the configuration to the path provided
func VersionHandler ¶
VersionHandler prints the version info only
Types ¶
Click to show internal directories.
Click to hide internal directories.