pipeline

package
v0.34.5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package pipeline provides a generic pipe interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSkip added in v0.31.0

func IsSkip(err error) bool

IsSkip returns true if the error is an ErrSkip

Types

type ErrSkip added in v0.30.0

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

ErrSkip occurs when a pipe is skipped for some reason

func Skip added in v0.30.0

func Skip(reason string) ErrSkip

Skip skips this pipe with the given reason

func (ErrSkip) Error added in v0.30.0

func (e ErrSkip) Error() string

Error implements the error interface. returns the reason the pipe was skipped

type Pipe

type Pipe interface {
	// Name of the pipe
	Description() string

	// Run the pipe
	Run(ctx *context.Context) error
}

Pipe interface

Directories

Path Synopsis
Package archive implements the pipe interface with the intent of archiving and compressing the binaries, readme, and other artifacts.
Package archive implements the pipe interface with the intent of archiving and compressing the binaries, readme, and other artifacts.
Package brew implements the Pipe, providing formula generation and uploading it to a configured repo.
Package brew implements the Pipe, providing formula generation and uploading it to a configured repo.
Package build implements Pipe and can build Go projects for several platforms, with pre and post hook support.
Package build implements Pipe and can build Go projects for several platforms, with pre and post hook support.
Package checksums provides a Pipe that creates .checksums files for each artifact.
Package checksums provides a Pipe that creates .checksums files for each artifact.
Package cleandist provides checks to make sure the dist folder is always empty.
Package cleandist provides checks to make sure the dist folder is always empty.
Package defaults implements the Pipe interface providing default values for missing configuration.
Package defaults implements the Pipe interface providing default values for missing configuration.
Package docker provides a Pipe that creates and pushes a Docker image
Package docker provides a Pipe that creates and pushes a Docker image
Package env implements the Pipe interface providing validation of missing environment variables needed by the release process.
Package env implements the Pipe interface providing validation of missing environment variables needed by the release process.
Package fpm implements the Pipe interface providing FPM bindings.
Package fpm implements the Pipe interface providing FPM bindings.
Package git implements the Pipe interface getting and validating the current git repository state
Package git implements the Pipe interface getting and validating the current git repository state
Package release implements Pipe and manages github releases and its artifacts.
Package release implements Pipe and manages github releases and its artifacts.
Package snapcraft implements the Pipe interface providing Snapcraft bindings.
Package snapcraft implements the Pipe interface providing Snapcraft bindings.

Jump to

Keyboard shortcuts

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