Documentation
¶
Overview ¶
Package docker provides functions for integration tests that rely on Docker. Configuring tests via flags doesn't scale well (because passing that flag to ./... will fail for all of the other tests), and so we use OS environment variables as a way to allow for environment configuration in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHost ¶
func ConfigureHost(config *dck.HostConfig)
ConfigureHost configures the host for a standard docker environment.
func GetAddress ¶
func GetAddress(r *dockertest.Resource) string
GetAddress returns the server address for the resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.