package kernel
import "github.com/docker/cli/components/engine/pkg/parsers/kernel"
Index ¶
Types ¶
type Utsname ¶
type Utsname struct { Release [65]byte }
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 VersionInfo ¶
type VersionInfo struct {
// contains filtered or unexported fields
}
VersionInfo holds information about the kernel.
func GetKernelVersion ¶
func GetKernelVersion() (*VersionInfo, error)
GetKernelVersion gets the current kernel version.
func (*VersionInfo) String ¶
func (k *VersionInfo) String() string
Source Files ¶
kernel_windows.go uname_unsupported.go
- Version
- v17.12.0-ce+incompatible
- Published
- Dec 27, 2017
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 5 minutes ago –
Tools for package owners.