You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
680 B
44 lines
680 B
package pcidevice
|
|
|
|
// Main information about PCI device
|
|
type ItemPCIDevice struct {
|
|
// CKey
|
|
CKey string `json:"_ckey"`
|
|
|
|
// Meta
|
|
Meta []interface{} `json:"_meta"`
|
|
|
|
// Compute ID
|
|
ComputeID uint64 `json:"computeId"`
|
|
|
|
// Description
|
|
Description string `json:"description"`
|
|
|
|
// GUID
|
|
GUID uint64 `json:"guid"`
|
|
|
|
// HwPath
|
|
HwPath string `json:"hwPath"`
|
|
|
|
// ID
|
|
ID uint64 `json:"id"`
|
|
|
|
// Name
|
|
Name string `json:"name"`
|
|
|
|
// Resource group ID
|
|
RGID uint64 `json:"rgId"`
|
|
|
|
// Stack ID
|
|
StackID uint64 `json:"stackId"`
|
|
|
|
// Status
|
|
Status string `json:"status"`
|
|
|
|
// System name
|
|
SystemName string `json:"systemName"`
|
|
}
|
|
|
|
// List PCI devices
|
|
type ListPCIDevices []ItemPCIDevice
|