Safe Haskell | None |
---|
Type declarations specific for the instance status data collector.
- data InstStatus = InstStatus {
- iStatName :: String
- iStatUuid :: String
- iStatAdminState :: AdminState
- iStatActualState :: ActualState
- iStatUptime :: Maybe String
- iStatMtime :: Double
- iStatStateReason :: ReasonTrail
- iStatStatus :: DCStatus
- loadInstStatus :: JSValue -> Result InstStatus
- saveInstStatus :: InstStatus -> JSValue
- toDictInstStatus :: InstStatus -> [(String, JSValue)]
- data ReportData = ReportData {}
- loadReportData :: JSValue -> Result ReportData
- saveReportData :: ReportData -> JSValue
- toDictReportData :: ReportData -> [(String, JSValue)]
Documentation
data InstStatus Source
Data type representing the status of an instance to be returned.
InstStatus | |
|
Eq InstStatus | |
Show InstStatus | |
JSON InstStatus |
loadInstStatus :: JSValue -> Result InstStatusSource
saveInstStatus :: InstStatus -> JSValueSource
toDictInstStatus :: InstStatus -> [(String, JSValue)]Source
data ReportData Source
Eq ReportData | |
Show ReportData | |
JSON ReportData |
loadReportData :: JSValue -> Result ReportDataSource
saveReportData :: ReportData -> JSValueSource
toDictReportData :: ReportData -> [(String, JSValue)]Source