Documentation
¶
Index ¶
- func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error)
- func MergeOptions(c interface{}, override interface{})
- func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest)
- func UniqueID() string
- type CmdOutput
- type ContainerConfig
- type ContainerOptions
- type LogCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetwork ¶
func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error)
CreateNetwork creates a docker container network
func MergeOptions ¶
func MergeOptions(c interface{}, override interface{})
MergeOptions can merge generic options
func MergeRequest ¶
func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest)
MergeRequest ...
Types ¶
type CmdOutput ¶ added in v0.2.2
CmdOutput holds decoded output of a command executed in a container
type ContainerOptions ¶
ContainerOptions ...
type LogCollector ¶
type LogCollector struct { LogChan chan testcontainers.Log // contains filtered or unexported fields }
LogCollector ...
func StartLogger ¶ added in v0.2.2
func StartLogger(ctx context.Context, c testcontainers.Container) (LogCollector, error)
StartLogger ...
func (*LogCollector) LogToStdout ¶ added in v0.2.2
func (logger *LogCollector) LogToStdout()
LogToStdout ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.