kubernetes/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective.go

type smpDirective

const smpUnknown

const smpReplace

const smpDelete

const smpMerge

const strategicMergePatchDirectiveKey

// Examine patch for a strategic merge patch directive.
// If found, return it, and remove the directive from the patch.
func determineSmpDirective(patch *yaml.RNode) (smpDirective, error) {}

func determineSequenceNodePatchStrategy(patch *yaml.RNode) (smpDirective, error) {}

func determineMappingNodePatchStrategy(patch *yaml.RNode) (smpDirective, error) {}

func elideMappingPatchDirective(patch *yaml.RNode) error {}

func elideSequencePatchDirective(patch *yaml.RNode, value string) error {}