k8s.io/apimachinery/pkg/util/intstr.FromString
third-partyThe 2013th most-called third-party function by production calls. Called 932 times across 34 modules; 328 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of k8s.io/apimachinery/pkg/util/intstr → Docs on pkg.go.dev ↗
- prod calls
- 328
- non-test, non-generated
- all calls
- 932
- total callsites
- modules
- 34
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 65%
- 604 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 function3%A direct call to an exported package function, resolved by type.
- Package function (by syntax)97%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into FromString from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 96 29%
- KubeVirt 95 29%
- Istio 2 <1%
- HashiCorp 1 <1%
- Helm 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 932, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
-
kubevirt.io/kubevirt @v1.10.0
tests/libmonitoring/prometheus.go:500
in loop -
k8s.io/kubernetes @v1.37.3
pkg/apis/core/v1/defaults.go:131
in loop - in loop
-
kubevirt.io/kubevirt @v1.10.0
tests/libmonitoring/prometheus.go:501
in loop -
k8s.io/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
internal/ingress/controller/controller.go:583
in loop -
kubernetes/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
in loop -
istio/istio @v0.0.0-20261130141945-e2c03581f6cc
in loop test -
istio.io/istio @v0.0.0-20261130141945-e2c03581f6cc
pilot/pkg/model/service_test.go:709
in loop test
top callers
The modules that reach for it
The modules that call FromString most in this snapshot.
- github.com/kubernetes/kubernetes21023%
- k8s.io/kubernetes16017%
- github.com/prometheus-operator/prometheus-operator12413%
- github.com/kubevirt/kubevirt10011%
- kubevirt.io/kubevirt10011%
siblings
More from k8s.io/apimachinery/pkg/util/intstr
The other most-called functions in this package. See all →