Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerLab ¶
type DockerLab struct {
// contains filtered or unexported fields
}
DockerLab is an mlab container running Docker
func New ¶
New creates a new DockerLab object it starts a DockerLab of the specified version, and allows processes to connect to it
if tb is not null the DockerLab object is related to this testing object: logs will be sent to it, and New either succeeds or fails the test with Fatal, so errors don't need to be tested.
log is optional function to log stderr/stdout, can be nil and then default are used (either tb.Log or stdout)
func (*DockerLab) GetAddressPort ¶
GetAddressPort return the address and port used to access the Docker
Click to show internal directories.
Click to hide internal directories.