namespace_unsupported.go 401 B

1234567891011121314151617
  1. //go:build !linux && !windows && !freebsd
  2. package osl
  3. type Namespace struct{}
  4. func (n *Namespace) Destroy() error { return nil }
  5. // GC triggers garbage collection of namespace path right away
  6. // and waits for it.
  7. func GC() {
  8. }
  9. // GetSandboxForExternalKey returns sandbox object for the supplied path
  10. func GetSandboxForExternalKey(path string, key string) (*Namespace, error) {
  11. return nil, nil
  12. }