package netnsutils

import "github.com/docker/docker/internal/testutils/netnsutils"

Index

Functions

func AssertSocketSameNetNS

func AssertSocketSameNetNS(t testing.TB, conn syscall.Conn)

AssertSocketSameNetNS is a no-op on platforms other than Linux.

func SetupTestOSContext

func SetupTestOSContext(*testing.T) func()

SetupTestOSContext is a no-op on Windows.

Source Files

context_windows.go sanity_notlinux.go

Version
v27.0.1-rc.1+incompatible
Published
Jun 20, 2024
Platform
windows/amd64
Imports
2 packages
Last checked
10 minutes ago

Tools for package owners.