Remove opsys comment from generated code.

This commit is contained in:
jregan
2019-11-11 08:32:35 -08:00
parent 519dacc10f
commit 382981fb43
23 changed files with 351 additions and 129 deletions

View File

@@ -1,14 +1,12 @@
// Code generated by pluginator on PatchTransformer; DO NOT EDIT.
// pluginator {Version:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:linux GoArch:amd64}
// pluginator {unknown 1970-01-01T00:00:00Z }
package builtins
import (
"fmt"
"github.com/evanphx/json-patch"
jsonpatch "github.com/evanphx/json-patch"
"github.com/pkg/errors"
"sigs.k8s.io/kustomize/api/resmap"
"sigs.k8s.io/kustomize/api/resource"
@@ -24,7 +22,6 @@ type PatchTransformerPlugin struct {
Target *types.Selector `json:"target,omitempty" yaml:"target,omitempty"`
}
func (p *PatchTransformerPlugin) Config(
h *resmap.PluginHelpers, c []byte) (err error) {
err = yaml.Unmarshal(c, p)
@@ -144,5 +141,5 @@ func jsonPatchFromBytes(
}
func NewPatchTransformerPlugin() resmap.TransformerPlugin {
return &PatchTransformerPlugin{}
return &PatchTransformerPlugin{}
}