daemon_freebsd.go 432 B

123456789101112131415161718
  1. //go:build freebsd
  2. // +build freebsd
  3. package daemon // import "github.com/docker/docker/testutil/daemon"
  4. import (
  5. "testing"
  6. "gotest.tools/v3/assert"
  7. )
  8. func cleanupNetworkNamespace(_ testing.TB, _ *Daemon) {}
  9. // CgroupNamespace returns the cgroup namespace the daemon is running in
  10. func (d *Daemon) CgroupNamespace(t testing.TB) string {
  11. assert.Assert(t, false, "cgroup namespaces are not supported on FreeBSD")
  12. return ""
  13. }