sandbox_unsupported.go 781 B

1234567891011121314151617181920212223242526272829303132
  1. //go:build !linux
  2. package libnetwork
  3. import "github.com/docker/docker/libnetwork/osl"
  4. func releaseOSSboxResources(*osl.Namespace, *Endpoint) {}
  5. func (sb *Sandbox) updateGateway(*Endpoint) error {
  6. // not implemented on Windows (Sandbox.osSbox is always nil)
  7. return nil
  8. }
  9. func (sb *Sandbox) ExecFunc(func()) error {
  10. // not implemented on Windows (Sandbox.osSbox is always nil)
  11. return nil
  12. }
  13. func (sb *Sandbox) releaseOSSbox() error {
  14. // not implemented on Windows (Sandbox.osSbox is always nil)
  15. return nil
  16. }
  17. func (sb *Sandbox) restoreOslSandbox() error {
  18. // not implemented on Windows (Sandbox.osSbox is always nil)
  19. return nil
  20. }
  21. func (sb *Sandbox) populateNetworkResources(*Endpoint) error {
  22. // not implemented on Windows (Sandbox.osSbox is always nil)
  23. return nil
  24. }