Documentation ¶
Index ¶
- Constants
- type Body
- type CanModifyOptInPolicy
- type CancelOptIn_OUTPUT
- type OptInCode
- type OptInRequired
- type OptInService
- type OptInServiceResponse
- type OptInState
- type PullResponse
- type Response
- type ReturnValue
- type SendOptInCode_OUTPUT
- type Service
- func (service Service) CancelOptIn() (response Response, err error)
- func (service Service) Enumerate() (response Response, err error)
- func (service Service) Get() (response Response, err error)
- func (service Service) Pull(enumerationContext string) (response Response, err error)
- func (service Service) SendOptInCode(optInCode int) (response Response, err error)
- func (service Service) StartOptIn() (response Response, err error)
- type StartOptIn_OUTPUT
Constants ¶
View Source
const IPS_OptInService string = "IPS_OptInService"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` EnumerateResponse common.EnumerateResponse GetResponse OptInServiceResponse `xml:"IPS_OptInService"` PullResponse PullResponse `xml:"PullResponse"` StartOptInResponse StartOptIn_OUTPUT `xml:"StartOptIn_OUTPUT"` CancelOptInResponse CancelOptIn_OUTPUT `xml:"CancelOptIn_OUTPUT"` SendOptInCodeResponse SendOptInCode_OUTPUT `xml:"SendOptInCode_OUTPUT"` }
OUTPUT Response Types
type CanModifyOptInPolicy ¶
type CanModifyOptInPolicy int
const ( FALSE CanModifyOptInPolicy = 0 TRUE CanModifyOptInPolicy = 1 )
type CancelOptIn_OUTPUT ¶
OUTPUT Response Types
type OptInCode ¶
type OptInCode struct { XMLName xml.Name `xml:"h:SendOptInCode_INPUT"` H string `xml:"xmlns:h,attr"` OptInCode int `xml:"h:OptInCode"` }
INPUT Request Types
type OptInRequired ¶
type OptInRequired uint32
const ( None OptInRequired = 0 KVM OptInRequired = 1 All OptInRequired = 4294967295 )
type OptInService ¶
type OptInService struct { XMLName xml.Name `xml:"h:IPS_OptInService"` H string `xml:"xmlns:h,attr"` Name string `xml:"h:Name,omitempty"` CreationClassName string `xml:"h:CreationClassName,omitempty"` SystemName string `xml:"h:SystemName,omitempty"` SystemCreationClassName string `xml:"h:SystemCreationClassName,omitempty"` ElementName string `xml:"h:ElementName,omitempty"` OptInCodeTimeout int `xml:"h:OptInCodeTimeout,omitempty"` OptInRequired OptInRequired `xml:"h:OptInRequired,omitempty"` OptInState OptInState `xml:"h:OptInState,omitempty"` CanModifyOptInPolicy CanModifyOptInPolicy `xml:"h:CanModifyOptInPolicy,omitempty"` OptInDisplayTimeout int `xml:"h:OptInDisplayTimeout,omitempty"` }
type OptInServiceResponse ¶
type OptInServiceResponse struct { XMLName xml.Name `xml:"IPS_OptInService"` Name string CreationClassName string SystemName string SystemCreationClassName string ElementName string OptInCodeTimeout int OptInRequired int OptInState int CanModifyOptInPolicy int OptInDisplayTimeout int }
OUTPUT Response Types
type OptInState ¶
type OptInState int
const ( NotStarted OptInState = iota Requested Displayed Received InSession )
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` OptInServiceItems []OptInServiceResponse `xml:"Items>IPS_OptInService"` }
OUTPUT Response Types
type Response ¶
type Response struct { *client.Message XMLName xml.Name `xml:"Envelope"` Header message.Header `xml:"Header"` Body Body `xml:"Body"` }
OUTPUT Response Types
type ReturnValue ¶
type ReturnValue int
const ( ReturnValuePTStatusSuccess ReturnValue = iota ReturnValuePTStatusInternalError ReturnValuePTStatusInvalidState ReturnValuePTStatusBlocked ReturnValuePTStatusFailedFFS )
type SendOptInCode_OUTPUT ¶
OUTPUT Response Types
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewOptInServiceWithClient ¶
func NewOptInServiceWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Service
NewOptInService returns a new instance of the OptInService struct.
func (Service) CancelOptIn ¶
Cancel a previous opt-in code request.
func (Service) Enumerate ¶
Enumerate returns an enumeration context which is used in a subsequent Pull call
func (Service) Pull ¶
Pull returns the instances of this class. An enumeration context provided by the Enumerate call is used as input.
func (Service) SendOptInCode ¶
Send the opt-in code to Intel® AMT.
func (Service) StartOptIn ¶
Request an opt-in code.
type StartOptIn_OUTPUT ¶
OUTPUT Response Types
Click to show internal directories.
Click to hide internal directories.