k8s.io/apimachinery/pkg/util/intstr.FromInt32
third-partyThe 1841st most-called third-party function by production calls. Called 1,862 times across 25 modules; 333 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/util/intstr → Docs on pkg.go.dev ↗
- prod calls
- 333
- non-test, non-generated
- all calls
- 1,862
- total callsites
- modules
- 25
- distinct callers
- in loop
- 5%
- of prod calls
- in tests
- 82%
- 1,529 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 function2%A direct call to an exported package function, resolved by type.
- Package function (by syntax)98%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into FromInt32 from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 281 84%
- KubeVirt 11 3%
- Istio 6 2%
- Tailscale 3 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,862, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
tailscale.com @v1.102.2
cmd/k8s-operator/egress-services.go:346
in loop -
k8s.io/kubernetes @v1.36.3
pkg/apis/core/v1/defaults.go:131
in loop -
k8s.io/kubernetes @v1.36.3
pkg/apis/core/v1/defaults.go:132
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
test/soak/serve_hostnames/serve_hostnames.go:158
in loop - in loop
-
k8s.io/kubectl @v0.36.3
pkg/generate/versioned/service.go:210
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
test/e2e/apps/disruption.go:472
in loop
top callers
The modules that reach for it
The modules that call FromInt32 most in this snapshot.
- github.com/kubernetes/kubernetes83845%
- k8s.io/kubernetes66135%
- k8s.io/kubectl1206%
- k8s.io/apimachinery392%
- github.com/cloudnative-pg/cloudnative-pg292%
siblings
More from k8s.io/apimachinery/pkg/util/intstr
The other most-called functions in this package. See all →