mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
17719cab91
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
61 lines
1.1 KiB
Go
61 lines
1.1 KiB
Go
// +build !linux !amd64
|
|
|
|
package netlink
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
var (
|
|
ErrNotImplemented = errors.New("not implemented")
|
|
)
|
|
|
|
func NetworkGetRoutes() ([]Route, error) {
|
|
return nil, ErrNotImplemented
|
|
}
|
|
|
|
func NetworkLinkAdd(name string, linkType string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkLinkUp(iface *net.Interface) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkLinkAddIp(iface *net.Interface, ip net.IP, ipNet *net.IPNet) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func AddDefaultGw(ip net.IP) error {
|
|
return ErrNotImplemented
|
|
|
|
}
|
|
|
|
func NetworkSetMTU(iface *net.Interface, mtu int) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkCreateVethPair(name1, name2 string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkChangeName(iface *net.Interface, newName string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkSetNsFd(iface *net.Interface, fd int) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkSetNsPid(iface *net.Interface, nspid int) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkSetMaster(iface, master *net.Interface) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func NetworkLinkDown(iface *net.Interface) error {
|
|
return ErrNotImplemented
|
|
}
|