mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
686be57d0a
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
429 B
Go
19 lines
429 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package kernel // import "github.com/docker/docker/pkg/parsers/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")
|
|
}
|