custom

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Windows string = "windows"

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func New

func New(cfg docker.Config, imageName string, wd string, ct latest.CustomTest) (*Runner, error)

New creates a new custom.Runner.

func (*Runner) Test

func (ct *Runner) Test(ctx context.Context, out io.Writer, artifacts []build.Artifact) error

Test is the entrypoint for running custom tests

func (*Runner) TestDependencies

func (ct *Runner) TestDependencies() ([]string, error)

TestDependencies returns dependencies listed for a custom test

Jump to

Keyboard shortcuts

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