mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Sebastiaan van Stijn](/assets/img/avatar_default.png)
- vishvananda/netlink: https://github.com/vishvananda/netlink/compare/v1.0.0...v1.1.0 - vishvananda/netns:7109fa855b...0a2b9b5464
- libnetwork:bf2bd42abc...beab24292c
- github.com/moby/ipvs: new dependency (was previously part of libnetwork) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
330 B
Go
19 lines
330 B
Go
// +build !linux
|
|
|
|
package netlink
|
|
|
|
func GetNetNsIdByPid(pid int) (int, error) {
|
|
return 0, ErrNotImplemented
|
|
}
|
|
|
|
func SetNetNsIdByPid(pid, nsid int) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func GetNetNsIdByFd(fd int) (int, error) {
|
|
return 0, ErrNotImplemented
|
|
}
|
|
|
|
func SetNetNsIdByFd(fd, nsid int) error {
|
|
return ErrNotImplemented
|
|
}
|