pipeline

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPipelineFileNotFound = errors.New("pipeline file not found")
)

Functions

This section is empty.

Types

type Command

type Command struct {
	Name string
	Args []string
}

type Error

type Error struct {
	Step Step
	Err  error
}

func (*Error) Error

func (e *Error) Error() string

type Pipeline

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

func New

func New(dir string) *Pipeline

func (*Pipeline) Run

func (p *Pipeline) Run(ctx context.Context) error

type Step

type Step struct {
	Command Command `json:"command"`
}

Jump to

Keyboard shortcuts

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