package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Functions
InstallHandler registers handlers for health checking on the path "/healthz" to mux.
InstallLivezHandler registers handlers for liveness checking on the path "/livez" to mux.
InstallPathHandler registers handlers for health checking on a specific path to mux.
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 mux.
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.
NewInformerSyncHealthz returns a new HealthChecker that will pass only if all informers in the given cacheSyncWaiter sync.
# Variables
LogHealthz returns true if logging is not blocked.
PingHealthz returns true automatically when checked.
# Interfaces
HealthChecker is a named healthz checker.