sigs.k8s.io/structured-merge-diff/v6/fieldpath.NewSet
third-partyThe 2288th most-called third-party function by production calls. Called 354 times across 10 modules; 267 of those run outside tests and generated code.
All of sigs.k8s.io/structured-merge-diff/v6/fieldpath → Docs on pkg.go.dev ↗
- prod calls
- 267
- non-test, non-generated
- all calls
- 354
- total callsites
- modules
- 10
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 25%
- 87 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 function13%A direct call to an exported package function, resolved by type.
- Package function (by syntax)87%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewSet from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 267 100%
where it's called
Callsites in the wild
12 representative callsites of 354, prioritizing in-loop and non-test usage. We link to source, never display it.
-
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go:79 ↗
in loop -
k8s.io/apimachinery @v0.36.3
pkg/util/managedfields/scalehandler.go:79
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go:129 ↗
in loop -
k8s.io/apimachinery @v0.36.3
pkg/util/managedfields/scalehandler.go:129
in loop -
k8s.io/apimachinery @v0.36.3
pkg/util/managedfields/scalehandler.go:153
in loop -
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go:153 ↗
in loop -
structured-merge-diff/v6 @v6.4.2
merge/update.go:289
in loop -
structured-merge-diff/v6 @v6.4.2
fieldpath/fromvalue.go:25
-
k8s.io/apimachinery @v0.36.3
pkg/util/managedfields/internal/fields.go:28
-
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields.go:28 ↗
-
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/stripmeta.go:39 ↗
-
k8s.io/apimachinery @v0.36.3
pkg/util/managedfields/internal/stripmeta.go:39
top callers
The modules that reach for it
The modules that call NewSet most in this snapshot.
- github.com/kubernetes/kubernetes15945%
- k8s.io/kubernetes10229%
- sigs.k8s.io/structured-merge-diff/v64513%
- k8s.io/apimachinery216%
- github.com/kubernetes/client-go82%
siblings
More from sigs.k8s.io/structured-merge-diff/v6/fieldpath
The other most-called functions in this package. See all →