mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
20 lines
330 B
Go
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
|
|
}
|