builder

package
v0.0.0-...-873fb03 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBuildFormulaBuildBat = errors.New(msgBatBuildErr)

	ErrBuildOnWindows = errors.New(msgBuildOnWindows)
)
View Source
var ErrBuildFormulaMakefile = errors.New(msgMakeBuildErr)
View Source
var ErrBuildFormulaShell = errors.New(msgShellBuildErr)
View Source
var ErrDockerBuild = errors.New("failed building formula with Docker, we will try to build your formula locally")

Functions

This section is empty.

Types

type BatManager

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

func NewBuildBat

func NewBuildBat(file stream.FileExister) BatManager

func (BatManager) Build

func (ba BatManager) Build(info formula.BuildInfo) error

type DockerManager

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

func NewBuildDocker

func NewBuildDocker(file stream.FileExister) DockerManager

func (DockerManager) Build

func (do DockerManager) Build(info formula.BuildInfo) error

type Initializer

type Initializer interface {
	Init(workspaceDir string, repoName string) (string, error)
}

type LocalManager

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

func (LocalManager) Build

func (m LocalManager) Build(info formula.BuildInfo) error

func (LocalManager) Init

func (m LocalManager) Init(workspaceDir string, repoName string) (string, error)

type MakeManager

type MakeManager struct{}

func NewBuildMake

func NewBuildMake() MakeManager

func (MakeManager) Build

func (ma MakeManager) Build(info formula.BuildInfo) error

type ShellManager

type ShellManager struct {
}

func NewBuildShell

func NewBuildShell() ShellManager

func (ShellManager) Build

func (sh ShellManager) Build(info formula.BuildInfo) error

Jump to

Keyboard shortcuts

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