- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CreateReadyCheck (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go
return nil, nil } }, } client.KV = dummyKV return client, nil } stop := make(chan struct{}) defer close(stop) healthcheck, err := CreateReadyCheck(tc.cfg, stop) if err != nil { t.Fatal(err) } // Wait for healthcheck to establish connection <-ready got := healthcheck() if !errors.Is(got, tc.want) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 15:58:10 UTC 2022 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
if err != nil { return err } c.AddHealthChecks(healthz.NamedCheck("etcd", func(r *http.Request) error { return healthCheck() })) readyCheck, err := storagefactory.CreateReadyCheck(s.StorageConfig, c.DrainedNotify()) if err != nil { return err } c.AddReadyzChecks(healthz.NamedCheck("etcd-readiness", func(r *http.Request) error { return readyCheck() })) return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0)