Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin(name string, plugin HealthPlugin)
RegisterPlugin registers a plugin
Types ¶
type HealthPlugin ¶
type HealthPlugin interface {
Check() error
}
HealthPlugin implemented by each plugin
func GlobalHealthManager ¶
func GlobalHealthManager() HealthPlugin
GlobalHealthManager verifies plugins for health of the plugins
Click to show internal directories.
Click to hide internal directories.