Versions in this module Expand all Collapse all v0 v0.26.18 Sep 7, 2018 Changes in this version + func Compile(plan *escape_plan.EscapePlan, reg inventory.Inventory, ...) (*core.ReleaseMetadata, error) + func RelativeScriptOutsideOfBaseDirError(script string) error + func ScriptDoesNotExistError(script, str string) error + func ScriptFieldError(field string, err error) error + type CompilerContext struct + DependencyFetcher func(*core.DependencyConfig) (*core.ReleaseMetadata, error) + Inventory inventory.Inventory + Logger api.Logger + Metadata *core.ReleaseMetadata + Plan *escape_plan.EscapePlan + ReleaseQuery func(*core.DependencyConfig) (*core.ReleaseMetadata, error) + VariableCtx map[string]*core.ReleaseMetadata + func NewCompilerContext(plan *escape_plan.EscapePlan, inventory inventory.Inventory) *CompilerContext + func NewCompilerContextWithLogger(plan *escape_plan.EscapePlan, inventory inventory.Inventory, logger api.Logger) *CompilerContext + func (c *CompilerContext) AddFileDigest(path string) error + func (c *CompilerContext) RunScriptForCompileStep(scriptStr string) (string, error) + type CompilerFunc func(*CompilerContext) error