nagios-config-0.1.0.0: EDSL to specify Nagios configuration files.

Safe HaskellSafe
LanguageHaskell2010

Nagios.Config.EDSL.Serialize

Documentation

data Field Source #

Constructors

Field String String 
Instances
Show Field Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

class Serializable x => ObjectType x where Source #

Methods

objectType :: x -> String Source #

objectSame :: x -> x -> Bool Source #

Instances
ObjectType ContactGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType Contact Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType TimePeriod Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType Command Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType ServiceGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType Service Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType HostGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType Host Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

ObjectType Object Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

class Serializable x where Source #

Methods

serialize :: x -> [Field] Source #

dependencies :: x -> [Object] Source #

Instances
Serializable ContactGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable Contact Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable TimePeriod Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable Command Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable ServiceGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable Service Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable HostGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable Host Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Serializable Object Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable v => Serializable (Weekday v) Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

class Encodable x where Source #

Minimal complete definition

encode

Instances
Encodable Bool Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable Int Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable String Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable HostNotificationOption Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable ServiceNotificationOption Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable ServiceState Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable ContactGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable Contact Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable TimePeriod Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable CommandApp Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable Command Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable Service Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable HostGroup Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable Host Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize

Encodable a => Encodable (Maybe a) Source # 
Instance details

Defined in Nagios.Config.EDSL.Serialize