containerharness

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArtifactRoot

func ArtifactRoot(t testing.TB) string

func BuiltOpenASEBinary

func BuiltOpenASEBinary(t testing.TB) string

func DefaultComposeFile

func DefaultComposeFile(t testing.TB) string

func FreeTCPPort

func FreeTCPPort(t testing.TB) int

func RepoRoot

func RepoRoot(t testing.TB) string

func RequireContainerSuite

func RequireContainerSuite(t testing.TB)

func WaitForTCPPort

func WaitForTCPPort(t testing.TB, address string, timeout time.Duration)

Types

type Options

type Options struct {
	ComposeFile string
	ArtifactDir string
	ProjectName string
	Env         map[string]string
}

type Project

type Project struct {
	// contains filtered or unexported fields
}

func NewProject

func NewProject(t testing.TB, options Options) *Project

func (*Project) Down

func (p *Project) Down(t testing.TB)

func (*Project) Logs

func (p *Project) Logs(t testing.TB, extraEnv map[string]string, services ...string) string

func (*Project) Up

func (p *Project) Up(t testing.TB, extraEnv map[string]string, services ...string)

func (*Project) WriteLogs

func (p *Project) WriteLogs(t testing.TB, name string, extraEnv map[string]string, services ...string) string

Jump to

Keyboard shortcuts

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