k8s.io/apimachinery/pkg/util/version.MajorMinor
third-partyThe 5034th most-called third-party function by production calls. Called 416 times across 7 modules; 117 of those run outside tests and generated code.
All of k8s.io/apimachinery/pkg/util/version → Docs on pkg.go.dev ↗
- prod calls
- 117
- non-test, non-generated
- all calls
- 416
- total callsites
- modules
- 7
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 72%
- 299 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 function48%A direct call to an exported package function, resolved by type.
- Package function (by syntax)52%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 111 95%
- Kyverno 6 5%
where it's called
Callsites in the wild
12 representative callsites of 416, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/apiserver @v0.36.3
pkg/server/storage/resource_encoding_config.go:180
in loop - in loop
-
k8s.io/component-base @v0.36.3
featuregate/feature_gate.go:534
in loop -
k8s.io/apiserver @v0.36.3
pkg/cel/environment/base_test.go:47
in loop test - in loop test
-
kubernetes/kubernetes @master
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go:856 ↗
in loop test -
k8s.io/apiextensions-apiserver @v0.36.3
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/kubernetes21251%
- k8s.io/apiserver13332%
- k8s.io/apiextensions-apiserver379%
- k8s.io/component-base205%
- github.com/kyverno/kyverno61%
siblings
More from k8s.io/apimachinery/pkg/util/version
The other most-called functions in this package. See all →