github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+incompatible/libnetwork/sandbox_unsupported.go (about)

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