github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/libnetwork/osl/namespace_unsupported.go (about) 1 //go:build !linux && !windows && !freebsd 2 3 package osl 4 5 type Namespace struct{} 6 7 func (n *Namespace) Destroy() error { return nil } 8 9 // GC triggers garbage collection of namespace path right away 10 // and waits for it. 11 func GC() { 12 } 13 14 // GetSandboxForExternalKey returns sandbox object for the supplied path 15 func GetSandboxForExternalKey(path string, key string) (*Namespace, error) { 16 return nil, nil 17 }