kubernetes/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/resaccumulator.go

type ResAccumulator

func MakeEmptyAccumulator() *ResAccumulator {}

// ResMap returns a copy of the internal resMap.
func (ra *ResAccumulator) ResMap() resmap.ResMap {}

// Vars returns a copy of underlying vars.
func (ra *ResAccumulator) Vars() []types.Var {}

func (ra *ResAccumulator) AppendAll(resources resmap.ResMap) error {}

func (ra *ResAccumulator) AbsorbAll(resources resmap.ResMap) error {}

func (ra *ResAccumulator) MergeConfig(
	tConfig *builtinconfig.TransformerConfig) (err error) {}

func (ra *ResAccumulator) GetTransformerConfig() *builtinconfig.TransformerConfig {}

// MergeVars accumulates vars into ResAccumulator.
// A Var is a tuple of name, object reference and field reference.
// This func takes a list of vars from the current kustomization file and
// annotates the accumulated resources with the names of the vars that match
// those resources.  E.g. if there's a var named "sam" that wants to get
// its data from a ConfigMap named "james", and the resource list contains a
// ConfigMap named "james", then that ConfigMap will be annotated with the
// var name "sam".  Later this annotation is used to find the data for "sam"
// by digging into a particular fieldpath of "james".
func (ra *ResAccumulator) MergeVars(incoming []types.Var) error {}

func (ra *ResAccumulator) MergeAccumulator(other *ResAccumulator) (err error) {}

func (ra *ResAccumulator) findVarValueFromResources(v types.Var) (interface{}

// makeVarReplacementMap returns a map of Var names to
// their final values. The values are strings intended
// for substitution wherever the $(var.Name) occurs.
func (ra *ResAccumulator) makeVarReplacementMap() (map[string]interface{}

func (ra *ResAccumulator) Transform(t resmap.Transformer) error {}

func (ra *ResAccumulator) ResolveVars() error {}

func (ra *ResAccumulator) FixBackReferences() (err error) {}

// Intersection drops the resources which "other" does not have.
func (ra *ResAccumulator) Intersection(other resmap.ResMap) error {}