Documentation ¶
Overview ¶
Package runtime handles constructing an execution graph for each action based on configuration and defaults. The handlers can then execute this graph.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustConstraint ¶
func MustConstraint(constraint string) version.Constraints
MustConstraint returns a constraint. It panics on error.
Types ¶
type ApplyStepRunner ¶
type ApplyStepRunner struct {
TerraformExecutor TerraformExec
}
ApplyStepRunner runs `terraform apply`.
func (*ApplyStepRunner) Run ¶
func (a *ApplyStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) (string, error)
type InitStepRunner ¶
type InitStepRunner struct { TerraformExecutor TerraformExec DefaultTFVersion *version.Version }
InitStep runs `terraform init`.
func (*InitStepRunner) Run ¶
func (i *InitStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) (string, error)
nolint: unparam
type PlanStepRunner ¶
type PlanStepRunner struct { TerraformExecutor TerraformExec DefaultTFVersion *version.Version }
func (*PlanStepRunner) Run ¶
func (p *PlanStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) (string, error)
type PullApprovedChecker ¶
type RunStepRunner ¶
type RunStepRunner struct {
DefaultTFVersion *version.Version
}
RunStepRunner runs custom commands.
func (*RunStepRunner) Run ¶
func (r *RunStepRunner) Run(ctx models.ProjectCommandContext, command []string, path string) (string, error)
type TerraformExec ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.