mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
- sandbox, endpoint changed in c71555f030, but
missed updating the stubs.
- add missing stub for Controller.cleanupServiceDiscovery()
- While at it also doing some minor (formatting) changes.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
26 lines
690 B
Go
26 lines
690 B
Go
//go:build !linux && !windows
|
|
// +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() {}
|