Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { AssetTag string `json:"asset_tag"` SerialNumber string `json:"serial_number"` Vendor string `json:"vendor"` Version string `json:"version"` Product string `json:"product"` // contains filtered or unexported fields }
Info defines baseboard release information
func New ¶
New returns a pointer to an Info struct containing information about the host's baseboard
func (*Info) JSONString ¶
JSONString returns a string with the baseboard information formatted as JSON under a top-level "baseboard:" key
func (*Info) YAMLString ¶
YAMLString returns a string with the baseboard information formatted as YAML under a top-level "dmi:" key
Click to show internal directories.
Click to hide internal directories.