Safe Haskell | Safe-Infered |
---|
Web server for the metadata daemon.
Documentation
lookupInstanceParams :: MonadError String m => String -> Map String b -> m bSource
maybeResult :: MonadError String m => Result t -> (t -> m a) -> m aSource
serveOsParams :: String -> Map String JSValue -> MetaMSource
lookupSingleParam :: String -> JSObject JSValue -> Result StringSource
serveSingleOsParam :: String -> Map String JSValue -> String -> MetaMSource
serveOsPackage :: String -> Map String JSValue -> String -> MetaMSource
serveOsScript :: String -> Map String JSValue -> String -> MetaMSource
handleMetadata :: MVar InstanceParams -> Method -> String -> String -> String -> MetaMSource
routeMetadata :: MVar InstanceParams -> MetaMSource
defaultHttpConf :: DaemonOptions -> FilePath -> FilePath -> Config Snap ()Source
start :: DaemonOptions -> MVar InstanceParams -> IO ()Source