package integration

import "github.com/moby/buildkit/util/testutil/integration"

Index

Variables

var ErrorRequirements = errors.Errorf("missing requirements")

Functions

func OfficialImages

func OfficialImages(names ...string) map[string]string

func Run

func Run(t *testing.T, testCases []Test, opt ...TestOpt)

Types

type Sandbox

type Sandbox interface {
	Address() string
	PrintLogs(*testing.T)
	Cmd(...string) *exec.Cmd
	NewRegistry() (string, error)
	Rootless() bool
	Value(string) interface{} // chosen matrix value
}

type SandboxConf

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

type SandboxOpt

type SandboxOpt func(*SandboxConf)

func WithMirror

func WithMirror(h string) SandboxOpt

type Test

type Test func(*testing.T, Sandbox)

type TestConf

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

type TestOpt

type TestOpt func(*TestConf)

func WithMatrix

func WithMatrix(key string, m map[string]interface{}) TestOpt

func WithMirroredImages

func WithMirroredImages(m map[string]string) TestOpt

type Worker

type Worker interface {
	New(...SandboxOpt) (Sandbox, func() error, error)
	Name() string
}

func List

func List() []Worker

Source Files

containerd.go oci.go registry.go run.go util.go

Version
v0.3.0
Published
Oct 12, 2018
Platform
js/wasm
Imports
26 packages
Last checked
12 hours ago

Tools for package owners.