k8s.io/apimachinery/pkg/labels.NewSelector
third-partyThe 7696th most-called third-party function by production calls. Called 92 times across 26 modules; 77 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/labels → Docs on pkg.go.dev ↗
- prod calls
- 77
- non-test, non-generated
- all calls
- 92
- total callsites
- modules
- 26
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 16%
- 15 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 function60%A direct call to an exported package function, resolved by type.
- Package function (by syntax)40%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewSelector from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 21 27%
- Argo 9 12%
- Istio 6 8%
- Cilium 3 4%
- KubeVirt 3 4%
where it's called
Callsites in the wild
12 representative callsites of 92, prioritizing in-loop and non-test usage. We link to source, never display it.
-
istio/istio @v0.0.0-20260804075250-35fae141dc60
in loop -
istio.io/istio @v0.0.0-20260804075250-35fae141dc60
operator/pkg/uninstall/prune.go:132
in loop -
-
-
-
-
-
dapr/dapr @v1.18.2
-
-
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
-
top callers
The modules that reach for it
The modules that call NewSelector most in this snapshot.
- github.com/cert-manager/cert-manager1718%
- github.com/kubernetes/kubernetes1213%
- k8s.io/kubernetes1011%
- github.com/argoproj/argo-workflows44%
- github.com/argoproj/argo-cd/v333%
siblings
More from k8s.io/apimachinery/pkg/labels
The other most-called functions in this package. See all →