Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Provides logging, versioning and some type aliases
Synopsis
- type Appname = Text
- data Plugin = Plugin {}
- type Plugins = [Plugin]
- class ToCurrent a where
- type Port = Int
- type Host = CI Text
- type HostBS = CI ByteString
- getAppname :: FilePath -> Text
- data KeterException
- = CannotParsePostgres FilePath
- | ExitCodeFailure FilePath ExitCode
- | NoPortsAvailable
- | InvalidConfigFile ParseException
- | InvalidKeterConfigFile !FilePath !ParseException
- | CannotReserveHosts !AppId !(Map Host AppId)
- | FileNotExecutable !FilePath
- | ExecutableNotFound !FilePath
- | EnsureAliveShouldBeBiggerThenZero {
- keterExceptionGot :: !Int
- data AppId
- data SSLConfig
Documentation
Name of the application. Should just be the basename of the application file.
class ToCurrent a where Source #
Used for versioning data types.
Instances
ToCurrent BundleConfig Source # | |
Defined in Keter.Config.V10 type Previous BundleConfig Source # | |
ToCurrent KeterConfig Source # | |
Defined in Keter.Config.V10 type Previous KeterConfig Source # | |
ToCurrent RedirectConfig Source # | |
Defined in Keter.Config.V10 type Previous RedirectConfig Source # | |
ToCurrent StaticFilesConfig Source # | |
Defined in Keter.Config.V10 type Previous StaticFilesConfig Source # | |
ToCurrent (WebAppConfig ()) Source # | |
Defined in Keter.Config.V10 type Previous (WebAppConfig ()) Source # toCurrent :: Previous (WebAppConfig ()) -> WebAppConfig () Source # | |
ToCurrent a => ToCurrent (Maybe a) Source # | |
type HostBS = CI ByteString Source #
getAppname :: FilePath -> Text Source #
data KeterException Source #
Instances
Exception KeterException Source # | |
Defined in Keter.Common | |
Show KeterException Source # | |
Defined in Keter.Common showsPrec :: Int -> KeterException -> ShowS # show :: KeterException -> String # showList :: [KeterException] -> ShowS # |