Versions in this module Expand all Collapse all v0 v0.26.18 Sep 7, 2018 Changes in this version + func NewEmptyEnvEnvironmentBuilder() *environmentBuilder + func NewEnvironmentBuilder() *environmentBuilder + func NewEnvironmentBuilderWithEnv(env []string) *environmentBuilder + func ReportFailure(ctx *RunnerContext, stage string, err error, statusCode state.StatusCode) error + func RunOrReportFailure(ctx *RunnerContext, stage string, runner Runner, ...) error + type Runner interface + Run func(*RunnerContext) error + func NewCompoundRunner(runners ...Runner) Runner + func NewDependencyRunner(logKey, parentStage string, depRunner func() Runner, ...) Runner + func NewMainStepRunner(stage, field string, startCode, errorCode state.StatusCode) Runner + func NewPostScriptStepRunner(stage, field string, startCode, errorCode state.StatusCode) Runner + func NewPreScriptStepRunner(stage, field string, startCode, errorCode state.StatusCode) Runner + func NewProviderActivationRunner(stage string) Runner + func NewProviderDeactivationRunner(stage string) Runner + func NewRunner(r func(ctx *RunnerContext) error) Runner + func NewScriptRunner(stage, field string, successCode, errorCode state.StatusCode) Runner + func NewStatusCodeRunner(stage string, status state.StatusCode) Runner + type RunnerContext struct + func NewRunnerContext(context Context) (*RunnerContext, error) + func (r *RunnerContext) GetBuildInputs() map[string]interface{} + func (r *RunnerContext) GetBuildOutputs() map[string]interface{} + func (r *RunnerContext) GetDeploymentState() *state.DeploymentState + func (r *RunnerContext) GetEnvironmentState() *state.EnvironmentState + func (r *RunnerContext) GetPath() *paths.Path + func (r *RunnerContext) GetReleaseMetadata() *core.ReleaseMetadata + func (r *RunnerContext) GetRootDeploymentName() string + func (r *RunnerContext) GetScriptEnvironment(stage string) (*script.ScriptEnvironment, error) + func (r *RunnerContext) GetScriptEnvironmentForPreDependencyStep(stage string) (*script.ScriptEnvironment, error) + func (r *RunnerContext) Logger() api.Logger + func (r *RunnerContext) NewContextForDependency(stage, deploymentName string, metadata *core.ReleaseMetadata, ...) (*RunnerContext, error) + func (r *RunnerContext) NewContextForProvider(depl *state.DeploymentState, metadata *core.ReleaseMetadata) (*RunnerContext, error) + func (r *RunnerContext) SetBuildInputs(inputs map[string]interface{}) + func (r *RunnerContext) SetBuildOutputs(outputs map[string]interface{}) + func (r *RunnerContext) SetDeploymentState(d *state.DeploymentState) + func (r *RunnerContext) SetReleaseMetadata(m *core.ReleaseMetadata) + type ScriptStep struct + Commit func(ctx *RunnerContext, d *state.DeploymentState, stage string) error + Inputs func(ctx *RunnerContext, stage string) (map[string]interface{}, error) + LoadOutputs bool + ModifiesOutputVariables bool + Script *core.ExecStage + ShouldBeDeployed bool + ShouldDownload bool + Stage string + Step string + func NewScriptStep(ctx *RunnerContext, stage, step string, shouldBeDeployed bool) *ScriptStep + func (b *ScriptStep) Run(ctx *RunnerContext) error