package kernel

import "github.com/docker/docker/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
v1.12.0-rc1
Published
Jun 15, 2016
Platform
windows/amd64
Imports
4 packages
Last checked
3 seconds ago

Tools for package owners.