testing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWithMongoTestContainer

func RunWithMongoTestContainer(f func())

Types

type TestContainer

type TestContainer interface {
	GetHostPort(port string) string
	Terminate()
}

func NewTestContainer

func NewTestContainer(image string, ports []string, env map[string]string, waitStrategy wait.Strategy) TestContainer

Jump to

Keyboard shortcuts

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