service_unsupported.go 595 B

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