Documentation
¶
Overview ¶
Package os provides access to operating system related configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HostBase returns the base of the machine the current process is // running on (overrideable var for testing) HostBase func() (corebase.Base, error) = hostBase )
View Source
var HostOS = hostOS // for monkey patching
Functions ¶
func HostOSTypeName ¶
func HostOSTypeName() (osTypeName string)
HostOSTypeName returns the name of the host OS.
func ReadOSRelease ¶
ReadOSRelease parses the information in the os-release file.
See http://www.freedesktop.org/software/systemd/man/os-release.html.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.