docker

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdHocPipeline added in v0.2.0

func NewAdHocPipeline(jobs []config.Job) config.Pipeline

NewAdHocPipeline constructs a new config.Pipeline from the provided config.Jobs.

Types

type Executor

type Executor interface {
	ExecutePipeline(
		ctx context.Context,
		pipeline config.Pipeline,
		secrets []string,
		maxConcurrency int,
	) error
}

Executor is the public interface for the CLI executor

func NewExecutor

func NewExecutor(
	sourcePath string,
	dockerClient *docker.Client,
	debugOnly bool,
) Executor

NewExecutor returns an executor suitable for use with local development

Jump to

Keyboard shortcuts

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