service_unsupported.go 625 B

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