Documentation
¶
Index ¶
Constants ¶
View Source
const ( CIM_PhysicalMemory string = "CIM_PhysicalMemory" CIM_PhysicalPackage string = "CIM_PhysicalPackage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` PullResponse PullResponse EnumerateResponse common.EnumerateResponse MemoryResponse PhysicalMemory }
Response Types
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func NewPhysicalMemoryWithClient ¶
func NewPhysicalMemoryWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Memory
NewPhysicalMemory returns a new instance of the PhysicalMemory struct.
type MemoryType ¶
type MemoryType int
Response Types
const ( MemoryTypeUnknown MemoryType = iota MemoryTypeOther MemoryTypeDRAM MemoryTypeSynchronous_DRAM MemoryTypeCache_DRAM MemoryTypeEDO MemoryTypeEDRAM MemoryTypeVRAM MemoryTypeSRAM MemoryTypeRAM MemoryTypeROM MemoryTypeFlash MemoryTypeEEPROM MemoryTypeFEPROM MemoryTypeEPROM MemoryTypeCDRAM MemoryType3DRAM MemoryTypeSDRAM MemoryTypeSGRAM MemoryTypeRDRAM MemoryTypeDDR MemoryTypeDDR2 MemoryTypeBRAM MemoryTypeFBDIMM MemoryTypeDDR3 MemoryTypeFBD2 MemoryTypeDDR4 MemoryTypeLPDDR MemoryTypeLPDDR2 MemoryTypeLPDDR3 MemoryTypeLPDDR4 MemoryTypeLogicalnonvolatiledevice MemoryTypeHBM MemoryTypeHBM2 MemoryTypeDDR5 MemoryTypeLPDDR5 MemoryTypeHBM3 )
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewPhysicalPackageWithClient ¶
func NewPhysicalPackageWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Package
NewPhysicalPackage returns a new instance of the PhysicalPackage struct.
type PhysicalMemory ¶
type PhysicalMemory struct { XMLName xml.Name `xml:"CIM_PhysicalMemory"` PartNumber string `xml:"PartNumber"` SerialNumber string `xml:"SerialNumber"` Manufacturer string `xml:"Manufacturer"` ElementName string `xml:"ElementName"` CreationClassName string `xml:"CreationClassName"` Tag string `xml:"Tag"` OperationalStatus models.OperationalStatus `xml:"OperationalStatus"` FormFactor int `xml:"FormFactor,omitempty"` MemoryType MemoryType `xml:"MemoryType,omitempty"` Speed int `xml:"Speed,omitempty"` Capacity int `xml:"Capacity,omitempty"` BankLabel string `xml:"BankLabel,omitempty"` ConfiguredMemoryClockSpeed int `xml:"ConfiguredMemoryClockSpeed,omitempty"` IsSpeedInMhz bool `xml:"IsSpeedInMhz,omitempty"` MaxMemorySpeed int `xml:"MaxMemorySpeed,omitempty"` }
Response Types
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` common.EnumerateResponse MemoryItems []PhysicalMemory `xml:"Items>CIM_PhysicalMemory"` PhysicalPackage []card.PackageResponse `xml:"Items>CIM_Card"` // This might need to be fixed if we get more than just CIM_Card back on a Pull call }
Response Types
Click to show internal directories.
Click to hide internal directories.