ganeti-3.1: Cluster-based virtualization management software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ganeti.Storage.Diskstats.Types

Description

Diskstats data types

This module holds the definition of the data types describing the status of the disks according to the information contained in procdiskstats.

Synopsis

Documentation

data Diskstats #

This is the format of the report produced by each data collector.

Constructors

Diskstats 

Fields

Instances

Instances details
Show Diskstats # 
Instance details

Defined in Ganeti.Storage.Diskstats.Types

Methods

showsPrec :: Int -> Diskstats -> ShowS

show :: Diskstats -> String

showList :: [Diskstats] -> ShowS

ArrayObject Diskstats # 
Instance details

Defined in Ganeti.Storage.Diskstats.Types

Methods

toJSArray :: Diskstats -> [JSValue] #

fromJSArray :: [JSValue] -> Result Diskstats #

DictObject Diskstats # 
Instance details

Defined in Ganeti.Storage.Diskstats.Types

Methods

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

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

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

Eq Diskstats # 
Instance details

Defined in Ganeti.Storage.Diskstats.Types

Methods

(==) :: Diskstats -> Diskstats -> Bool

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

JSON Diskstats # 
Instance details

Defined in Ganeti.Storage.Diskstats.Types

Methods

readJSON :: JSValue -> Result Diskstats

showJSON :: Diskstats -> JSValue

readJSONs :: JSValue -> Result [Diskstats]

showJSONs :: [Diskstats] -> JSValue