pipeline

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

Runner orchestrates pipeline execution

func NewRunner

func NewRunner(cfg *config.Config, exec *executor.DockerExecutor) *Runner

NewRunner creates a new pipeline runner Deprecated: Use NewRunnerWithSelector instead

func NewRunnerWithOptions

func NewRunnerWithOptions(cfg *config.Config, selector *executor.Selector, opts RunnerOptions) *Runner

NewRunnerWithOptions creates a new pipeline runner with full options

func NewRunnerWithSelector

func NewRunnerWithSelector(cfg *config.Config, selector *executor.Selector, backend executor.BackendType) *Runner

NewRunnerWithSelector creates a new pipeline runner with executor selector Deprecated: Use NewRunnerWithOptions instead

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, target string) error

Run executes a phase, tool, or pipeline

func (*Runner) RunAll

func (r *Runner) RunAll(ctx context.Context) error

RunAll executes all phases

func (*Runner) RunPhase

func (r *Runner) RunPhase(ctx context.Context, phaseName string, phase config.Phase) error

RunPhase executes all containers in a phase

func (*Runner) RunPipeline

func (r *Runner) RunPipeline(ctx context.Context, name string, pipeline config.Pipeline) error

func (*Runner) RunTool

func (r *Runner) RunTool(ctx context.Context, toolName string) error

RunTool executes a single tool

type RunnerOptions

type RunnerOptions struct {
	Backend     executor.BackendType
	Parallel    bool
	Concurrency int
}

RunnerOptions configures runner behavior

Jump to

Keyboard shortcuts

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