add replacement transformer

This commit is contained in:
Natasha Sarkar
2021-04-14 16:08:50 -07:00
parent 0df531e7c6
commit 038bc7713b
14 changed files with 916 additions and 3 deletions

View File

@@ -57,6 +57,10 @@ func (r *Resource) AsRNode() *kyaml.RNode {
return r.node.Copy()
}
func (r *Resource) Node() *kyaml.RNode {
return r.node
}
func (r *Resource) ResetPrimaryData(incoming *Resource) {
r.node = incoming.node.Copy()
}