pipeline

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipeLine

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

func (*PipeLine) Run

func (p *PipeLine) Run(context *StageContext) error

type Runner added in v0.1.5

type Runner struct {
	Client     *client.Client
	WorkingDir string
	Branch     string
	Repo       string
	// contains filtered or unexported fields
}

func NewRunner added in v0.1.5

func NewRunner(dir, repo, branch string) *Runner

func (*Runner) Pipeline added in v0.1.5

func (r *Runner) Pipeline(stages ...Stage) *PipeLine

func (*Runner) Run added in v0.1.5

func (r *Runner) Run() error

type Stage

type Stage interface {
	Run(context *StageContext) error
}

type StageContext added in v0.1.8

type StageContext struct {
	Client     *client.Client
	WorkingDir string
	Branch     string
	Repo       string
}

Jump to

Keyboard shortcuts

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