k8s.io/apimachinery/pkg/util/version.MajorMinor
third-partyThe 4918th most-called third-party function by production calls. Called 448 times across 7 modules; 127 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of k8s.io/apimachinery/pkg/util/version → Docs on pkg.go.dev ↗
- prod calls
- 127
- non-test, non-generated
- all calls
- 448
- total callsites
- modules
- 7
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 72%
- 321 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 function49%A direct call to an exported package function, resolved by type.
- Package function (by syntax)51%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 116 91%
- Kyverno 11 9%
where it's called
Callsites in the wild
12 representative callsites of 448, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/component-base @v0.37.3
featuregate/feature_gate.go:534
in loop - in loop
- in loop test
-
k8s.io/apiserver @v0.37.3
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.3
pkg/apiserver/schema/cel/compilation_test.go:856
in loop test - in loop test
-
-
-
-
-
top callers
The modules that reach for it
The modules that call MajorMinor most in this snapshot.
- github.com/kubernetes/kubernetes22650%
- k8s.io/apiserver14031%
- k8s.io/apiextensions-apiserver378%
- k8s.io/component-base204%
- github.com/kyverno/kyverno194%
siblings
More from k8s.io/apimachinery/pkg/util/version
The other most-called functions in this package. See all →