problemdetector

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL