plugin

package
v0.0.0-...-030b38e Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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