executor

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MPL-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 WithBaseEnvironmentOverride added in v0.8.0

func WithBaseEnvironmentOverride(environment map[string]string) Option

func WithContainerBackend added in v0.17.0

func WithContainerBackend(containerBackend containerbackend.ContainerBackend) Option

func WithContainerOptions added in v0.17.0

func WithContainerOptions(containerOptions options.ContainerOptions) Option

func WithDirtyMode added in v0.3.0

func WithDirtyMode() Option

func WithLogger

func WithLogger(logger *echelon.Logger) Option

func WithTaskFilter added in v0.3.0

func WithTaskFilter(taskFilter taskfilter.TaskFilter) Option

func WithUserSpecifiedEnvironment added in v0.8.0

func WithUserSpecifiedEnvironment(environment map[string]string) Option

Jump to

Keyboard shortcuts

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