Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRunner ¶
type CheckRunner struct { Configuration *config.Configuration Result chan map[string]interface{} Checks []checks.Check // contains filtered or unexported fields }
func (*CheckRunner) Shutdown ¶
func (c *CheckRunner) Shutdown()
type CustomCheckExecutor ¶
type CustomCheckExecutor struct { Configuration *config.CustomCheck ResultOutput chan *CustomCheckResult // contains filtered or unexported fields }
func (*CustomCheckExecutor) Shutdown ¶
func (c *CustomCheckExecutor) Shutdown()
type CustomCheckHandler ¶
type CustomCheckHandler struct { // ResultOutput channel for check results // Do not close before Shutdown completes ResultOutput chan *CustomCheckResult Configuration []*config.CustomCheck // contains filtered or unexported fields }
CustomCheckHandler runs custom checks
func (*CustomCheckHandler) Shutdown ¶
func (c *CustomCheckHandler) Shutdown()
Shutdown custom check runner, waits for completion
func (*CustomCheckHandler) Start ¶
func (c *CustomCheckHandler) Start(parentCtx context.Context)
Run the custom checks in background (DO NOT RUN IN GO ROUTINE)
type CustomCheckResult ¶
type CustomCheckResult struct { Name string Result *utils.CommandResult }
type PrometheusCheckExecutor ¶
type PrometheusCheckExecutor struct { Configuration *config.PrometheusExporter ResultOutput chan *PrometheusExporterResult // contains filtered or unexported fields }
func (*PrometheusCheckExecutor) Shutdown ¶
func (c *PrometheusCheckExecutor) Shutdown()
type PrometheusCheckHandler ¶
type PrometheusCheckHandler struct { // ResultOutput channel for check results // Do not close before Shutdown completes ResultOutput chan *PrometheusExporterResult Configuration []*config.PrometheusExporter // contains filtered or unexported fields }
PrometheusCheckHandler runs proemtheus exporter
func (*PrometheusCheckHandler) Shutdown ¶
func (c *PrometheusCheckHandler) Shutdown()
Shutdown custom check runner, waits for completion
func (*PrometheusCheckHandler) Start ¶
func (c *PrometheusCheckHandler) Start(parentCtx context.Context)
Run the custom checks in background (DO NOT RUN IN GO ROUTINE)
Click to show internal directories.
Click to hide internal directories.