yaml

package
v0.0.2-alpha.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmptyYamlDocument

func IsEmptyYamlDocument(document []byte) bool

IsEmptyYamlDocument checks if a yaml document is empty (contains only comments)

func SplitDocuments

func SplitDocuments(yamlBytes []byte) (documents [][]byte, error error)

SplitDocuments reads the YAML bytes per-document, unmarshals the TypeMeta information from each document and returns a map between the GroupVersionKind of the document and the document bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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