k8s.io/apimachinery/pkg/util/sets.Set.Len
third-partyThe 5216th most-called third-party method by production calls. Called 185 times across 31 modules; 113 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/util/sets → Docs on pkg.go.dev ↗
- prod calls
- 113
- non-test, non-generated
- all calls
- 185
- total callsites
- modules
- 31
- distinct callers
- in loop
- 19%
- of prod calls
- in tests
- 39%
- 72 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 →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Set.Len from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 66 58%
- Cilium 15 13%
- Kyverno 4 4%
- Velero 4 4%
- Tailscale 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 185, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop - in loop
- in loop
-
kubernetes/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
in loop - in loop
- in loop
-
tailscale.com @v1.102.2
cmd/k8s-operator/egress-services.go:334
in loop -
k8s.io/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
internal/ingress/controller/store/objectref.go:71
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Set.Len most in this snapshot.
- github.com/rook/rook4223%
- k8s.io/apimachinery2514%
- github.com/cilium/cilium1910%
- k8s.io/apiserver137%
- github.com/kyverno/kyverno116%
siblings
More from k8s.io/apimachinery/pkg/util/sets
The other most-called members in this package. See all →