testutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchedImage

func FetchedImage(t *testing.T, image string) string

func GetBasicContainerInstance

func GetBasicContainerInstance(t *testing.T, image string) *api.Task_Instance

func TempChdir

func TempChdir(t *testing.T)

TempChdir switches to a temporary per-test directory.

func TempDir

func TempDir(t *testing.T) string

tempDir supplements an alternative to TB.TempDir()[1], which is only available in 1.15. [1]: https://github.com/golang/go/issues/35998

Types

This section is empty.

Jump to

Keyboard shortcuts

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