Documentation
¶
Index ¶
Constants ¶
View Source
const (
OUT_OF_SPEC = "<OUT OF SPEC>"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainedElementType ¶
type ContainedElementType byte
type ContainedElements ¶
type ContainedElements struct {
Type ContainedElementType
Minimum byte
Maximum byte
}
type Information ¶
type Information struct {
smbios.Header
Manufacturer string `json:"manufacturer,omitempty"`
Type Type `json:"type,omitempty"`
Lock Lock `json:"lock,omitempty"`
Version string `json:"version,omitempty"`
AssetTag string `json:"asset_tag,omitempty"`
SerialNumber string `json:"serial_number,omitempty"`
BootUpState State `json:"boot_up_state,omitempty"`
PowerSupplyState State `json:"power_supply_state,omitempty"`
ThermalState State `json:"thermal_state,omitempty"`
SecurityStatus SecurityStatus `json:"security_status,omitempty"`
OEMdefined uint16 `json:"oe_mdefined,omitempty"`
Height Height `json:"height,omitempty"`
NumberOfPowerCords byte `json:"number_of_power_cords,omitempty"`
ContainedElementCount byte `json:"contained_element_count,omitempty"`
ContainedElementRecordLength byte `json:"contained_element_record_length,omitempty"`
ContainedElements ContainedElements `json:"contained_elements,omitempty"`
SKUNumber string `json:"sku_number,omitempty"`
}
Information 底座信息
func (Information) String ¶
func (c Information) String() string
type SecurityStatus ¶
type SecurityStatus byte
const ( ChassisSecurityStatusOther SecurityStatus = 1 + iota ChassisSecurityStatusUnknown ChassisSecurityStatusNone ChassisSecurityStatusExternalInterfaceLockedOut ChassisSecurityStatusExternalInterfaceEnabled )
func (SecurityStatus) String ¶
func (s SecurityStatus) String() string
type Type ¶
type Type byte
Type Chssis 类型
const ( Other Type = 1 + iota Unknown Desktop LowProfileDesktop PizzaBox MiniTower Tower Portable Laptop Notebook HandHeld DockingStation AllinOne SubNotebook SpaceSaving LunchBox MainServerChassis ExpansionChassis SubChassis BusExpansionChassis PeripheralChassis RAIDChassis RackMountChassis SealedcasePC MultiSystem CompactPCI AdvancedTCA Blade BladeEnclosure )
Click to show internal directories.
Click to hide internal directories.