Documentation
¶
Overview ¶
Package os provides access to operating system related configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HostOS = hostOS // for monkey patching
Functions ¶
func HostOSTypeName ¶
func HostOSTypeName() (osTypeName string)
HostOSTypeName returns the name of the host OS.
func IsValidOSTypeName ¶
IsValidOSTypeName returns true if osType is a valid os type name.
func ReadOSRelease ¶
ReadOSRelease parses the information in the os-release file.
See http://www.freedesktop.org/software/systemd/man/os-release.html.
Types ¶
Click to show internal directories.
Click to hide internal directories.