Documentation
¶
Overview ¶
Package loader provides facilities for loading CRDs and XRDs from various sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractObjects ¶
ExtractObjects returns runtime objects from the supplied reader that is assumed to have one or more YAML documents.
Types ¶
type CrossplanePackage ¶
type CrossplanePackage struct {
// contains filtered or unexported fields
}
CrossplanePackage loads schemas from crossplane packages gotten from an OCI registry.
func NewCrossplanePackage ¶
func NewCrossplanePackage(imageRef string) *CrossplanePackage
NewCrossplanePackage creates a CrossplanePackage
func (*CrossplanePackage) ExtractObjects ¶
func (p *CrossplanePackage) ExtractObjects() ([]runtime.Object, error)
Click to show internal directories.
Click to hide internal directories.