k8s.io/cli-runtime/pkg/resource.NewHelper
third-partyThe 7742nd most-called third-party function by production calls. Called 78 times across 6 modules; 78 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (77 → 78)
All of k8s.io/cli-runtime/pkg/resource → Docs on pkg.go.dev ↗
- prod calls
- 78
- non-test, non-generated
- all calls
- 78
- total callsites
- modules
- 6
- distinct callers
- in loop
- 28%
- of prod calls
- in tests
- 0%
- 0 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 function5%A direct call to an exported package function, resolved by type.
- Package function (by syntax)95%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewHelper from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 60 77%
- Helm 16 21%
where it's called
Callsites in the wild
12 representative callsites of 78, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
k8s.io/kubectl @v0.37.0
pkg/cmd/rollout/rollout_pause.go:191
in loop - in loop
- in loop
- in loop
-
k8s.io/kubectl @v0.37.0
pkg/cmd/rollout/rollout_restart.go:195
in loop -
k8s.io/kubectl @v0.37.0
pkg/cmd/rollout/rollout_resume.go:195
in loop -
k8s.io/kubectl @v0.37.0
pkg/cmd/apply/apply_set_last_applied.go:207
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:207 ↗
in loop -
k8s.io/kubectl @v0.37.0
pkg/cmd/set/set_serviceaccount.go:210
in loop - in loop
top callers
The modules that reach for it
The modules that call NewHelper most in this snapshot.
- github.com/kubernetes/kubernetes2836%
- k8s.io/kubectl2836%
- helm.sh/helm/v41215%
- github.com/helm/helm45%
- k8s.io/cli-runtime45%