Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YamlManipulator ¶
type YamlManipulator struct { }
YamlManipulator can modify Yaml documents. Don't create it directly! Use constructor NewYamlManipulator instead!
func NewYamlManipulator ¶
func NewYamlManipulator() *YamlManipulator
NewYamlManipulator creates YamlManipulator structure.
func (YamlManipulator) ApplyToLeafs ¶
func (manipulator YamlManipulator) ApplyToLeafs(callback func([]byte) ([]byte, error), data interface{}) (interface{}, error)
ApplyToLeafs go through the tree of document and applies some callback to leafs
Click to show internal directories.
Click to hide internal directories.