testhelper

package
v0.0.0-...-63b02d4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallFile

func InstallFile(t *testing.T, srcFile, dstFile string)

func Main

func Main(m *testing.M, execute func([]string))

func RunCmd

func RunCmd(t *testing.T, name string, args ...string)

func TCPPortAvailable

func TCPPortAvailable(port string) error

func Trace

func Trace(t *testing.T)

Types

type Env

type Env struct {
	TestingT    *testing.T
	Root        string
	ClusterName string
}

func Setup

func Setup(t *testing.T) Env

func SetupEnv

func SetupEnv(env Env) Env

func SetupEnvWithoutCreateMandatoryDirectories

func SetupEnvWithoutCreateMandatoryDirectories(env Env) Env

func (Env) InstallFile

func (env Env) InstallFile(srcFile, dstFile string)

Jump to

Keyboard shortcuts

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