crds

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoCRD failure when the YAML is not a CRD
	ErrNoCRD = errors.New("not a CRD")
)

Functions

func DecodeCRD

func DecodeCRD(content []byte) (*apiextensionsv1.CustomResourceDefinition, error)

func EmbeddedCRD

EmbeddedCRD tried to load the given kind from a set of embedded CRDs

func ParseCRD

ParseCRD scans a YAML stream and returns the next CRD found. If more than one CRD is present in the stream, calling again on the same stream will return the next CRD found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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