rebase: update K8s packages to v0.32.1

Update K8s packages in go.mod to v0.32.1

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M
2025-01-16 09:41:46 +05:30
committed by mergify[bot]
parent 5aef21ea4e
commit 7eb99fc6c9
2442 changed files with 273386 additions and 47788 deletions

View File

@ -35,6 +35,8 @@ import (
"k8s.io/klog/v2"
)
const DefaultHealthzPath = "/healthz"
// HealthChecker is a named healthz checker.
type HealthChecker interface {
Name() string
@ -154,7 +156,7 @@ func NamedCheck(name string, check func(r *http.Request) error) HealthChecker {
// exactly one call to InstallHandler. Calling InstallHandler more
// than once for the same mux will result in a panic.
func InstallHandler(mux mux, checks ...HealthChecker) {
InstallPathHandler(mux, "/healthz", checks...)
InstallPathHandler(mux, DefaultHealthzPath, checks...)
}
// InstallReadyzHandler registers handlers for health checking on the path