k8s.io/kubernetes/cmd/kubeadm/app/util/errors.New
third-partyThe 2589th most-called third-party function by production calls. Called 340 times across 2 modules; 232 of those run outside tests and generated code.
All of k8s.io/kubernetes/cmd/kubeadm/app/util/errors → Docs on pkg.go.dev ↗
- prod calls
- 232
- non-test, non-generated
- all calls
- 340
- total callsites
- modules
- 2
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 32%
- 108 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 function50%A direct call to an exported package function, resolved by type.
- Package function (by syntax)50%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into New from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 232 100%
where it's called
Callsites in the wild
12 representative callsites of 340, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/cmd/upgrade/diff.go:175
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/util/errors/errors_test.go:65
in loop test -
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/cmd/version_test.go:86
in loop test - in loop test
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/util/version_test.go:176
in loop test - in loop test
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/util/version_test.go:180
in loop test - in loop test
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/util/version_test.go:320
in loop test - in loop test
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go:954
in loop test
top callers
The modules that reach for it
The modules that call New most in this snapshot.
- k8s.io/kubernetes17150%
- github.com/kubernetes/kubernetes16950%
siblings
More from k8s.io/kubernetes/cmd/kubeadm/app/util/errors
The other most-called functions in this package. See all →