Documentation
¶
Index ¶
- type Runner
- func (r *Runner) Run(ctx context.Context, target string) error
- func (r *Runner) RunAll(ctx context.Context) error
- func (r *Runner) RunPhase(ctx context.Context, phaseName string, phase config.Phase) error
- func (r *Runner) RunPipeline(ctx context.Context, name string, pipeline config.Pipeline) error
- func (r *Runner) RunTool(ctx context.Context, toolName string) error
- type RunnerOptions
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) RunPipeline ¶
type RunnerOptions ¶
type RunnerOptions struct {
Backend executor.BackendType
Parallel bool
Concurrency int
}
RunnerOptions configures runner behavior
Click to show internal directories.
Click to hide internal directories.