managementpresence

package
v2.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package managementpresence facilitiates communication with Intel® AMT devices to configure Management Presence Remote Service Access Points (or an MPS) to be accessed by the Intel® AMT subsystem from remote.

Index

Constants

View Source
const (
	AMT_ManagementPresenceRemoteSAP string = "AMT_ManagementPresenceRemoteSAP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

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

OUTPUTS Response Types

type InfoFormat

type InfoFormat int

OUTPUTS Response Types

const (
	InfoFormatOther InfoFormat = iota + 1
	InfoFormatHostName
	InfoFormatIPv4Address
	InfoFormatIPv6Address
	InfoFormatIPXAddress
	InfoFormatDECnetAddress
	InfoFormatSNAAddress
	InfoFormatAutonomousSystemNumber
	InfoFormatMPLSLabel
	InfoFormatIPv4SubnetAddress
	InfoFormatIPv6SubnetAddress
	InfoFormatIPv4AddressRange
	InfoFormatIPv6AddressRange
	InfoFormatDialString        InfoFormat = 100
	InfoFormatEthernetAddress   InfoFormat = 101
	InfoFormatTokenRingAddress  InfoFormat = 102
	InfoFormatATMAddress        InfoFormat = 103
	InfoFormatFrameRelayAddress InfoFormat = 104
	InfoFormatURL               InfoFormat = 200
	InfoFormatFQDN              InfoFormat = 201
	InfoFormatUserFQDN          InfoFormat = 202
	InfoFormatDERASN1DN         InfoFormat = 203
	InfoFormatDERASN1GN         InfoFormat = 204
	InfoFormatKeyID             InfoFormat = 205
	InfoFormatParameterizedURL  InfoFormat = 206
)

func (InfoFormat) String added in v2.2.4

func (i InfoFormat) String() string

String returns a string representation of a InfoFormatString value.

type ManagementRemoteResponse

type ManagementRemoteResponse struct {
	XMLName                 xml.Name   `xml:"AMT_ManagementPresenceRemoteSAP"`
	AccessInfo              string     `xml:"AccessInfo,omitempty"`              // Access or addressing information or a combination of this information for a remote connection. This information can be a host name, network address, or similar information.
	CN                      string     `xml:"CN,omitempty"`                      // A common name used when AccessInfo is an IP address.
	CreationClassName       string     `xml:"CreationClassName,omitempty"`       // 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,omitempty"`             // A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information. Note that the Name property of ManagedSystemElement is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties. Note that if there is an associated instance of CIM_EnabledLogicalElementCapabilities, restrictions on this properties may exist as defined in ElementNameMask and MaxElementNameLen properties defined in that class.
	InfoFormat              InfoFormat `xml:"InfoFormat,omitempty"`              // An enumerated integer that describes the format and interpretation of the AccessInfo property.
	Name                    string     `xml:"Name,omitempty"`                    // The Name property uniquely identifies the ServiceAccessPoint and provides an indication of the functionality that is managed. This functionality is described in more detail in the Description property of the object.
	Port                    int        `xml:"Port,omitempty"`                    // The port to be used to establish a tunnel with the MPS.
	SystemCreationClassName string     `xml:"SystemCreationClassName,omitempty"` // The CreationClassName of the scoping System.
	SystemName              string     `xml:"SystemName,omitempty"`              // The Name of the scoping System.
}

OUTPUTS Response Types

type PullResponse

type PullResponse struct {
	XMLName               xml.Name                   `xml:"PullResponse"`
	ManagementRemoteItems []ManagementRemoteResponse `xml:"Items>AMT_ManagementPresenceRemoteSAP"`
}

OUTPUTS Response Types

type RemoteSAP

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

func NewManagementPresenceRemoteSAPWithClient

func NewManagementPresenceRemoteSAPWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) RemoteSAP

NewManagementPresenceRemoteSAPWithClient instantiates a new RemoteSAP

func (RemoteSAP) Delete

func (remoteSAP RemoteSAP) Delete(handle string) (response Response, err error)

Delete removes a the specified instance

func (RemoteSAP) Enumerate

func (remoteSAP RemoteSAP) Enumerate() (response Response, err error)

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

func (RemoteSAP) Get

func (remoteSAP RemoteSAP) Get() (response Response, err error)

Get retrieves the representation of the instance

func (RemoteSAP) Pull

func (remoteSAP RemoteSAP) 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 Response

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

OUTPUTS 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

Jump to

Keyboard shortcuts

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