internal

package
v0.0.0-...-3af5e26 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(dir string, bin string, wd string, buildArgs []string) *Builder

NewBuilder creates new builder

func (*Builder) Binary

func (b *Builder) Binary() string

func (*Builder) Build

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

type Runner

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

func NewRunner

func NewRunner(bin string, args ...string) *Runner

NewRunner creates new runner

func (*Runner) Info

func (r *Runner) Info() (os.FileInfo, error)

func (*Runner) Kill

func (r *Runner) Kill() error

func (*Runner) Run

func (r *Runner) Run() (*exec.Cmd, error)

func (*Runner) SetWriter

func (r *Runner) SetWriter(writer io.Writer)

Jump to

Keyboard shortcuts

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