Documentation ¶
Overview ¶
Package chip facilitates communication with Intel® AMT devices to represent any type of integrated circuit hardware, including ASICs, processors, memory chips, etc.
Index ¶
Constants ¶
View Source
const CIM_Chip string = "CIM_Chip"
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 PackageResponse PackageResponse }
Response Types
type OperationalStatus ¶
type OperationalStatus int
OperationalStatus is the current statuses of the element.
const ( OperationalStatusUnknown OperationalStatus = iota OperationalStatusOther OperationalStatusOK OperationalStatusDegraded OperationalStatusStressed OperationalStatusPredictiveFailure OperationalStatusError OperationalStatusNonRecoverableError OperationalStatusStarting OperationalStatusStopping OperationalStatusStopped OperationalStatusInService OperationalStatusNoContact OperationalStatusLostCommunication OperationalStatusAborted OperationalStatusDormant OperationalStatusSupportingEntityInError OperationalStatusCompleted OperationalStatusPowerMode OperationalStatusRelocating )
func (OperationalStatus) String ¶ added in v2.2.4
func (e OperationalStatus) String() string
String returns a human-readable string representation of the OperationalStatus enumeration
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewChipWithClient ¶
func NewChipWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Package
NewChip returns a new instance of the Chip struct.
func (Package) Enumerate ¶
Enumerate returns an enumeration context which is used in a subsequent Pull call
type PackageResponse ¶
type PackageResponse struct { XMLName xml.Name `xml:"CIM_Chip"` CanBeFRUed bool `xml:"CanBeFRUed"` // Boolean that indicates whether this PhysicalElement can be FRUed (TRUE) or not (FALSE). CreationClassName string `xml:"CreationClassName"` // CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified. ElementName string `xml:"ElementName"` Manufacturer string `xml:"Manufacturer"` // The name of the organization responsible for producing the PhysicalElement. This organization might be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product. OperationalStatus []OperationalStatus `xml:"OperationalStatus"` // Indicates the current statuses of the element. Tag string `xml:"Tag"` // An arbitrary string that uniquely identifies the Physical Element and serves as the key of the Element. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware or entity, regardless of physical placement in or on Cabinets, Adapters, and so on. For example, a hotswappable or removable component can be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy. Version string `xml:"Version"` // A string that indicates the version of the PhysicalElement. }
Response Types
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` ChipItems []PackageResponse `xml:"Items>CIM_Chip"` }
Response Types
Click to show internal directories.
Click to hide internal directories.