brew

package
v0.134.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package brew implements the Pipe, providing formula generation and uploading it to a configured repo.

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyTokenType = errors.New("no token type found")

ErrEmptyTokenType indicates unknown token type

View Source
var ErrMultipleArchivesSameOS = errors.New("one tap can handle only archive of an OS/Arch combination. Consider using ids in the brew section")

ErrMultipleArchivesSameOS happens when the config yields multiple archives for linux or windows.

View Source
var ErrNoArchivesFound = errors.New("no linux/macos archives found")

ErrNoArchivesFound happens when 0 archives are found

Functions

This section is empty.

Types

type ErrTokenTypeNotImplementedForBrew added in v0.116.0

type ErrTokenTypeNotImplementedForBrew struct {
	TokenType context.TokenType
}

ErrTokenTypeNotImplementedForBrew indicates that a new token type was not implemented for this pipe

func (ErrTokenTypeNotImplementedForBrew) Error added in v0.133.0

type Pipe

type Pipe struct{}

Pipe for brew deployment

func (Pipe) Default

func (Pipe) Default(ctx *context.Context) error

Default sets the pipe defaults

func (Pipe) Publish added in v0.89.0

func (Pipe) Publish(ctx *context.Context) error

Publish brew formula

func (Pipe) String

func (Pipe) String() string

Jump to

Keyboard shortcuts

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