Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Used for management of applications.
Synopsis
- data AppManager
- data Action
- perform :: AppId -> Action -> KeterM AppManager ()
- reloadAppList :: Map Appname (FilePath, EpochTime) -> KeterM AppManager ()
- addApp :: FilePath -> KeterM AppManager ()
- terminateApp :: Appname -> KeterM AppManager ()
- initialize :: KeterM AppStartConfig AppManager
- renderApps :: AppManager -> STM Text
Types
data AppManager Source #
Actions
reloadAppList :: Map Appname (FilePath, EpochTime) -> KeterM AppManager () Source #
Reset which apps are running.
- Any app not listed here that is currently running will be terminated.
- Any app listed here that is currently running will be reloaded.
- Any app listed here that is not currently running will be started.
terminateApp :: Appname -> KeterM AppManager () Source #
Initialize
Show
renderApps :: AppManager -> STM Text Source #