Documentation
¶
Overview ¶
Package checks contains the Check handlers and helper functions for calling processes and returning results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checks ¶
type Checks []*Info
Checks slice of checks with NextRun method for kicking clients to update.
type Info ¶
type Info struct { Name string Type api.CheckType Hostname string Period time.Duration NextRun time.Time Command string Timeout time.Duration Workdir string }
Info is the details of a check.
func GetCheckFromViper ¶
GetCheckFromViper returns a check with the specified name from the config file.
Click to show internal directories.
Click to hide internal directories.