golang

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(ctx context.Context, args ...string) error

Go runs a go command for a project in a given working directory. Example call could look like this:

Go(ctx, "build", "-o", "e2e-harness", ".")

func IsExecutionFailed

func IsExecutionFailed(err error) bool

IsExecutionFailed asserts executionFailedError.

func PullDockerImage

func PullDockerImage(ctx context.Context) error

PullDockerImage implements tasks.Task func type. It is meant to be ran before any other function from this package to add retries and avoid obscure pull logs in other tasks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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