k8s.io/apimachinery/pkg/util/version.MajorMinor
third-partyThe 4901st most-called third-party function by production calls. Called 429 times across 7 modules; 121 of those run outside tests and generated code.
No change in production calls since 2026-W37.
All of k8s.io/apimachinery/pkg/util/version → Docs on pkg.go.dev ↗
- prod calls
- 121
- non-test, non-generated
- all calls
- 429
- total callsites
- modules
- 7
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 72%
- 308 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 function50%A direct call to an exported package function, resolved by type.
- Package function (by syntax)50%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into MajorMinor from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 112 93%
- Kyverno 9 7%
where it's called
Callsites in the wild
12 representative callsites of 429, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
k8s.io/component-base @v0.37.0
featuregate/feature_gate.go:534
in loop - in loop test
-
k8s.io/apiserver @v0.37.0
pkg/cel/environment/base_test.go:47
in loop test -
kubernetes/kubernetes @master
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go:852 ↗
in loop test -
k8s.io/apiextensions-apiserver @v0.37.0
pkg/apiserver/schema/cel/compilation_test.go:856
in loop test -
-
-
-
-
-
top callers
The modules that reach for it
The modules that call MajorMinor most in this snapshot.
- github.com/kubernetes/kubernetes21249%
- k8s.io/apiserver14033%
- k8s.io/apiextensions-apiserver379%
- k8s.io/component-base205%
- github.com/kyverno/kyverno143%
siblings
More from k8s.io/apimachinery/pkg/util/version
The other most-called functions in this package. See all →