Discover Packages
github.com/replicatedhq/ship
pkg
filetree
package
Version:
v0.22.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
CustomResourceDefinition = "CustomResourceDefinition"
PatchesFolder = "overlays"
ResourcesFolder = "resources"
)
A Loader returns a struct representation
of a filesystem directory tree
NewLoader builds an aferoLoader, used with dig
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.