Documentation ¶
Index ¶
- Variables
- func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error)
- func EnableLogger(container testcontainers.Container, logger *LogCollector)
- func MergeOptions(c interface{}, override interface{})
- func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest)
- func UniqueID() string
- type ContainerConfig
- type ContainerOptions
- type LogCollector
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientMux sync.Mutex
ClientMux ...
Functions ¶
func CreateNetwork ¶ added in v0.1.2
func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error)
CreateNetwork creates a docker container network
func EnableLogger ¶ added in v0.1.5
func EnableLogger(container testcontainers.Container, logger *LogCollector)
EnableLogger ...
func MergeOptions ¶ added in v0.1.11
func MergeOptions(c interface{}, override interface{})
MergeOptions can merge generic options
func MergeRequest ¶ added in v0.1.5
func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest)
MergeRequest ...
Types ¶
type ContainerOptions ¶
type ContainerOptions struct { testcontainers.ContainerRequest CollectLogs bool StartupTimeout time.Duration }
ContainerOptions ...
type LogCollector ¶
LogCollector ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.