package
Version:
v0.0.0-...-2d83fc9
Opens a new window with list of versions in this module.
Published: Sep 26, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package os provides OS Release information, /etc/os-release.
type OS struct {
Name string `json:"name"`
ID string `json:"id"`
IDLike string `json:"id_like"`
PrettyName string `json:"pretty_name"`
Version string `json:"version"`
VersionID string `json:"version_id"`
HomeURL string `json:"home_url"`
BugReportURL string `json:"bug_report_url"`
}
OS holds information about the OS release.
Get gets the OS release information using the package's global Profiler.
Profiler processes the OS release information, /etc/os-release.
Returns an initialized Profiler; ready to use.
Get gets the OS release information, the /etc/os-release.
Reset resources: after reset, the profiler is ready to be used again.
Source Files
¶
Directories
¶
Package os provides OS Release information, /etc/os-release.
|
Package os provides OS Release information, /etc/os-release. |
|
|
Package os provides OS Release information, /etc/os-release.
|
Package os provides OS Release information, /etc/os-release. |
Click to show internal directories.
Click to hide internal directories.