github.com/sirupsen/docker@v0.10.1-0.20150325003727-22dba32b4dab/pkg/parsers/kernel/uname_unsupported.go (about) 1 // +build !linux 2 3 package kernel 4 5 import ( 6 "errors" 7 ) 8 9 type Utsname struct { 10 Release [65]byte 11 } 12 13 func uname() (*Utsname, error) { 14 return nil, errors.New("Kernel version detection is available only on linux") 15 }