github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/libnetwork/service_unsupported.go (about)

     1  // +build !linux,!windows
     2  
     3  package libnetwork
     4  
     5  import (
     6  	"fmt"
     7  	"net"
     8  )
     9  
    10  func (c *controller) cleanupServiceBindings(nid string) {
    11  }
    12  
    13  func (c *controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
    14  	return fmt.Errorf("not supported")
    15  }
    16  
    17  func (c *controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
    18  	return fmt.Errorf("not supported")
    19  }
    20  
    21  func (sb *sandbox) populateLoadBalancers(ep *endpoint) {
    22  }
    23  
    24  func arrangeIngressFilterRule() {
    25  }