testutils

package
Version: v3.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestImages = []string{"foo/aaaa", "foo/bbbb", "foo/cccc"}
View Source
var TestTags = []string{"bar-a", "bar-b", "bar-c"}

Functions

This section is empty.

Types

type TestEnv

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

func SetupRegistry

func SetupRegistry(t *testing.T) (string, *TestEnv)

SetupRegistry create a new registry with a set url, returns the url and the test env for shutdown

func (*TestEnv) Shutdown

func (t *TestEnv) Shutdown()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL