Documentation ¶
Overview ¶
Package alarmclock facilitates communication with Intel® AMT devices to represent a single alarm clock setting.
Index ¶
- Constants
- type AlarmClockOccurrence
- type Body
- type Occurrence
- func (occurrence Occurrence) Delete(handle string) (response Response, err error)
- func (occurrence Occurrence) Enumerate() (response Response, err error)
- func (occurrence Occurrence) Get(alarmName string) (response Response, err error)
- func (occurrence Occurrence) Pull(enumerationContext string) (response Response, err error)
- type PullResponse
- type Response
Constants ¶
View Source
const IPSAlarmClockOccurrence string = "IPS_AlarmClockOccurrence"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmClockOccurrence ¶
type AlarmClockOccurrence struct { XMLName xml.Name `xml:"IPS_AlarmClockOccurrence"` ElementName string InstanceID string StartTime string Interval string DeleteOnCompletion bool }
OUTPUT Response Types.
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` PullResponse PullResponse `xml:"PullResponse"` EnumerateResponse common.EnumerateResponse GetResponse AlarmClockOccurrence `xml:"IPS_AlarmClockOccurrence"` }
OUTPUT Response Types.
type Occurrence ¶
type Occurrence struct {
// contains filtered or unexported fields
}
func NewAlarmClockOccurrenceWithClient ¶
func NewAlarmClockOccurrenceWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Occurrence
NewAlarmClockOccurrence returns a new instance of the AlarmClockOccurrence struct.
func (Occurrence) Delete ¶
func (occurrence Occurrence) Delete(handle string) (response Response, err error)
Delete removes a the specified instance.
func (Occurrence) Enumerate ¶
func (occurrence Occurrence) Enumerate() (response Response, err error)
Enumerate returns an enumeration context which is used in a subsequent Pull call.
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` Items []AlarmClockOccurrence `xml:"Items>IPS_AlarmClockOccurrence"` }
OUTPUT Response Types.
Click to show internal directories.
Click to hide internal directories.