mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
30 lines
528 B
Go
30 lines
528 B
Go
|
package netlink
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
func NetworkGetRoutes() ([]*net.IPNet, error) {
|
||
|
return nil, fmt.Errorf("Not implemented")
|
||
|
}
|
||
|
|
||
|
|
||
|
func NetworkLinkAdd(name string, linkType string) error {
|
||
|
return fmt.Errorf("Not implemented")
|
||
|
}
|
||
|
|
||
|
func NetworkLinkUp(iface *net.Interface) error {
|
||
|
return fmt.Errorf("Not implemented")
|
||
|
}
|
||
|
|
||
|
|
||
|
func NetworkLinkAddIp(iface *net.Interface, ip net.IP, ipNet *net.IPNet) error {
|
||
|
return fmt.Errorf("Not implemented")
|
||
|
}
|
||
|
|
||
|
func AddDefaultGw(ip net.IP) error {
|
||
|
return fmt.Errorf("Not implemented")
|
||
|
|
||
|
}
|