pipelines

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Healthcheck

type Healthcheck interface {
	Start(ctx context.Context, rid, body string) error
	Success(ctx context.Context, rid, body string) error
	Fail(ctx context.Context, rid, body string) error
}

type Runner

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

Runner executes pipelines sequentially, collecting errors with errors.Join.

func NewRunner

func NewRunner(jobRunner *jobs.Runner, hooksRunner *hooks.Runner) *Runner

NewRunner creates a pipeline Runner.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, pipelineList []entity.Pipeline, healthcheck bool) error

Run executes pipelines and joins per-pipeline errors.

Jump to

Keyboard shortcuts

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