Documentation ¶
Index ¶
- func Fmap() template.FuncMap
- func FormatDCAStatus(data []byte) (string, error)
- func FormatHPAStatus(data []byte) (string, error)
- func FormatMetadataMapCLI(data []byte) (string, error)
- func FormatStatus(data []byte) (string, error)
- func GetAndFormatDCAStatus() ([]byte, error)
- func GetAndFormatStatus() ([]byte, error)
- func GetCheckStatus(c check.Check, cs *check.Stats) ([]byte, error)
- func GetCheckStatusJSON(c check.Check, cs *check.Stats) ([]byte, error)
- func GetDCAStatus() (map[string]interface{}, error)
- func GetStatus() (map[string]interface{}, error)
- func SetJMXStatus(s JMXStatus)
- type CLCChecks
- type CLCStats
- type JMXStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDCAStatus ¶
FormatDCAStatus takes a json bytestring and prints out the formatted statuspage
func FormatHPAStatus ¶
FormatHPAStatus takes a json bytestring and prints out the formatted statuspage
func FormatMetadataMapCLI ¶
FormatMetadataMapCLI builds the rendering in the metadataMapper template.
func FormatStatus ¶
FormatStatus takes a json bytestring and prints out the formatted statuspage
func GetAndFormatDCAStatus ¶
GetAndFormatDCAStatus gets and formats the DCA status all in one go.
func GetAndFormatStatus ¶
GetAndFormatStatus gets and formats the status all in one go
func GetCheckStatus ¶
GetCheckStatus gets the status of a single check as human-readable text
func GetCheckStatusJSON ¶
GetCheckStatusJSON gets the status of a single check as JSON
func GetDCAStatus ¶
GetDCAStatus grabs the status from expvar and puts it into a map
Types ¶
type CLCChecks ¶
CLCChecks is used to unmarshall the runner expvar payload for CLC Runner
func GetExpvarRunnerStats ¶
GetExpvarRunnerStats grabs the status of the runner from expvar and puts it into a CLCChecks struct