github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/libnetwork/osl/namespace_unsupported.go (about)

     1  //go:build !linux && !windows && !freebsd
     2  // +build !linux,!windows,!freebsd
     3  
     4  package osl
     5  
     6  // GC triggers garbage collection of namespace path right away
     7  // and waits for it.
     8  func GC() {
     9  }
    10  
    11  // GetSandboxForExternalKey returns sandbox object for the supplied path
    12  func GetSandboxForExternalKey(path string, key string) (Sandbox, error) {
    13  	return nil, nil
    14  }
    15  
    16  // SetBasePath sets the base url prefix for the ns path
    17  func SetBasePath(path string) {
    18  }