c91872166b
functions to pkg/parsers/kernel, and parsing filters to pkg/parsers/filter. Adjust imports and package references. Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
15 lines
220 B
Go
15 lines
220 B
Go
// +build !linux !amd64
|
|
|
|
package kernel
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
type Utsname struct {
|
|
Release [65]byte
|
|
}
|
|
|
|
func uname() (*Utsname, error) {
|
|
return nil, errors.New("Kernel version detection is available only on linux")
|
|
}
|