plugin

package
v0.0.0-...-ec72bf4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

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