testutil

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGitSubmodule added in v0.3.3

func InitGitSubmodule(t *testing.T)

Types

type Container

type Container struct {
	T             *testing.T
	L             log.Logger
	ContainerID   string
	ContainerPort string
	// contains filtered or unexported fields
}

func RunContainerWithPort

func RunContainerWithPort(t *testing.T, l log.Logger, image string, port string) *Container

func (*Container) HostPort

func (c *Container) HostPort() string

func (*Container) Kill

func (c *Container) Kill()

func (*Container) Run

func (c *Container) Run(cmd ...string)

func (*Container) Url

func (c *Container) Url() string

func (*Container) WaitForPort

func (c *Container) WaitForPort()

Jump to

Keyboard shortcuts

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