github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/libnetwork/service_unsupported.go (about)

     1  //go:build !linux && !windows
     2  
     3  package libnetwork
     4  
     5  import (
     6  	"errors"
     7  	"net"
     8  )
     9  
    10  func (c *Controller) cleanupServiceDiscovery(cleanupNID string) {}
    11  
    12  func (c *Controller) cleanupServiceBindings(nid string) {}
    13  
    14  func (c *Controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
    15  	return errors.New("not supported")
    16  }
    17  
    18  func (c *Controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
    19  	return errors.New("not supported")
    20  }
    21  
    22  func (sb *Sandbox) populateLoadBalancers(*Endpoint) {}
    23  
    24  func arrangeIngressFilterRule() {}