k8s.io/kubernetes/pkg/apis/core/validation.ValidateNonnegativeField
third-partyThe 3845th most-called third-party function by production calls. Called 155 times across 2 modules; 155 of those run outside tests and generated code.
All of k8s.io/kubernetes/pkg/apis/core/validation → Docs on pkg.go.dev ↗
- prod calls
- 155
- non-test, non-generated
- all calls
- 155
- total callsites
- modules
- 2
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 0%
- 0 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 function54%A direct call to an exported package function, resolved by type.
- Package function (by syntax)46%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into ValidateNonnegativeField from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 155 100%
where it's called
Callsites in the wild
12 representative callsites of 155, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
k8s.io/kubernetes @v1.36.3
pkg/apis/autoscaling/validation/validation.go:45
-
-
-
k8s.io/kubernetes @v1.36.3
pkg/apis/policy/validation/validation.go:88
-
-
k8s.io/kubernetes @v1.36.3
pkg/apis/policy/validation/validation.go:89
-
-
k8s.io/kubernetes @v1.36.3
pkg/apis/policy/validation/validation.go:90
-
-
k8s.io/kubernetes @v1.36.3
pkg/apis/policy/validation/validation.go:91
-
k8s.io/kubernetes @v1.36.3
pkg/apis/autoscaling/validation/validation.go:141
top callers
The modules that reach for it
The modules that call ValidateNonnegativeField most in this snapshot.
- k8s.io/kubernetes8354%
- github.com/kubernetes/kubernetes7246%
siblings
More from k8s.io/kubernetes/pkg/apis/core/validation
The other most-called functions in this package. See all →