github.com/rish1988/moby@v25.0.2+incompatible/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 type Namespace struct{} 10 11 func (n *Namespace) Destroy() error { return nil } 12 13 // NewSandbox provides a new sandbox instance created in an os specific way 14 // provided a key which uniquely identifies the sandbox 15 func NewSandbox(key string, osCreate, isRestore bool) (*Namespace, error) { 16 return nil, nil 17 } 18 19 func GetSandboxForExternalKey(path string, key string) (*Namespace, error) { 20 return nil, nil 21 } 22 23 // GC triggers garbage collection of namespace path right away 24 // and waits for it. 25 func GC() {}