moby/libnetwork/service_unsupported.go

25 lines
664 B
Go
Raw Permalink Normal View History

//go:build !linux && !windows
package libnetwork
import (
"errors"
"net"
)
func (c *Controller) cleanupServiceDiscovery(cleanupNID string) {}
func (c *Controller) cleanupServiceBindings(nid string) {}
func (c *Controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
return errors.New("not supported")
}
func (c *Controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
return errors.New("not supported")
}
func (sb *Sandbox) populateLoadBalancers(*Endpoint) {}
func arrangeIngressFilterRule() {}