package
24.0.9+incompatible
Repository: https://github.com/moby/docker.git
Documentation: pkg.go.dev

# Functions

AssertSocketSameNetNS makes a best-effort attempt to assert that conn is in the same network namespace as the current goroutine's thread.
SetupTestOSContext joins the current goroutine to a new network namespace, and returns its associated teardown function.
SetupTestOSContextEx joins the current goroutine to a new network namespace.

# Structs

OSContext is a handle to a test OS context.

# Interfaces

Logger is used to log non-fatal messages during tests.