healthz

package
v0.0.0-...-608945b Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogHealthz = healthz.LogHealthz

LogHealthz returns true if logging is not blocked

View Source
var NamedCheck = healthz.NamedCheck

NamedCheck returns a healthz checker for the given name and function.

View Source
var NewInformerSyncHealthz = healthz.NewInformerSyncHealthz

NewInformerSyncHealthz returns a new HealthChecker that will pass only if all informers in the given cacheSyncWaiter sync.

View Source
var PingHealthz = healthz.PingHealthz

PingHealthz returns true automatically when checked

Functions

func InstallHandler

func InstallHandler(s server, checks ...healthz.HealthChecker)

InstallHandler registers handlers for health checking on the path "/healthz" to server.

func NewCacheSyncHealthz

func NewCacheSyncHealthz(cacheSyncWaiter cacheSyncWaiter) healthz.HealthChecker

NewCacheSyncHealthz returns a new HealthChecker that will pass on cache sync.

func NewLoadModuleHealthz

func NewLoadModuleHealthz(modules []string) healthz.HealthChecker

func WithEnable

func WithEnable(enable *bool, checker healthz.HealthChecker) healthz.HealthChecker

WithEnable returns checker when enable is nill or true, else returns nopHealthz.

Types

This section is empty.

Jump to

Keyboard shortcuts

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