app

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobState added in v0.1.0

type JobState int
const (
	StatePending JobState = iota
	StateRunning
	StatePassed
	StateFailed
)

type Orchestrator added in v0.0.13

type Orchestrator struct{}

func NewOrchestrator added in v0.0.13

func NewOrchestrator() *Orchestrator

func (*Orchestrator) Orchestrate added in v0.0.13

func (o *Orchestrator) Orchestrate(configFile string, options OrchestratorOptions) error

type OrchestratorOptions added in v0.0.13

type OrchestratorOptions struct {
	JobNames       []string
	Stages         []string
	Remote         string
	Env            []string
	Parallel       bool
	ParallelStages bool
}

type RunMode added in v0.1.0

type RunMode int
const (
	ModeSequential RunMode = iota
	ModeParallel
	ModeParallelStages
)

type Runner

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

func NewRunner

func NewRunner(ctx context.Context, cfg *config.Config) *Runner

func (*Runner) Cleanup added in v0.0.13

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

func (*Runner) PrepareJobConfigs added in v0.0.16

func (r *Runner) PrepareJobConfigs(options RunnerOptions) error

func (*Runner) Run

func (r *Runner) Run() error

type RunnerOptions added in v0.0.16

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

type StatusBoard added in v0.1.0

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

StatusBoard renders a live, repainting list of job statuses to a terminal. Once Start is called it owns the cursor region it draws, so nothing else should write to the same output until Stop returns.

func NewStatusBoard added in v0.1.0

func NewStatusBoard(jobNames []string, out io.Writer) *StatusBoard

func (*StatusBoard) Start added in v0.1.0

func (b *StatusBoard) Start()

Start spawns the renderer goroutine, which repaints on a fixed interval until Stop is called.

func (*StatusBoard) Stop added in v0.1.0

func (b *StatusBoard) Stop()

Stop ends the renderer and blocks until the final frame is painted.

func (*StatusBoard) Update added in v0.1.0

func (b *StatusBoard) Update(name string, state JobState)

Jump to

Keyboard shortcuts

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