problemdaemon

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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