ganeti

Safe HaskellSafe-Infered

Ganeti.MaintD.Server

Description

Implementation of the Ganeti maintenenace server.

Synopsis

Documentation

options :: [OptType]Source

Options list and functions.

type PrepResult = Config Snap ()Source

maintenance :: IORef MemoryState -> ResultT String IO ()Source

exposeState :: JSON a => (MemoryState -> a) -> IORef MemoryState -> Snap ()Source

httpInterface :: IORef MemoryState -> Snap ()Source

checkMain :: CheckFn CheckResultSource

Check function for luxid.

prepMain :: PrepFn CheckResult PrepResultSource

Prepare function for luxid.