Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YAMLMerger ¶
type YAMLMerger struct {
// contains filtered or unexported fields
}
YAMLMerger takes a set of given YAML fragments and merges them into a single YAML document. The order in which these fragments is supplied is maintained, so subsequent fragments will override preceding ones.
func NewYAMLMerger ¶
func NewYAMLMerger() *YAMLMerger
func (*YAMLMerger) AddFragment ¶
func (m *YAMLMerger) AddFragment(fragment []byte)
func (*YAMLMerger) Merge ¶
func (m *YAMLMerger) Merge() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.