ganeti
Safe HaskellNone

Ganeti.DataCollectors.InstStatusTypes

Description

Type declarations specific for the instance status data collector.

Synopsis

Documentation

data InstStatus Source #

Data type representing the status of an instance to be returned.

Constructors

InstStatus 

Instances

Instances details
Eq InstStatus # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

(==) :: InstStatus -> InstStatus -> Bool

(/=) :: InstStatus -> InstStatus -> Bool

Show InstStatus # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

showsPrec :: Int -> InstStatus -> ShowS

show :: InstStatus -> String

showList :: [InstStatus] -> ShowS

JSON InstStatus # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

readJSON :: JSValue -> Result InstStatus

showJSON :: InstStatus -> JSValue

readJSONs :: JSValue -> Result [InstStatus]

showJSONs :: [InstStatus] -> JSValue

ArrayObject InstStatus # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

toJSArray :: InstStatus -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result InstStatus Source #

DictObject InstStatus # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

toDict :: InstStatus -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result InstStatus Source #

fromDict :: [(String, JSValue)] -> Result InstStatus Source #

loadInstStatus :: JSValue -> Result InstStatus Source #

data ReportData Source #

Instances

Instances details
Eq ReportData # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

(==) :: ReportData -> ReportData -> Bool

(/=) :: ReportData -> ReportData -> Bool

Show ReportData # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

showsPrec :: Int -> ReportData -> ShowS

show :: ReportData -> String

showList :: [ReportData] -> ShowS

JSON ReportData # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

readJSON :: JSValue -> Result ReportData

showJSON :: ReportData -> JSValue

readJSONs :: JSValue -> Result [ReportData]

showJSONs :: [ReportData] -> JSValue

ArrayObject ReportData # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

toJSArray :: ReportData -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result ReportData Source #

DictObject ReportData # 
Instance details

Defined in Ganeti.DataCollectors.InstStatusTypes

Methods

toDict :: ReportData -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result ReportData Source #

fromDict :: [(String, JSValue)] -> Result ReportData Source #

loadReportData :: JSValue -> Result ReportData Source #