Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProblemDetector ¶
type ProblemDetector interface { Run() error RegisterHTTPHandlers() }
ProblemDetector collects statuses from all problem daemons and update the node condition and send node event.
func NewProblemDetector ¶
func NewProblemDetector(monitors map[string]types.Monitor, client problemclient.Client) ProblemDetector
NewProblemDetector creates the problem detector. Currently we just directly passed in the problem daemons, but in the future we may want to let the problem daemons register themselves.
Click to show internal directories.
Click to hide internal directories.