Documentation ¶
Index ¶
- func GetProblemDaemonHandlerOrDie(problemDaemonType types.ProblemDaemonType) types.ProblemDaemonHandler
- func GetProblemDaemonNames() []types.ProblemDaemonType
- func NewProblemDaemons(monitorConfigPaths types.ProblemDaemonConfigPathMap) []types.Monitor
- func Register(problemDaemonType types.ProblemDaemonType, handler types.ProblemDaemonHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProblemDaemonHandlerOrDie ¶
func GetProblemDaemonHandlerOrDie(problemDaemonType types.ProblemDaemonType) types.ProblemDaemonHandler
GetProblemDaemonHandlerOrDie retrieves the ProblemDaemonHandler for a specific type of problem daemon, panic if error occurs..
func GetProblemDaemonNames ¶
func GetProblemDaemonNames() []types.ProblemDaemonType
GetProblemDaemonNames retrieves all available problem daemon types.
func NewProblemDaemons ¶
func NewProblemDaemons(monitorConfigPaths types.ProblemDaemonConfigPathMap) []types.Monitor
NewProblemDaemons creates all problem daemons based on the configurations provided.
func Register ¶
func Register(problemDaemonType types.ProblemDaemonType, handler types.ProblemDaemonHandler)
Register registers a problem daemon factory method, which will be used to create the problem daemon.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.