mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 11:44:44 +00:00
Moves vendoring over to Go modules. Fixes issues found by Go Vet in Go 1.16 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
20 lines
330 B
Go
Vendored
20 lines
330 B
Go
Vendored
// +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
|
|
}
|