moby/libnetwork/sandbox_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

32 lines
781 B
Go

//go:build !linux
package libnetwork
import "github.com/docker/docker/libnetwork/osl"
func releaseOSSboxResources(*osl.Namespace, *Endpoint) {}
func (sb *Sandbox) updateGateway(*Endpoint) error {
// not implemented on Windows (Sandbox.osSbox is always nil)
return nil
}
func (sb *Sandbox) ExecFunc(func()) error {
// not implemented on Windows (Sandbox.osSbox is always nil)
return nil
}
func (sb *Sandbox) releaseOSSbox() error {
// not implemented on Windows (Sandbox.osSbox is always nil)
return nil
}
func (sb *Sandbox) restoreOslSandbox() error {
// not implemented on Windows (Sandbox.osSbox is always nil)
return nil
}
func (sb *Sandbox) populateNetworkResources(*Endpoint) error {
// not implemented on Windows (Sandbox.osSbox is always nil)
return nil
}