testutil

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RequireDocker            = gtestutil.RequireDocker
	RequireLinuxDockerEngine = gtestutil.RequireLinuxDockerEngine
	RequireWriteFile         = gtestutil.RequireWriteFile
	SanitiseTestName         = gtestutil.SanitiseTestName
	StartTargetContainer     = gtestutil.StartTargetContainer
)

Functions

func AssertContainersRunning

func AssertContainersRunning(t *testing.T, h ssh.Destination, composeFilePath string)

func AssertContainersStopped

func AssertContainersStopped(t *testing.T, h ssh.Destination, composeFilePath string)

func BuildMinimalImage

func BuildMinimalImage(t *testing.T, h ssh.Destination, imageName string)

func ForceComposeDown

func ForceComposeDown(t *testing.T, composeFilePath string)

func RequireImageExists

func RequireImageExists(t *testing.T, h ssh.Destination, imageName string)

func TestContainerName

func TestContainerName(t *testing.T) string

func TestImageName

func TestImageName(t *testing.T) string

func TestProjectName

func TestProjectName(t *testing.T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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