github.com/moby/docker@v26.1.3+incompatible/testutil/daemon/daemon_freebsd.go (about)

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