type PatchTransformerPlugin … func (p *PatchTransformerPlugin) Config(h *resmap.PluginHelpers, c []byte) error { … } func (p *PatchTransformerPlugin) Transform(m resmap.ResMap) error { … } // transformStrategicMerge applies each loaded strategic merge patch // to the resource in the ResMap that matches the identifier of the patch. // If only one patch is specified, the Target can be used instead. func (p *PatchTransformerPlugin) transformStrategicMerge(m resmap.ResMap) error { … } // transformJson6902 applies json6902 Patch to all the resources in the ResMap that match Target. func (p *PatchTransformerPlugin) transformJson6902(m resmap.ResMap) error { … } // jsonPatchFromBytes loads a Json 6902 patch from a bytes input func jsonPatchFromBytes(in []byte) (jsonpatch.Patch, error) { … } func NewPatchTransformerPlugin() resmap.TransformerPlugin { … }