Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
Check stores all the information needed to run a check locally.
func NewCheck ¶
func NewCheck(name string, checker Checker, logger *log.Entry, conf *config.Config, json bool) *Check
NewCheck creates new check to be run from the command line without having an agent.
func (*Check) RunAndServe ¶
func (c *Check) RunAndServe()
RunAndServe implements the behavior needed by the sdk for a check runner to execute a check.
Click to show internal directories.
Click to hide internal directories.