pipe

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package pipe declares utilities and errors for pipes

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipGitEnabled = Skip("inspecting git state is disabled")

ErrSkipGitEnabled happens if --skip-git is set. It means that the part of a Piper that extracts metadata from the Git repository was not run.

View Source
var ErrSkipNoAppsToPublish = Skip("no apps selected to publish")

ErrSkipNoAppsToPublish happens when there are no apps in the configuration to publish or update metadata for. It will be raised when the configuration is effectively empty.

View Source
var ErrSkipSubmitEnabled = Skip("submission is disabled")

ErrSkipSubmitEnabled happens if --skip-submit is set. It means that the part of a Piper that submits to Apple for review was not run.

Functions

func IsSkip

func IsSkip(err error) bool

IsSkip returns true if the error is an ErrSkip.

Types

type ErrMissingApp added in v0.0.7

type ErrMissingApp struct {
	Name string
}

ErrMissingApp happens when an app is selected in the interface that is not defined in the configuration.

func (ErrMissingApp) Error added in v0.0.8

func (e ErrMissingApp) Error() string

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 defaults runs all defaulter pipelines
Package defaults runs all defaulter pipelines
Package env is a pipe that loads environment variables
Package env is a pipe that loads environment variables
Package git is a pipe that reads and validates git environment
Package git is a pipe that reads and validates git environment
Package publish is a pipe that runs the testflight or store pipes depending on publish mode
Package publish is a pipe that runs the testflight or store pipes depending on publish mode
Package semver is a pipe that parses a version string into semver components
Package semver is a pipe that parses a version string into semver components
Package store is a pipe that processes an app's release to the App Store
Package store is a pipe that processes an app's release to the App Store
Package template is a pipe that processes a configuration's template fields and stores it in the context
Package template is a pipe that processes a configuration's template fields and stores it in the context
Package testflight is a pipe that processes an app's release to Testflight
Package testflight is a pipe that processes an app's release to Testflight

Jump to

Keyboard shortcuts

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