* Bump k8s.io/cri-api to latest version - v0.23.0-alpha.4 * Vendor github.com/vishvananda/netlink for network stats Signed-off-by: David Porter <porterdavid@google.com>
		
			
				
	
	
		
			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
 | 
						|
}
 |