2023-08-20 12:46:54 +00:00
|
|
|
//go:build !linux
|
|
|
|
|
|
|
|
package libnetwork
|
|
|
|
|
|
|
|
import "github.com/docker/docker/libnetwork/osl"
|
|
|
|
|
2023-08-20 08:00:29 +00:00
|
|
|
func releaseOSSboxResources(*osl.Namespace, *Endpoint) {}
|
2023-08-20 12:46:54 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|