Documentation ¶
Overview ¶
Package merge contains libraries for merging fields from one RNode to another RNode
Index ¶
- func Merge(dest, original, update *yaml.RNode) (*yaml.RNode, error)
- func MergeStrings(dest, original, update string, infer bool) (string, error)
- type ConflictStrategy
- type Visitor
- func (m Visitor) VisitList(nodes walk.Sources, s *openapi.ResourceSchema, kind walk.ListKind) (*yaml.RNode, error)
- func (m Visitor) VisitMap(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error)
- func (m Visitor) VisitScalar(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConflictStrategy ¶
type ConflictStrategy uint
const ( // TODO: Support more strategies TakeUpdate ConflictStrategy = 1 + iota )
Click to show internal directories.
Click to hide internal directories.