k8s.io/apimachinery/pkg/api/resource.MustParse
third-partyThe 349th most-called third-party function by production calls. Called 17,532 times across 46 modules; 2,506 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (2,525 → 2,506)
All of k8s.io/apimachinery/pkg/api/resource → Docs on pkg.go.dev ↗
- prod calls
- 2,506
- non-test, non-generated
- all calls
- 17,532
- total callsites
- modules
- 46
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 86%
- 15,026 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 function10%A direct call to an exported package function, resolved by type.
- Package function (by syntax)90%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into MustParse from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 1,720 69%
- KubeVirt 291 12%
- Longhorn 6 <1%
- Velero 5 <1%
- containerd 4 <1%
where it's called
Callsites in the wild
12 representative callsites of 17,532, prioritizing in-loop and non-test usage. We link to source, never display it.
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop -
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop - in loop
- in loop
- in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/hotplug/pci-ports.go:53
in loop - in loop
-
k8s.io/kubernetes @v1.37.0
test/e2e/common/node/pod_level_resources_resize.go:56
in loop -
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/storage/storage.go:672
in loop -
k8s.io/kubernetes @v1.37.0
test/integration/dra/compatibility_groups.go:58
in loop
top callers
The modules that reach for it
The modules that call MustParse most in this snapshot.
- github.com/kubernetes/kubernetes7,41142%
- k8s.io/kubernetes6,08235%
- github.com/kubevirt/kubevirt9966%
- kubevirt.io/kubevirt9966%
- github.com/tektoncd/pipeline6644%
siblings
More from k8s.io/apimachinery/pkg/api/resource
The other most-called functions in this package. See all →