Documentation ¶
Index ¶
- Constants
- Variables
- func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error)
- func EnableLogger(container testcontainers.Container, logger *LogCollector)
- func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest)
- func UniqueID() string
- type ContainerConfig
- type ContainerOptions
- type LogCollector
Constants ¶
View Source
const Version = "0.1.7"
Version is incremented using bump2version
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 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 ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.