moby/testutil/daemon
Artem Khramov 8f1b2a0fd3
Port testutil/daemon to FreeBSD
testutil/daemon uses a generic unix implementation that assumes that
the host OS supports cgroups & network namespaces, which is not the
case for FreeBSD.

This change adds a FreeBSD-specific implementation for
`testutil/daemon`, namely for `cleanupNetworkNamespace` and
`CgroupNamespace` functions.

Signed-off-by: Artem Khramov <akhramov@pm.me>
2021-10-16 09:51:55 +03:00
..
config.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
container.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
daemon.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
daemon_freebsd.go Port testutil/daemon to FreeBSD 2021-10-16 09:51:55 +03:00
daemon_linux.go Port testutil/daemon to FreeBSD 2021-10-16 09:51:55 +03:00
daemon_unix.go Port testutil/daemon to FreeBSD 2021-10-16 09:51:55 +03:00
daemon_windows.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
node.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
ops.go testutil: set -500 OOM score for test daemons 2020-10-16 18:49:55 +02:00
plugin.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
secret.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
service.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
swarm.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00