github.com/rumpl/bof@v23.0.0-rc.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 // 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 // InitOSContext initializes OS context while configuring network resources 25 func InitOSContext() func() { 26 return func() {} 27 } 28 29 // SetBasePath sets the base url prefix for the ns path 30 func SetBasePath(path string) { 31 }