Skip to content
callcount

kubevirt.io/kubevirt/pkg/apimachinery/patch.PatchSet.GeneratePayload

third-party

The 3468th most-called third-party method by production calls. Called 240 times across 1 modules; 183 of those run outside tests and generated code.

No change in production calls since 2026-W48.

All of kubevirt.io/kubevirt/pkg/apimachinery/patch → Docs on pkg.go.dev ↗

prod calls
183
non-test, non-generated
all calls
240
total callsites
modules
1
distinct callers
in loop
7%
of prod calls
in tests
24%
57 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 →

  • Concrete method100%A method on a value whose type is known exactly.

where it's called

Callsites in the wild

12 representative callsites of 240, prioritizing in-loop and non-test usage. We link to source, never display it.

PatchSet.GeneratePayload · 12 of 240 callsites
  • kubevirt.io/kubevirt @v1.10.0

    tests/infrastructure/virt-handler.go:84

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/validatingadmissionpolicy/noderestrictions.go:123

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/validatingadmissionpolicy/noderestrictions.go:166

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/validatingadmissionpolicy/noderestrictions.go:224

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/integration/framework/framework.go:235

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/hotplug/memory.go:312

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    pkg/virt-operator/resource/apply/delete.go:537

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    pkg/virt-operator/resource/apply/delete.go:638

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    pkg/virt-operator/resource/apply/delete.go:678

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    pkg/storage/snapshot/restore.go:846

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/operator/operator.go:963

    in loop
  • kubevirt.io/kubevirt @v1.10.0

    tests/operator/operator.go:971

    in loop

top callers

The modules that reach for it

The modules that call PatchSet.GeneratePayload most in this snapshot.

  • kubevirt.io/kubevirt240100%

siblings

More from kubevirt.io/kubevirt/pkg/apimachinery/patch

The other most-called members in this package. See all →