daemon_freebsd.go 414 B

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