builder

package
v0.0.0-...-a595894 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: NCSA Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = mconfig.Config
)

Functions

This section is empty.

Types

type BuildState

type BuildState int
const (
	BuildStateBuilding BuildState = 0
	BuildStateSuccess  BuildState = 1
	BuildStateFailed   BuildState = 2
)

func (BuildState) String

func (b BuildState) String() string

type Builder

type Builder struct {
	Ctx      context.Context
	State    BuildState
	BaseDir  string
	BuildCmd string
	Stderr   io.Writer
	Stdout   io.Writer
	Cmd      *exec.Cmd
}

func (*Builder) Rebuild

func (b *Builder) Rebuild(ctx context.Context) error

Jump to

Keyboard shortcuts

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