Documentation
¶
Overview ¶
Package models contain request and response structures used for the SAPControl Web Service Interface
Package models contain request and response structures used for the SAPControl Web Service Interface
Index ¶
- Constants
- type ABAPGetSystemWPTable
- type ABAPGetSystemWPTableResponse
- type AlertNode
- type ArrayOfOSProcess
- type ArrayOfSAPInstance
- type ArrayOfSystemWorkProcess
- type ArrayOfTaskHandlerQueue
- type CurrentSapInstance
- type EnqGetStatistic
- type EnqGetStatisticResponse
- type GetAlertTree
- type GetAlertTreeResponse
- type GetInstanceProperties
- type GetInstancePropertiesResponse
- type GetProcessList
- type GetProcessListResponse
- type GetQueueStatistic
- type GetQueueStatisticResponse
- type GetSystemInstanceList
- type GetSystemInstanceListResponse
- type InstanceProperty
- type OSProcess
- type SAPInstance
- type StateColor
- type StateColorCode
- type SystemWorkProcess
- type TaskHandlerQueue
Constants ¶
const ( StateColorGray StateColor = "SAPControl-GRAY" StateColorGreen StateColor = "SAPControl-GREEN" StateColorYellow StateColor = "SAPControl-YELLOW" StateColorRed StateColor = "SAPControl-RED" StateColorCodeGray StateColorCode = 1 StateColorCodeGreen StateColorCode = 2 StateColorCodeYellow StateColorCode = 3 StateColorCodeRed StateColorCode = 4 )
StateColor constant values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABAPGetSystemWPTable ¶
type ABAPGetSystemWPTable struct { XMLName xml.Name `xml:"urn:SAPControl ABAPGetSystemWPTable"` Activeonly bool `xml:"activeonly" json:"activeonly"` }
ABAPGetSystemWPTable is an xml request struct used to return a response struct
type ABAPGetSystemWPTableResponse ¶
type ABAPGetSystemWPTableResponse struct { XMLName xml.Name `xml:"urn:SAPControl ABAPGetSystemWPTableResponse"` Workprocess *ArrayOfSystemWorkProcess `xml:"workprocess" json:"workprocess"` }
ABAPGetSystemWPTableResponse is an xml response struct
type AlertNode ¶
type AlertNode struct { Name string `xml:"name" json:"name"` ActualValue StateColor `xml:"ActualValue" json:"ActualValue"` Description string `xml:"description" json:"description"` }
AlertNode is an xml response struct
type ArrayOfOSProcess ¶
type ArrayOfOSProcess struct {
Item []*OSProcess `xml:"item" json:"item"`
}
ArrayOfOSProcess is an xml response struct
type ArrayOfSAPInstance ¶
type ArrayOfSAPInstance struct {
Item []*SAPInstance `xml:"item" json:"item"`
}
ArrayOfSAPInstance is an xml response struct
type ArrayOfSystemWorkProcess ¶
type ArrayOfSystemWorkProcess struct {
Item []*SystemWorkProcess `xml:"item" json:"item"`
}
ArrayOfSystemWorkProcess is an xml response struct
type ArrayOfTaskHandlerQueue ¶
type ArrayOfTaskHandlerQueue struct {
Item []*TaskHandlerQueue `xml:"item" json:"item"`
}
ArrayOfTaskHandlerQueue is an xml response struct
type CurrentSapInstance ¶
CurrentSapInstance is a struct to hold the instance xml instant property response values
type EnqGetStatistic ¶
EnqGetStatistic is an xml request struct used to return a response struct
type EnqGetStatisticResponse ¶
type EnqGetStatisticResponse struct { XMLName xml.Name `xml:"urn:SAPControl EnqStatistic"` LocksNow *int32 `xml:"locks-now" json:"locks-now"` LocksHigh *int32 `xml:"locks-high" json:"locks-high"` LocksMax *int32 `xml:"locks-max" json:"locks-max"` EnqueueErrors *int64 `xml:"enqueue-errors" json:"enqueue-errors"` DequeueErrors *int64 `xml:"dequeue-errors" json:"dequeue-errors"` LockTime *float64 `xml:"lock-time" json:"lock-time"` LockWaitTime *float64 `xml:"lock-wait-time" json:"lock-wait-time"` }
EnqGetStatisticResponse is an xml response struct
type GetAlertTree ¶
GetAlertTree is an xml request struct used to return a response struct
type GetAlertTreeResponse ¶
type GetAlertTreeResponse struct { XMLName xml.Name `xml:"urn:SAPControl GetAlertTreeResponse"` AlertNode []*AlertNode `xml:"tree>item" json:"tree>item"` }
GetAlertTreeResponse is an xml response struct
type GetInstanceProperties ¶
GetInstanceProperties is an xml request struct used to return a response struct
type GetInstancePropertiesResponse ¶
type GetInstancePropertiesResponse struct { XMLName xml.Name `xml:"urn:SAPControl GetInstancePropertiesResponse"` Properties []*InstanceProperty `xml:"properties>item" json:"properties>item"` }
GetInstancePropertiesResponse is an xml response struct
type GetProcessList ¶
GetProcessList is an xml request struct used to return a response struct
type GetProcessListResponse ¶
type GetProcessListResponse struct { XMLName xml.Name `xml:"urn:SAPControl GetProcessListResponse"` Process *ArrayOfOSProcess `xml:"process" json:"process"` }
GetProcessListResponse is an xml response struct
type GetQueueStatistic ¶
GetQueueStatistic is an xml request struct used to return a response struct
type GetQueueStatisticResponse ¶
type GetQueueStatisticResponse struct { XMLName xml.Name `xml:"urn:SAPControl GetQueueStatisticResponse"` Queue *ArrayOfTaskHandlerQueue `xml:"queue" json:"queue"` }
GetQueueStatisticResponse is an xml response struct
type GetSystemInstanceList ¶
type GetSystemInstanceList struct { XMLName xml.Name `xml:"urn:SAPControl GetSystemInstanceList"` Timeout int32 `xml:"timeout" json:"timeout"` }
GetSystemInstanceList is an xml request struct used to return a response struct
type GetSystemInstanceListResponse ¶
type GetSystemInstanceListResponse struct { XMLName xml.Name `xml:"urn:SAPControl GetSystemInstanceListResponse"` Instance *ArrayOfSAPInstance `xml:"instance" json:"instance"` }
GetSystemInstanceListResponse is an xml response struct
type InstanceProperty ¶
type InstanceProperty struct { Property string `xml:"property" json:"property"` Value string `xml:"value" json:"value"` }
InstanceProperty is an xml response struct
type OSProcess ¶
type OSProcess struct { Name string `xml:"name" json:"name"` Description string `xml:"description" json:"description"` Dispstatus *StateColor `xml:"dispstatus" json:"dispstatus"` Textstatus string `xml:"textstatus" json:"textstatus"` Starttime string `xml:"starttime" json:"starttime"` Elapsedtime string `xml:"elapsedtime" json:"elapsedtime"` Pid int32 `xml:"pid" json:"pid"` }
OSProcess is an xml response struct
type SAPInstance ¶
type SAPInstance struct { Hostname string `xml:"hostname" json:"hostname"` InstanceNr int32 `xml:"instanceNr" json:"instanceNr"` StartPriority string `xml:"startPriority" json:"startPriority"` Features string `xml:"features" json:"features"` Dispstatus StateColor `xml:"dispstatus" json:"dispstatus"` }
SAPInstance is an xml response struct
type SystemWorkProcess ¶
type SystemWorkProcess struct { Instance string `xml:"Instance" json:"Instance"` No int32 `xml:"No" json:"No"` Typ string `xml:"Typ" json:"Typ"` Pid int32 `xml:"Pid" json:"Pid"` Status string `xml:"Status" json:"Status"` Reason string `xml:"Reason" json:"Reason"` Start string `xml:"Start" json:"Start"` Err string `xml:"Err" json:"Err"` Sem string `xml:"Sem" json:"Sem"` CPU string `xml:"Cpu" json:"Cpu"` Time string `xml:"Time" json:"Time"` Program string `xml:"Program" json:"Program"` Client string `xml:"Client" json:"Client"` User string `xml:"User" json:"User"` Action string `xml:"Action" json:"Action"` Table string `xml:"Table" json:"Table"` }
SystemWorkProcess is an xml response struct