system

package
v2.1.10 Latest Latest
Warning

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

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

Documentation

Overview

Package system facilitates communication with Intel® AMT devices in a way similar to the way that LogicalDevices are 'Realized' by PhysicalElements, Systems can be associated with specific packaging or PhysicalElements.

This association explicitly defines the relationship between a System and its packaging.

Index

Constants

View Source
const CIM_SystemPackaging string = "CIM_SystemPackaging"

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"`
	EnumerateResponse common.EnumerateResponse
	PullResponse      PullResponse
}

Response Types

type Dependent

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

Response Types

type Package

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

func NewSystemPackageWithClient

func NewSystemPackageWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Package

NewSystemPackaging returns a new instance of the SystemPackaging struct.

func (Package) Enumerate

func (packaging Package) Enumerate() (response Response, err error)

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

func (Package) Pull

func (packaging Package) 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.

type PullResponse

type PullResponse struct {
	XMLName            xml.Name        `xml:"PullResponse"`
	SystemPackageItems []SystemPackage `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 {
	Antecedent   Antecedent // The PhysicalElements that provide the packaging of a System.
	Dependent    Dependent  // The System whose packaging is described.
	PlatformGUID string     `xml:"PlatformGUID,omitempty"` // A Globally Unique Identifier for the System's Package.
}

Response Types

Jump to

Keyboard shortcuts

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