Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBankContainerRequest ¶
func TestBankContainerRequest(dbAddr, absoluteMigrationsPath string) tc.GenericContainerRequest
Types ¶
type AccountRequest ¶
type Network ¶
func CreateNetwork ¶
CreateNetwork creates a network with a random name
func (*Network) ApplyNetworkAlias ¶
func (n *Network) ApplyNetworkAlias(req *tc.GenericContainerRequest, alias string)
ApplyNetworkAlias applies a network alias to a generic container request
type TestBankClient ¶
type TestBankClient struct {
// contains filtered or unexported fields
}
type TestLogConsumer ¶
type TestLogConsumer struct {
Msgs []string
Done chan bool
// Accepted provides a blocking way of ensuring the logs messages have been consumed.
// This allows for proper synchronization during Test_StartStop in particular.
// Please see func devNullAcceptorChan if you're not interested in this synchronization.
Accepted chan string
}
func (*TestLogConsumer) Accept ¶
func (g *TestLogConsumer) Accept(l tc.Log)
Click to show internal directories.
Click to hide internal directories.