mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
More merge tests, clearer method names.
This commit is contained in:
@@ -126,10 +126,11 @@ func (rmF *Factory) FromSecretArgs(
|
||||
return rmF.FromResource(res), nil
|
||||
}
|
||||
|
||||
// Merge creates a new ResMap by merging incoming resources.
|
||||
// ConflatePatches creates a new ResMap containing a merger of the
|
||||
// incoming patches.
|
||||
// Error if conflict found.
|
||||
func (rmF *Factory) Merge(incoming []*resource.Resource) (ResMap, error) {
|
||||
return (&merginator{cdf: rmF.cdf}).Merge(incoming)
|
||||
func (rmF *Factory) ConflatePatches(patches []*resource.Resource) (ResMap, error) {
|
||||
return (&merginator{cdf: rmF.cdf}).ConflatePatches(patches)
|
||||
}
|
||||
|
||||
func newResMapFromResourceSlice(
|
||||
|
||||
Reference in New Issue
Block a user