mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	- pkg/useragent - pkg/units - pkg/ulimit - pkg/truncindex - pkg/timeoutconn - pkg/term - pkg/tarsum - pkg/tailfile - pkg/systemd - pkg/stringutils - pkg/stringid - pkg/streamformatter - pkg/sockets - pkg/signal - pkg/proxy - pkg/progressreader - pkg/pools - pkg/plugins - pkg/pidfile - pkg/parsers - pkg/parsers/filters - pkg/parsers/kernel - pkg/parsers/operatingsystem Signed-off-by: Vincent Demeester <vincent@sbr.pm>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			355 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			355 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build !linux
 | 
						|
 | 
						|
package kernel
 | 
						|
 | 
						|
import (
 | 
						|
	"errors"
 | 
						|
)
 | 
						|
 | 
						|
// Utsname represents the system name structure.
 | 
						|
// It is defined here to make it portable as it is available on linux but not
 | 
						|
// on windows.
 | 
						|
type Utsname struct {
 | 
						|
	Release [65]byte
 | 
						|
}
 | 
						|
 | 
						|
func uname() (*Utsname, error) {
 | 
						|
	return nil, errors.New("Kernel version detection is available only on linux")
 | 
						|
}
 |