Documentation ¶
Overview ¶
Package containers contains utilities for running test containers in integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
Types ¶
type ContainerOptionFn ¶
type ContainerOptionFn func(*testcontainers.ContainerRequest)
func WithEnv ¶
func WithEnv(env map[string]string) ContainerOptionFn
func WithHostname ¶
func WithHostname(hostname string) ContainerOptionFn
func WithPorts ¶
func WithPorts(ports []string) ContainerOptionFn
func WithWaitStrategy ¶
func WithWaitStrategy(waitStrategy wait.Strategy) ContainerOptionFn
Click to show internal directories.
Click to hide internal directories.