Discover Packages
github.com/rai-project/joefriday
system
os
flat
package
Version:
v0.0.0-...-df36a95
Opens a new window with list of versions in this module.
Published: Apr 10, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package os provides OS Release information, /etc/os-release. Instead of
returning a Go struct, it returns Flatbuffer serialized bytes. A function to
deserialize the Flatbuffer serialized bytes into an os.OS struct is provided.
Note: the package name is os and not the final element of the import path
(flat).
Deserialize takes some Flatbuffer serialized bytes and deserializes them
as release.OS.
Get gets the OS release information, /etc/os-release, as Flatbuffer
serialized bytes using the package's global Profiler.
Serialize serializes OS release informationa as Flatbuffers using the
package's global Profiler.
Profiler processes the OS release information, /etc/os-release,
using Flatbuffers.
Returns an initialized Profiler; ready to use.
Get gets the OS release information, /etc/os-release, as Flatbuffer
serialized bytes.
Serialize serializes OS release information as Flatbuffers.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.