k8s.io/apimachinery/pkg/fields.Selector.String
third-partyThe 6879th most-called third-party method by production calls. Called 108 times across 23 modules; 86 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/fields → Docs on pkg.go.dev ↗
- prod calls
- 86
- non-test, non-generated
- all calls
- 108
- total callsites
- modules
- 23
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 20%
- 22 calls
- resolved
- 0%
- 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 →
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into Selector.String from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 48 56%
- Istio 12 14%
- Cilium 7 8%
- Kyverno 3 3%
where it's called
Callsites in the wild
12 representative callsites of 108, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/apimachinery @v0.36.3
pkg/fields/selector.go:243
in loop -
k8s.io/apimachinery @v0.36.3
pkg/fields/selector_test.go:154
in loop test -
k8s.io/apimachinery @v0.36.3
pkg/fields/selector_test.go:155
in loop test -
k8s.io/apimachinery @v0.36.3
pkg/fields/selector_test.go:392
in loop test -
k8s.io/apimachinery @v0.36.3
pkg/fields/selector_test.go:393
in loop test -
k8s.io/apiserver @v0.36.3
pkg/endpoints/watch_test.go:572
in loop test -
k8s.io/apiserver @v0.36.3
pkg/endpoints/apiserver_test.go:1153
in loop test -
k8s.io/apiserver @v0.36.3
pkg/endpoints/apiserver_test.go:1277
in loop test -
-
-
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
top callers
The modules that reach for it
The modules that call Selector.String most in this snapshot.
- github.com/prometheus-operator/prometheus-operator1110%
- k8s.io/apimachinery1110%
- k8s.io/kubectl1110%
- sigs.k8s.io/controller-runtime87%
- github.com/cilium/cilium76%
siblings
More from k8s.io/apimachinery/pkg/fields
The other most-called members in this package. See all →