moby/libnetwork/osl/namespace_unsupported.go
Sebastiaan van Stijn b92cf68add
libnetwork/osl: remove Sandbox and Info interfaces
It only has a single implementation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 23:29:09 +02:00

17 lines
401 B
Go

//go:build !linux && !windows && !freebsd
package osl
type Namespace struct{}
func (n *Namespace) Destroy() error { return nil }
// GC triggers garbage collection of namespace path right away
// and waits for it.
func GC() {
}
// GetSandboxForExternalKey returns sandbox object for the supplied path
func GetSandboxForExternalKey(path string, key string) (*Namespace, error) {
return nil, nil
}