testutil

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Latest011 = "0.11.14"
	Latest012 = "0.12.30"
	Latest013 = "0.13.6"
	Latest014 = "0.14.4"
)

Variables

This section is empty.

Functions

func TempDir added in v0.12.0

func TempDir(t *testing.T) string

TODO: Remove once we drop support for Go <1.15 in favour of native t.TempDir()

Types

type TFCache

type TFCache struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewTFCache

func NewTFCache(dir string) *TFCache

func (*TFCache) GitRef added in v0.9.0

func (tf *TFCache) GitRef(t *testing.T, ref string) string

func (*TFCache) Version

func (tf *TFCache) Version(t *testing.T, v string) string

Jump to

Keyboard shortcuts

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