brew

package
v0.182.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 17 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 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.160.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.160.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