golang

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Go

type Go struct {
	Dir string
}

func (*Go) ModDowload added in v0.1.3

func (g *Go) ModDowload(ctx context.Context) error

func (*Go) ModTidy

func (g *Go) ModTidy(ctx context.Context) error

func (*Go) Update

func (g *Go) Update(ctx context.Context) error

type Runner added in v0.0.26

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

func NewRunner added in v0.1.22

func NewRunner(ctx context.Context, dir string) (*Runner, error)

func (*Runner) CacheDir added in v0.1.22

func (runner *Runner) CacheDir() string

func (*Runner) Init added in v0.0.26

func (runner *Runner) Init(ctx context.Context) error

func (*Runner) NormalCmd added in v0.0.26

func (runner *Runner) NormalCmd(ctx context.Context) error

func (*Runner) Start added in v0.0.85

func (runner *Runner) Start(ctx context.Context, args ...string) error

func (*Runner) Stop added in v0.1.21

func (runner *Runner) Stop() error

func (*Runner) UsedCache added in v0.1.22

func (runner *Runner) UsedCache() bool

func (*Runner) WithCache added in v0.1.39

func (runner *Runner) WithCache(location string)

func (*Runner) WithDebug added in v0.1.22

func (runner *Runner) WithDebug(debug bool) *Runner

func (*Runner) WithEnvs added in v0.1.22

func (runner *Runner) WithEnvs(envs []string) *Runner

func (*Runner) WithOut added in v0.1.22

func (runner *Runner) WithOut(out io.Writer) *Runner

func (*Runner) WithRaceConditionDetection added in v0.1.22

func (runner *Runner) WithRaceConditionDetection(raceConditionDection bool) *Runner

func (*Runner) WithRequirements added in v0.1.22

func (runner *Runner) WithRequirements(requirements *builders.Dependencies) *Runner

Jump to

Keyboard shortcuts

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