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 }
Click to show internal directories.
Click to hide internal directories.