Safe Haskell | None |
---|---|
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 LogMessage
- = ProcessCreated FilePath
- | InvalidBundle FilePath SomeException
- | ProcessDidNotStart FilePath
- | ExceptionThrown Text SomeException
- | RemovingPort Int
- | UnpackingBundle FilePath
- | TerminatingApp Text
- | FinishedReloading Text
- | TerminatingOldProcess AppId
- | RemovingOldFolder FilePath
- | ReceivedInotifyEvent Text
- | ProcessWaiting FilePath
- | OtherMessage Text
- | ErrorStartingBundle Text SomeException
- | SanityChecksPassed
- | ReservingHosts AppId (Set Host)
- | ForgetingReservations AppId (Set Host)
- | ActivatingApp AppId (Set Host)
- | DeactivatingApp AppId (Set Host)
- | ReactivatingApp AppId (Set Host) (Set Host)
- | WatchedFile Text FilePath
- | ReloadFrom (Maybe String) String
- | Terminating String
- | LaunchInitial
- | LaunchCli
- | StartWatching
- | StartListening
- | BindCli AddrInfo
- | ReceivedCliConnection SockAddr
- | KillingApp Port Text
- | ProxyException Request SomeException
- 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
- logEx :: Q Exp
- 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 RedirectConfig Source # | |
Defined in Keter.Config.V10 type Previous RedirectConfig Source # | |
ToCurrent StaticFilesConfig Source # | |
Defined in Keter.Config.V10 type Previous StaticFilesConfig Source # | |
ToCurrent KeterConfig Source # | |
Defined in Keter.Config.V10 type Previous KeterConfig Source # | |
ToCurrent BundleConfig Source # | |
Defined in Keter.Config.V10 type Previous BundleConfig Source # | |
ToCurrent a => ToCurrent (Maybe a) Source # | |
ToCurrent (WebAppConfig ()) Source # | |
Defined in Keter.Config.V10 type Previous (WebAppConfig ()) Source # toCurrent :: Previous (WebAppConfig ()) -> WebAppConfig () Source # |
type HostBS = CI ByteString Source #
getAppname :: FilePath -> Text Source #
data LogMessage Source #
Instances
Show LogMessage Source # | |
Defined in Keter.Common showsPrec :: Int -> LogMessage -> ShowS # show :: LogMessage -> String # showList :: [LogMessage] -> ShowS # |
data KeterException Source #
Instances
Show KeterException Source # | |
Defined in Keter.Common showsPrec :: Int -> KeterException -> ShowS # show :: KeterException -> String # showList :: [KeterException] -> ShowS # | |
Exception KeterException Source # | |
Defined in Keter.Common |