MCPcopy Create free account
hub / github.com/crossplane-contrib/function-patch-and-transform / PatchInterface

Interface PatchInterface

patches.go:35–42  ·  view source on GitHub ↗

nolint:gochecknoglobals // need to find a better way A PatchInterface is a patch that can be applied between resources.

Source from the content-addressed store, hash-verified

33
34// A PatchInterface is a patch that can be applied between resources.
35type PatchInterface interface { //nolint:interfacebloat // legacy interface
36 GetType() v1beta1.PatchType
37 GetFromFieldPath() string
38 GetToFieldPath() string
39 GetCombine() *v1beta1.Combine
40 GetTransforms() []v1beta1.Transform
41 GetPolicy() *v1beta1.PatchPolicy
42}
43
44// PatchWithPatchSetName is a PatchInterface that has a PatchSetName field.
45type PatchWithPatchSetName interface {

Callers 22

RunFunctionMethod · 0.65
ApplyEnvironmentPatchFunction · 0.65
ApplyComposedPatchFunction · 0.65
ToComposedResourceFunction · 0.65
ComposedTemplatesFunction · 0.65
ValidateEnvironmentFunction · 0.65
ValidatePatchFunction · 0.65
ApplyFromFieldPathPatchFunction · 0.65
ValidatePatchFunction · 0.65
ApplyFromFieldPathPatchFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected