k8s.io/apimachinery/pkg/api/resource.MustParse
third-partyThe 352nd most-called third-party function by production calls. Called 16,801 times across 47 modules; 2,464 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/api/resource → Docs on pkg.go.dev ↗
- prod calls
- 2,464
- non-test, non-generated
- all calls
- 16,801
- total callsites
- modules
- 47
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 85%
- 14,337 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,682 68%
- KubeVirt 291 12%
- Velero 5 <1%
- containerd 4 <1%
- Longhorn 4 <1%
where it's called
Callsites in the wild
12 representative callsites of 16,801, prioritizing in-loop and non-test usage. We link to source, never display it.
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop -
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
test/e2e/common/node/pod_level_resources_resize.go:55
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/hotplug/pci-ports.go:53
in loop - in loop
- in loop
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/storage/storage.go:672
in loop - in loop
top callers
The modules that reach for it
The modules that call MustParse most in this snapshot.
- github.com/kubernetes/kubernetes7,37944%
- k8s.io/kubernetes5,44732%
- 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 →