package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Functions

InstallHandler registers handlers for health checking on the path "/healthz" to Muxer.
InstallLivezHandler registers handlers for liveness checking on the path "/livez" to Muxer.
InstallPathHandler registers handlers for health checking on a specific path to Muxer.
InstallPathHandlerWithHealthyFunc is like InstallPathHandler, but calls firstTimeHealthy exactly once when the handler succeeds for the first time.
InstallReadyzHandler registers handlers for health checking on the path "/readyz" to Muxer.
InstallReadyzHandlerWithHealthyFunc is like InstallReadyzHandler, but in addition call firstTimeReady the first time /readyz succeeds.
NamedCheck returns a healthz checker for the given name and function.
NamedDeadlineCheck returns a healthz checker for the given name, deadline and function.
NamedTimeoutCheck returns a healthz checker for the given name , timeout and function.
NewInformerSyncHealthz returns a new HealthChecker that will pass only if all informers in the given cacheSyncWaiter sync.

# Variables

LogHealthCheck returns true if logging is not blocked.
PingHealthzCheck returns true automatically when checked.

# Interfaces

HealthChecker is a named healthz checker.
Muxer is an interface describing the methods InstallHandler requires.