yaml

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(resources [][]byte) []byte

Join joins YAML resources into a single YAML document. It does not validate individual resources.

func Serialize

func Serialize[T any](objs ...T) ([][]byte, error)

Serialize serializes objects into YAML documents.

func SplitDocuments added in v0.17.3

func SplitDocuments(r io.Reader) ([][]byte, error)

SplitDocuments function splits content into individual document parts represented as byte slices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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