Documentation ¶
Index ¶
- Variables
- func InstallHandler(s server, checks ...healthz.HealthChecker)
- func NewCacheSyncHealthz(cacheSyncWaiter cacheSyncWaiter) healthz.HealthChecker
- func NewLoadModuleHealthz(modules []string) healthz.HealthChecker
- func WithEnable(enable *bool, checker healthz.HealthChecker) healthz.HealthChecker
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.
Click to show internal directories.
Click to hide internal directories.