Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSupervisorChecker ¶
NewSupervisorChecker create a Supervisor checker
Types ¶
type SupervisorChecker ¶
type SupervisorChecker struct {
// contains filtered or unexported fields
}
SupervisorChecker is a plugin to check status code of command
func (SupervisorChecker) Name ¶
func (c SupervisorChecker) Name() string
Name returns the name of the checker
func (SupervisorChecker) Periodicity ¶ added in v1.3.0
func (c SupervisorChecker) Periodicity() *time.Duration
Periodicity returns the delay between two checks
func (*SupervisorChecker) Run ¶
func (c *SupervisorChecker) Run(ctx context.Context) plugins.Result
Run is performing the checker protocol
func (SupervisorChecker) ServiceName ¶
func (c SupervisorChecker) ServiceName() string
ServiceName returns the name of the NSCA service associated to the checker
Click to show internal directories.
Click to hide internal directories.