keter-2.0.1: Web application deployment manager, focusing on Haskell web frameworks
Safe HaskellNone
LanguageHaskell98

Keter.Common

Description

Provides logging, versioning and some type aliases

Synopsis

Documentation

type Appname = Text Source #

Name of the application. Should just be the basename of the application file.

data Plugin Source #

Constructors

Plugin 

Fields

class ToCurrent a where Source #

Used for versioning data types.

Associated Types

type Previous a Source #

Methods

toCurrent :: Previous a -> a Source #

Instances

Instances details
ToCurrent RedirectConfig Source # 
Instance details

Defined in Keter.Config.V10

Associated Types

type Previous RedirectConfig Source #

ToCurrent StaticFilesConfig Source # 
Instance details

Defined in Keter.Config.V10

Associated Types

type Previous StaticFilesConfig Source #

ToCurrent KeterConfig Source # 
Instance details

Defined in Keter.Config.V10

Associated Types

type Previous KeterConfig Source #

ToCurrent BundleConfig Source # 
Instance details

Defined in Keter.Config.V10

Associated Types

type Previous BundleConfig Source #

ToCurrent a => ToCurrent (Maybe a) Source # 
Instance details

Defined in Keter.Common

Associated Types

type Previous (Maybe a) Source #

Methods

toCurrent :: Previous (Maybe a) -> Maybe a Source #

ToCurrent (WebAppConfig ()) Source # 
Instance details

Defined in Keter.Config.V10

Associated Types

type Previous (WebAppConfig ()) Source #

type Port = Int Source #

A port for an individual app to listen on.

type Host = CI Text Source #

A virtual host we want to serve content from.

data AppId Source #

Constructors

AIBuiltin 
AINamed !Appname 

Instances

Instances details
Eq AppId Source # 
Instance details

Defined in Keter.Common

Methods

(==) :: AppId -> AppId -> Bool #

(/=) :: AppId -> AppId -> Bool #

Ord AppId Source # 
Instance details

Defined in Keter.Common

Methods

compare :: AppId -> AppId -> Ordering #

(<) :: AppId -> AppId -> Bool #

(<=) :: AppId -> AppId -> Bool #

(>) :: AppId -> AppId -> Bool #

(>=) :: AppId -> AppId -> Bool #

max :: AppId -> AppId -> AppId #

min :: AppId -> AppId -> AppId #

Show AppId Source # 
Instance details

Defined in Keter.Common

Methods

showsPrec :: Int -> AppId -> ShowS #

show :: AppId -> String #

showList :: [AppId] -> ShowS #