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

Ganeti.Storage.Lvm.Types

Description

LVM data types

This module holds the definition of the data types describing the status of the disks according to LVM (and particularly the lvs tool).

Synopsis

Documentation

data LVInfo #

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

Constructors

LVInfo 

Fields

Instances

Instances details
Show LVInfo # 
Instance details

Defined in Ganeti.Storage.Lvm.Types

Methods

showsPrec :: Int -> LVInfo -> ShowS

show :: LVInfo -> String

showList :: [LVInfo] -> ShowS

ArrayObject LVInfo # 
Instance details

Defined in Ganeti.Storage.Lvm.Types

Methods

toJSArray :: LVInfo -> [JSValue] #

fromJSArray :: [JSValue] -> Result LVInfo #

DictObject LVInfo # 
Instance details

Defined in Ganeti.Storage.Lvm.Types

Methods

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

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

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

Eq LVInfo # 
Instance details

Defined in Ganeti.Storage.Lvm.Types

Methods

(==) :: LVInfo -> LVInfo -> Bool

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

JSON LVInfo # 
Instance details

Defined in Ganeti.Storage.Lvm.Types

Methods

readJSON :: JSValue -> Result LVInfo

showJSON :: LVInfo -> JSValue

readJSONs :: JSValue -> Result [LVInfo]

showJSONs :: [LVInfo] -> JSValue