mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon) Upstream-commit: 065dd231dd7d7858df982a8decfade9df936cf63 Component: engine
16 lines
219 B
Go
16 lines
219 B
Go
// +build !linux !amd64
|
|
|
|
package utils
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
type Utsname struct {
|
|
Release [65]byte
|
|
}
|
|
|
|
func uname() (*Utsname, error) {
|
|
return nil, errors.New("Kernel version detection is available only on linux")
|
|
}
|