Documentation
¶
Index ¶
Constants ¶
View Source
const ( CustomResourceDefinition = "CustomResourceDefinition" PatchesFolder = "overlays" ResourcesFolder = "resources" )
Variables ¶
This section is empty.
Functions ¶
func IsSupported ¶ added in v0.32.0
Types ¶
type Loader ¶
type Loader interface {
LoadTree(root string) (*Node, error)
// someday this should return an overlay too
LoadFile(root string, path string) ([]byte, error)
}
A Loader returns a struct representation of a filesystem directory tree
type Node ¶
type Node struct {
Children []Node `json:"children" yaml:"children"`
Name string `json:"name" yaml:"name"`
Path string `json:"path" yaml:"path"`
HasOverlay bool `json:"hasOverlay" yaml:"hasOverlay"`
IsSupported bool `json:"isSupported" yaml:"isSupported"`
IsExcluded bool `json:"isExcluded" yaml:"isExcluded"`
}
Click to show internal directories.
Click to hide internal directories.