healthcheck

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck interface {
	PluginHealthCheck(ctx context.Context, gClient pluginpb.PluginClient, plugin config.Plugin, dispatcher []dp.Dispatcher) (tp.AliveStatus, error)
	VATZHealthCheck(schedule []string, dispatcher []dp.Dispatcher) error
	PluginStatus(ctx context.Context) []tp.PluginStatus
}

HealthCheck provides interfaces to check health.

func GetHealthChecker

func GetHealthChecker() HealthCheck

GetHealthChecker creates instance of HealchChecker

Jump to

Keyboard shortcuts

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