executor

package
v0.6.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBuildFailed = errors.New("build failed")

Functions

This section is empty.

Types

type Executor

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

func New

func New(projectDir string, tasks []*api.Task, opts ...Option) (*Executor, error)

func (*Executor) Run

func (e *Executor) Run(ctx context.Context) error

type Option

type Option func(*Executor)

func WithDirtyMode added in v0.3.0

func WithDirtyMode() Option

func WithDockerOptions added in v0.7.0

func WithDockerOptions(dockerOptions options.DockerOptions) Option

func WithEnvironment added in v0.3.0

func WithEnvironment(environment map[string]string) Option

func WithLogger

func WithLogger(logger *echelon.Logger) Option

func WithTaskFilter added in v0.3.0

func WithTaskFilter(taskFilter taskfilter.TaskFilter) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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