Versions in this module Expand all Collapse all v0 v0.2.5 Jan 6, 2023 Changes in this version + func PruneNetwork() v0.2.4 Jan 4, 2023 Changes in this version + func ContainerExists(name string) (bool, error) + func CreateNetwork(request testcontainers.NetworkRequest, timeoutMin time.Duration) (net testcontainers.Network, err error) + func DockerExists() bool + func DropContainerIfExists(containerName string) + func DropContainers(containerNames []string) + func DropNetwork(networkName string) + func MergeOptions(c interface{}, override interface{}) + func MergeRequest(c *testcontainers.ContainerRequest, override *testcontainers.ContainerRequest) + func UniqueID() string + type CmdOutput struct + Stderr string + Stdin string + Stdout string + func ExecCmd(ctx context.Context, container testcontainers.Container, cmd []string) (CmdOutput, error) + func ReadCmdOutput(reader io.Reader) (CmdOutput, error) + type ContainerConfig struct + type ContainerOptions struct + StartupTimeout time.Duration + type LogCollector struct + LogChan chan testcontainers.Log + func StartLogger(ctx context.Context, c testcontainers.Container) (LogCollector, error) + func (logger *LogCollector) Accept(l testcontainers.Log) + func (logger *LogCollector) LogToStdout() + func (logger *LogCollector) Stop()