Skip to content
callcount

k8s.io/apimachinery/pkg/api/resource.MustParse

third-party

The 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.

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.

MustParse · 12 of 16,801 callsites

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 →