docker

package
v0.0.0-...-faaee1e Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpContainerLogs

func DumpContainerLogs(t *testing.T, id string)

func StopContainer

func StopContainer(t *testing.T, id string)

Types

type Container

type Container struct {
	ID   string
	Host string // IP:Port
}

Container tracks info about the docker container started for tests.

func StartContainer

func StartContainer(t *testing.T, image string, port string, args ...string) *Container

Jump to

Keyboard shortcuts

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