computer

package
v2.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package computer facilitates communication with Intel® AMT devices in a way similar to the way that LogicalDevices are 'Realized' by PhysicalElements, however ComputerSystem may be realized realized in one or more PhysicalPackages.

The ComputerSystemPackage association explicitly defines this relationship.

Index

Constants

View Source
const CIMComputerSystemPackage string = "CIM_ComputerSystemPackage"

Variables

This section is empty.

Functions

This section is empty.

Types

type Antecedent

type Antecedent struct {
	XMLName             xml.Name `xml:"Antecedent,omitempty"`
	Address             string   `xml:"Address,omitempty"`
	ReferenceParameters ReferenceParameters
}

Response Types.

type Body

type Body struct {
	XMLName           xml.Name              `xml:"Body"`
	GetResponse       ComputerSystemPackage `xml:"CIM_ComputerSystemPackage"`
	EnumerateResponse common.EnumerateResponse
	PullResponse      PullResponse `xml:"PullResponse"`
}

Response Types.

type ComputerSystemPackage

type ComputerSystemPackage struct {
	Antecedent   Antecedent // The PhysicalPackage(s) that realize a Unitary ComputerSystem.
	Dependent    Dependent  // The UnitaryComputerSystem.
	PlatformGUID string     `xml:"PlatformGUID,omitempty"` // A Gloabally Unique Identifier for the System's Package.
}

Response Types.

type Dependent

type Dependent struct {
	XMLName             xml.Name `xml:"Dependent,omitempty"`
	Address             string   `xml:"Address,omitempty"`
	ReferenceParameters ReferenceParameters
}

Response Types.

type PullResponse

type PullResponse struct {
	Items []ComputerSystemPackage `xml:"Items>CIM_ComputerSystemPackage"`
}

Response Types.

type ReferenceParameters

type ReferenceParameters struct {
	XMLName     xml.Name    `xml:"ReferenceParameters"`
	ResourceURI string      `xml:"ResourceURI,omitempty"`
	SelectorSet SelectorSet `xml:"SelectorSet,omitempty"`
}

Response Types.

type Response

type Response struct {
	*client.Message
	XMLName xml.Name       `xml:"Envelope"`
	Header  message.Header `xml:"Header"`
	Body    Body           `xml:"Body"`
}

Response Types.

func (*Response) JSON

func (r *Response) JSON() string

JSON marshals the type into JSON format.

func (*Response) YAML

func (r *Response) YAML() string

YAML marshals the type into YAML format.

type Selector

type Selector struct {
	XMLName xml.Name `xml:"Selector,omitempty"`
	Name    string   `xml:"Name,attr"`
	Value   string   `xml:",chardata"`
}

Response Types.

type SelectorSet

type SelectorSet struct {
	XMLName  xml.Name `xml:"SelectorSet,omitempty"`
	Selector []Selector
}

Response Types.

type SystemPackage

type SystemPackage struct {
	// contains filtered or unexported fields
}

func NewComputerSystemPackageWithClient

func NewComputerSystemPackageWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) SystemPackage

NewComputerSystemPackage returns a new instance of the ComputerSystemPackage struct.

func (SystemPackage) Enumerate

func (systemPackage SystemPackage) Enumerate() (response Response, err error)

Enumerate returns an enumeration context which is used in a subsequent Pull call.

func (SystemPackage) Get

func (systemPackage SystemPackage) Get() (response Response, err error)

Get retrieves the representation of the instance.

func (SystemPackage) Pull

func (systemPackage SystemPackage) Pull(enumerationContext string) (response Response, err error)

Pull returns the instances of this class. An enumeration context provided by the Enumerate call is used as input.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL