package testutils
import "github.com/dotcloud/docker/libnetwork/testutils"
Index ¶
Functions ¶
func SetupTestOSContext ¶
SetupTestOSContext joins the current goroutine to a new network namespace, and returns its associated teardown function.
Example usage:
defer SetupTestOSContext(t)()
Types ¶
type Logger ¶
Logger is used to log non-fatal messages during tests.
Source Files ¶
- Version
- v24.0.0-rc.4+incompatible
- Published
- May 12, 2023
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 41 minutes ago –
Tools for package owners.