generate

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

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 GitHub generator from raw inputs. Provider-specific knobs (DetailedPlan inferred from PR comment toggle) come from GitHub settings; the actual IR construction goes through pipelinetest.BuildIR so it stays aligned with the GitLab equivalent.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator transforms a pipeline IR into GitHub Actions workflow YAML. The IR is bound at construction time.

func NewGenerator

func NewGenerator(cfg *configpkg.Config, execCfg execution.Config, ir *pipeline.IR) *Generator

NewGenerator creates a new GitHub Actions pipeline generator bound to the supplied IR.

func (*Generator) DryRun

func (g *Generator) DryRun() (*pipeline.DryRunResult, error)

func (*Generator) Generate

func (g *Generator) Generate() (pipeline.GeneratedPipeline, error)

func (*Generator) IsPREnabled

func (g *Generator) IsPREnabled() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL