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"`
Type string `json:"type"`
TypeDescription string `json:"type_description"`
Vendor string `json:"vendor"`
Version string `json:"version"`
// contains filtered or unexported fields
}
Info defines chassis release information
func (*Info) JSONString ¶
JSONString returns a string with the chassis information formatted as JSON under a top-level "chassis:" key
func (*Info) YAMLString ¶
YAMLString returns a string with the chassis information formatted as YAML under a top-level "dmi:" key
Click to show internal directories.
Click to hide internal directories.