Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Family string `json:"family"`
Name string `json:"name"`
Vendor string `json:"vendor"`
SerialNumber string `json:"serial_number"`
UUID string `json:"uuid"`
SKU string `json:"sku"`
Version string `json:"version"`
}
Info defines product information
func (*Info) JSONString ¶
JSONString returns a string with the product information formatted as JSON under a top-level "product:" key
func (*Info) YAMLString ¶
YAMLString returns a string with the product information formatted as YAML under a top-level "dmi:" key
Click to show internal directories.
Click to hide internal directories.