pipe

package
v0.97.0-influx2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package pipe provides generic erros for pipes to use.

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipPublishEnabled = Skip("publishing is disabled")

ErrSkipPublishEnabled happens if --skip-publish is set. It means that the part of a Piper that publishes its artifacts was not run.

View Source
var ErrSkipSignEnabled = Skip("artifact signing is disabled")

ErrSkipSignEnabled happens if --skip-sign is set. It means that the part of a Piper that signs some things was not run.

View Source
var ErrSkipValidateEnabled = Skip("validation is disabled")

ErrSkipValidateEnabled happens if --skip-validate is set. It means that the part of a Piper that validates some things was not run.

View Source
var ErrSnapshotEnabled = Skip("disabled during snapshot mode")

ErrSnapshotEnabled happens when goreleaser is running in snapshot mode. It usually means that publishing and maybe some validations were skipped.

Functions

func IsSkip

func IsSkip(err error) bool

IsSkip returns true if the error is an ErrSkip

Types

type ErrSkip

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

ErrSkip occurs when a pipe is skipped for some reason

func Skip

func Skip(reason string) ErrSkip

Skip skips this pipe with the given reason

func (ErrSkip) Error

func (e ErrSkip) Error() string

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

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 artifactory provides a Pipe that push to artifactory
Package artifactory provides a Pipe that push to artifactory
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 provides a pipe that can build binaries for several languages.
Package build provides a pipe that can build binaries for several languages.
Package changelog provides the release changelog to goreleaser.
Package changelog provides the release changelog to goreleaser.
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 defaults implements the Pipe interface providing default values for missing configuration.
Package defaults implements the Pipe interface providing default values for missing configuration.
Package dist provides checks to make sure the dist folder is always empty.
Package dist provides checks to make sure the dist folder is always empty.
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 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 nfpm implements the Pipe interface providing NFPM bindings.
Package nfpm implements the Pipe interface providing NFPM bindings.
Package project sets "high level" defaults related to the project.
Package project sets "high level" defaults related to the project.
Package publish contains the publishing pipe.
Package publish contains the publishing pipe.
Package put provides a Pipe that push using HTTP PUT
Package put provides a Pipe that push using HTTP PUT
Package release implements Pipe and manages github releases and its artifacts.
Package release implements Pipe and manages github releases and its artifacts.
Package s3 provides a Pipe that push artifacts to s3/minio
Package s3 provides a Pipe that push artifacts to s3/minio
Package scoop provides a Pipe that generates a scoop.sh App Manifest and pushes it to a bucket
Package scoop provides a Pipe that generates a scoop.sh App Manifest and pushes it to a bucket
Package snapcraft implements the Pipe interface providing Snapcraft bindings.
Package snapcraft implements the Pipe interface providing Snapcraft bindings.
Package snapshot provides the snapshoting functionality to goreleaser.
Package snapshot provides the snapshoting functionality to goreleaser.

Jump to

Keyboard shortcuts

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