testutil

package
v0.14.1-0...-61dac8c Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Latest011 = "0.11.15"
	Latest012 = "0.12.31"
	Latest013 = "0.13.7"
	Latest014 = "0.14.11"
	Latest015 = "0.15.5"
	Latest_v1 = "1.0.0"
)

Variables

This section is empty.

Functions

func TempDir

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

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