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

Ganeti.WConfd.Ssconf

Description

Converts a configuration state into a Ssconf map.

As TemplateHaskell require that splices be defined in a separate module, we combine all the TemplateHaskell functionality that HTools needs in this module (except the one for unittests).

Synopsis

Documentation

newtype SSConf #

The data type used for representing the ssconf.

Constructors

SSConf 

Fields

Instances

Instances details
Show SSConf # 
Instance details

Defined in Ganeti.Ssconf

Methods

showsPrec :: Int -> SSConf -> ShowS

show :: SSConf -> String

showList :: [SSConf] -> ShowS

Eq SSConf # 
Instance details

Defined in Ganeti.Ssconf

Methods

(==) :: SSConf -> SSConf -> Bool

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

Ord SSConf # 
Instance details

Defined in Ganeti.Ssconf

Methods

compare :: SSConf -> SSConf -> Ordering

(<) :: SSConf -> SSConf -> Bool

(<=) :: SSConf -> SSConf -> Bool

(>) :: SSConf -> SSConf -> Bool

(>=) :: SSConf -> SSConf -> Bool

max :: SSConf -> SSConf -> SSConf

min :: SSConf -> SSConf -> SSConf

JSON SSConf # 
Instance details

Defined in Ganeti.Ssconf

Methods

readJSON :: JSValue -> Result SSConf

showJSON :: SSConf -> JSValue

readJSONs :: JSValue -> Result [SSConf]

showJSONs :: [SSConf] -> JSValue