pipeline

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger added in v0.3.1

type Logger interface {
	Debug(log string)
	Info(log string)
	Error(log string)
}

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
	Logger     Logger
	WorkingDir string
	Branch     string
	Repo       string
	// contains filtered or unexported fields
}

func NewRunner added in v0.1.5

func NewRunner(opts RunnerOptions) *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 RunnerOptions added in v0.3.1

type RunnerOptions struct {
	WorkingDir string
	Branch     string
	Repo       string
	Logger     Logger
}

type Stage

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

type StageContext added in v0.1.8

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

Jump to

Keyboard shortcuts

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