healthcheck

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultAddOptions contains configuration for the health check controller.
	DefaultAddOptions = healthcheck.DefaultAddArgs{
		HealthCheckConfig: extensionsconfig.HealthCheckConfig{SyncPeriod: metav1.Duration{Duration: defaultSyncPeriod}},
	}
)

Functions

func AddToManager

func AddToManager(ctx context.Context, mgr manager.Manager) error

AddToManager adds a controller with the default Options.

func RegisterHealthChecks

func RegisterHealthChecks(ctx context.Context, mgr manager.Manager, opts healthcheck.DefaultAddArgs) error

RegisterHealthChecks registers health checks for each extension resource HealthChecks are grouped by extension (e.g worker), extension.type (e.g aws) and Health Check Type (e.g SystemComponentsHealthy)

Types

type BackendHealthChecker

type BackendHealthChecker struct {
	// contains filtered or unexported fields
}

func (*BackendHealthChecker) Check

func (*BackendHealthChecker) DeepCopy

func (*BackendHealthChecker) InjectSeedClient added in v0.1.2

func (h *BackendHealthChecker) InjectSeedClient(seedClient client.Client)

InjectSeedClient injects the seed client

func (*BackendHealthChecker) SetLoggerSuffix

func (h *BackendHealthChecker) SetLoggerSuffix(provider, extension string)

Jump to

Keyboard shortcuts

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