k3s/vendor/github.com/vishvananda/netlink/netns_unspecified.go
Darren Shepherd 661988fb38 Update vendor
2019-09-27 16:54:32 -07:00

20 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
}