Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CouldNotParseCRDFileError = µerror.Error{
Kind: "CouldNotParseCRDFileError",
Desc: "The CRD file could not be parsed.",
}
View Source
var CouldNotReadCRDFileError = µerror.Error{
Kind: "CouldNotReadCRDFileError",
Desc: "The CRD file could not be read.",
}
Functions ¶
func IsCouldNotParseCRDFile ¶
IsCouldNotParseCRDFile asserts CouldNotParseCRDFileError
func IsCouldNotReadCRDFile ¶
IsCouldNotReadCRDFile asserts CouldNotReadCRDFileError
func Read ¶
func Read(filePath string) ([]apiextensionsv1.CustomResourceDefinition, error)
Read reads a CRD YAML file and returns the Custom Resource Definition objects it represents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.