moby/libnetwork/service_unsupported.go
Sebastiaan van Stijn ab35df454d
remove pre-go1.17 build-tags
Removed pre-go1.17 build-tags with go fix;

    go mod init
    go fix -mod=readonly ./...
    rm go.mod

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-19 20:38:51 +02:00

24 lines
664 B
Go

//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() {}