pipelines

package
Version: v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: AGPL-3.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBatonNotPresent indicates the wrong type of data structure passed between pipelines. Internal / Programmatic error
	ErrBatonNotPresent = errors.New("right data structure not present between pipelines")
)

Functions

This section is empty.

Types

type Pipeline

type Pipeline interface {
	// Runs a bunch of processes based on the given config
	Run(config *config.Config, buildID cidocker.BuildID, buildOS buildos.BuildOS, myBaton *baton.Baton) PipelineRunReturnFunc

	// GetNames returns the names of the pipelines . Returns a tuple , a key and a long descriptive name
	GetNames() (key string, longName string)
}

Pipeline builds and executes a given set of commands

type PipelineRunReturnFunc

type PipelineRunReturnFunc func(ctx context.Context, log logger.Log) (cidocker.BuildID, error)

PipelineRunReturnFunc represents the functor to return after a pipeline run

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL