Documentation
¶
Index ¶
Constants ¶
const ( DefaultStagesPrefix = "deploy" WhenManual = "manual" )
const DefaultBinary = "terraform"
DefaultBinary is the terraform binary name used when execution.Binary is empty. Exported so wizard / tests can refer to a single source of truth.
Variables ¶
This section is empty.
Functions ¶
func BuildPipelineIR ¶ added in v0.10.0
func BuildPipelineIR( cfg *configpkg.Config, execCfg execution.Config, contributions []*pipeline.Contribution, depGraph *graph.DependencyGraph, allModules, targetModules []*discovery.Module, ) (*pipeline.IR, error)
BuildPipelineIR builds the canonical pipeline IR for the GitLab generator from raw inputs. Runtime requirements come from execution config and provider-specific requirements come from GitLab settings; the actual IR construction goes through pipelinetest.BuildIR so the gitlab and github helpers stay in lockstep.
func PipelineRequirements ¶ added in v0.10.3
func PipelineRequirements(cfg *configpkg.Config) pipeline.BuildRequirements
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator transforms TerraCi IR into GitLab CI domain models. The IR is bound at construction time — the IR carries every module + contribution the pipeline should render.
func NewGenerator ¶
NewGenerator creates a new GitLab pipeline generator bound to the supplied IR.