package
0.0.0-20161014042900-0a7069658062
Repository: https://github.com/rebuildtools/rebuild-agent.git
Documentation: pkg.go.dev

# Functions

GetDMIValue reads a DMI header value from a Linux Kernel pseudo file.
GetInitrdVersion reads a file from the system that contains the version of the Rebuild Initrd this agent is running from.
GetKernelVersion queries uname and returns the "Release" field as a string.
HandleError provides a simple function to check if a error is empty and if not to log the error and the current state when checking the error.
stringToInt32 converts a string into a 32bit integer.
stringToInt64 converts a string into a 64bit integer.

# Variables

AgentVersion defines the build of the agent along with a short git hash of the point in the repo when the agent as built.