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

     1  package osl
     2  
     3  // GenerateKey generates a sandbox key based on the passed
     4  // container id.
     5  func GenerateKey(containerID string) string {
     6  	return containerID
     7  }
     8  
     9  // NewSandbox provides a new sandbox instance created in an os specific way
    10  // provided a key which uniquely identifies the sandbox
    11  func NewSandbox(key string, osCreate, isRestore bool) (Sandbox, error) {
    12  	return nil, nil
    13  }
    14  
    15  func GetSandboxForExternalKey(path string, key string) (Sandbox, error) {
    16  	return nil, nil
    17  }
    18  
    19  // GC triggers garbage collection of namespace path right away
    20  // and waits for it.
    21  func GC() {
    22  }
    23  
    24  // SetBasePath sets the base url prefix for the ns path
    25  func SetBasePath(path string) {
    26  }