ganeti

Safe HaskellSafe-Infered

Ganeti.Query.Server

Description

Implementation of the Ganeti Query2 server.

Synopsis

Documentation

withLockedWconfdConfig :: (MonadBase IO m, MonadError GanetiException m) => ClientId -> (ConfigData -> RpcClientMonad a) -> m aSource

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

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

handleUuidQuery :: ConfigData -> ItemType -> [Either String Integer] -> [String] -> Bool -> IO (GenericResult GanetiException 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.