mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
0f89c9b7bc
Ingress load balancer is achieved via a service sandbox which acts as the proxy to translate incoming node port requests and mapping that to a service entry. Once the right service is identified, the same internal loadbalancer implementation is used to load balance to the right backend instance. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
19 lines
452 B
Go
19 lines
452 B
Go
// +build !linux
|
|
|
|
package libnetwork
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
)
|
|
|
|
func (c *controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (c *controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (sb *sandbox) populateLoadbalancers(ep *endpoint) {
|
|
}
|