Documentation
¶
Index ¶
- Constants
- func Exists(path string) bool
- func Walk(fs billy.Filesystem, root string, walkFn filepath.WalkFunc) error
- type Artifact
- type File
- type Files
- type InputMode
- type Root
- type Template
- func (t Template) GetArgsValues(args blueprint.Args, inputMode InputMode, valuesData *values.ValuesData, ...) (values.ArgsValues, error)
- func (t *Template) GetRoots(blueprint *blueprint.Blueprint) []string
- func (t *Template) LoadBlueprint() (*blueprint.Blueprint, error)
- func (t *Template) Render(inputMode InputMode, valuesData *values.ValuesData, ...) (Files, error)
Constants ¶
View Source
const ArtifactFilename = ".rendr.yaml"
Variables ¶
This section is empty.
Functions ¶
func Walk ¶
Walk walks the file tree rooted at root, calling fn for each file or directory in the tree, including root. All errors that arise visiting files and directories are filtered by fn: see the WalkFunc documentation for details.
The files are walked in lexical order, which makes the output deterministic but requires Walk to read an entire directory into memory before proceeding to walk that directory. Walk does not follow symbolic links.
Function adapted from https://github.com/golang/go/blob/3b770f2ccb1fa6fecc22ea822a19447b10b70c5c/src/path/filepath/path.go#L500
Types ¶
type Artifact ¶ added in v0.0.34
type Artifact struct {
BuildCommand string `yaml:"build"`
}
func GetArtifact ¶ added in v0.0.34
Click to show internal directories.
Click to hide internal directories.