Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRunningInContainer ¶
func IsRunningInContainer() bool
IsRunningInContainer returns whether the test is running inside a container.
func RunningOnCircleCI ¶
func RunningOnCircleCI() bool
RunningOnCircleCI returns true if being executed on libnetwork Circle CI setup
func SetupTestOSContext ¶
SetupTestOSContext joins a new network namespace, and returns its associated teardown function.
Example usage:
defer SetupTestOSContext(t)()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.