Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigBlockTypeName = "config" StoreBlockTypeName = "store" TargetBlockTypeName = "target" )
View Source
var (
LakeFilename = "Lakefile"
)
Functions ¶
func PrintDiagnostics ¶
PrintDiagnostics is an opinionated use of hcl.NewDiagnosticTextWriter that fetches the terminal width, determines if the output should contain color and prints to stderr
func TmpLoadLakeImport ¶
Types ¶
type ImportFunction ¶
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func ParseDirectory ¶
func ParseDirectory(path string, importFunc ImportFunction) (values map[string]Value, pkg Package, diags hcl.Diagnostics)
ParseDirectory takes a directory and searches it for Lakefiles. Those files are parsed and the resulting data is returned.
type Recipe ¶
type Recipe struct { Env map[string]string `hcl:"env,optional" json:",omitempty"` Inputs []string `hcl:"inputs,optional" json:",omitempty"` IsStore bool Name string `hcl:"name,label"` Network bool `hcl:"network,optional" json:",omitempty"` Script string `hcl:"script,optional" json:",omitempty"` Shell []string `hcl:"shell,optional" json:",omitempty"` }
Click to show internal directories.
Click to hide internal directories.