util

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL