Documentation
¶
Index ¶
- func AddNetworkAlias(req *testcontainers.GenericContainerRequest, network, alias string)
- func GetAliasForNetwork(ctx context.Context, req testcontainers.GenericContainerRequest, ...) (string, error)
- func GetHostAndPort(ctx context.Context, c testcontainers.Container, exposedPort nat.Port) (host string, port nat.Port, err error)
- func NewTestingLogger(logger LoggerWithLog) *testcontainers.LogConsumer
- type LoggerWithLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNetworkAlias ¶
func AddNetworkAlias(req *testcontainers.GenericContainerRequest, network, alias string)
func GetAliasForNetwork ¶
func GetAliasForNetwork(ctx context.Context, req testcontainers.GenericContainerRequest, network string) (string, error)
func GetHostAndPort ¶
func NewTestingLogger ¶ added in v0.0.8
func NewTestingLogger(logger LoggerWithLog) *testcontainers.LogConsumer
Types ¶
type LoggerWithLog ¶ added in v0.0.8
type LoggerWithLog interface {
Log(v ...interface{})
}
Click to show internal directories.
Click to hide internal directories.