f96b9bf761
libnetwork.NetworkController is an interface with a single implementation. https://github.com/golang/go/wiki/CodeReviewComments#interfaces Signed-off-by: Cory Snider <csnider@mirantis.com>
26 lines
625 B
Go
26 lines
625 B
Go
//go:build !linux && !windows
|
|
// +build !linux,!windows
|
|
|
|
package libnetwork
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
)
|
|
|
|
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 fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (c *Controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (sb *sandbox) populateLoadBalancers(ep *endpoint) {
|
|
}
|
|
|
|
func arrangeIngressFilterRule() {
|
|
}
|