Documentation ¶
Overview ¶
Package runtime holds code for actually running commands vs. preparing and constructing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPlanFilename ¶ added in v0.4.1
GetPlanFilename returns the filename (not the path) of the generated tf plan given a workspace and maybe a project's config.
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)
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.