manifest

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(reader io.Reader) ([]*unstructured.Unstructured, error)

Decode reads a stream of YAML documents from the given reader and returns them as a slice of Unstructured objects.

func Read

func Read(fsys fs.FS, pathname string) ([]*unstructured.Unstructured, error)

Read reads YAML files into Unstructured objects from the provided files system. It reads a single file or all files in a directory (and its subdirectories) based on the provided pathname.

Types

This section is empty.

Jump to

Keyboard shortcuts

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