ganeti

Safe HaskellSafe-Infered

Ganeti.Query.Server

Description

Implementation of the Ganeti Query2 server.

Synopsis

Documentation

handleClassicQuery :: ConfigData -> ItemType -> [Either String Integer] -> [String] -> Bool -> IO (GenericResult GanetiException JSValue)Source

handleCall :: MVar () -> JQStatus -> ConfigData -> LuxiOp -> IO (ErrorResult JSValue)Source

computeJobUpdate :: ConfigData -> JobId -> [String] -> JSValue -> IO (JSValue, JSValue)Source

checkMain :: CheckFn ()Source

Check function for luxid.

prepMain :: PrepFn () PrepResultSource

Prepare function for luxid.

main :: MainFn () PrepResultSource

Main function.