kubernetes/vendor/sigs.k8s.io/kustomize/api/filters/replacement/replacement.go

type Filter

// Filter replaces values of targets with values from sources
func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) {}

func getReplacement(nodes []*yaml.RNode, r *types.Replacement) (*yaml.RNode, error) {}

// selectSourceNode finds the node that matches the selector, returning
// an error if multiple or none are found
func selectSourceNode(nodes []*yaml.RNode, selector *types.SourceSelector) (*yaml.RNode, error) {}

func getRefinedValue(options *types.FieldOptions, rn *yaml.RNode) (*yaml.RNode, error) {}

func applyReplacement(nodes []*yaml.RNode, value *yaml.RNode, targetSelectors []*types.TargetSelector) ([]*yaml.RNode, error) {}

func selectByAnnoAndLabel(n *yaml.RNode, t *types.TargetSelector) (bool, error) {}

func matchesAnnoAndLabelSelector(n *yaml.RNode, selector *types.Selector) (bool, error) {}

func containsRejectId(rejects []*types.Selector, ids []resid.ResId) bool {}

func copyValueToTarget(target *yaml.RNode, value *yaml.RNode, selector *types.TargetSelector) error {}

func fieldRetrievalError(fieldPath string, isCreate bool) string {}

func setFieldValue(options *types.FieldOptions, targetField *yaml.RNode, value *yaml.RNode) error {}