k8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel
third-partyThe 4504th most-called third-party function by production calls. Called 187 times across 26 modules; 133 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (131 → 133)
All of k8s.io/apimachinery/pkg/util/wait → Docs on pkg.go.dev ↗
- prod calls
- 133
- non-test, non-generated
- all calls
- 187
- total callsites
- modules
- 26
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 29%
- 54 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into PollUntilContextCancel from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 80 60%
- Velero 12 9%
- Longhorn 8 6%
- Helm 2 2%
- Istio 2 2%
where it's called
Callsites in the wild
12 representative callsites of 187, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
k8s.io/minikube @v1.39.0
pkg/minikube/bootstrapper/bsutil/kverify/pod_ready.go:73
in loop -
k8s.io/kubernetes @v1.37.0
test/e2e/storage/csimock/csi_storage_capacity.go:224
in loop - in loop
-
k8s.io/kubernetes @v1.37.0
pkg/controller/validatingadmissionpolicystatus/controller_test.go:119
in loop test -
kubernetes/kubernetes @master
pkg/controller/validatingadmissionpolicystatus/controller_test.go:120 ↗
in loop test -
kubernetes/kubernetes @master
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go:266 ↗
in loop test -
k8s.io/apiextensions-apiserver @v0.37.0
test/integration/ratcheting_test.go:270
in loop test -
k8s.io/kubernetes @v1.37.0
pkg/kubelet/util/manager/watch_based_manager_test.go:306
in loop test - in loop test
- in loop test
top callers
The modules that reach for it
The modules that call PollUntilContextCancel most in this snapshot.
- github.com/kubernetes/kubernetes6032%
- k8s.io/kubernetes3820%
- k8s.io/apiserver137%
- github.com/velero-io/velero126%
- github.com/vmware-tanzu/velero126%
siblings
More from k8s.io/apimachinery/pkg/util/wait
The other most-called functions in this package. See all →