github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/testutil/daemon/daemon_freebsd.go (about)

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