namespace_windows.go 666 B

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