keter-1.3.4: Web application deployment manager, focusing on Haskell web frameworks

Safe HaskellNone

Keter.Types.Common

Synopsis

Documentation

type Appname = TextSource

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

data Plugin Source

Constructors

Plugin 

Fields

pluginGetEnv :: Appname -> Object -> IO [(Text, Text)]
 

class ToCurrent a whereSource

Used for versioning data types.

Associated Types

type Previous a Source

Methods

toCurrent :: Previous a -> aSource

type Port = IntSource

A port for an individual app to listen on.

type Host = CI TextSource

A virtual host we want to serve content from.

logEx :: Q ExpSource

data AppId Source

Constructors

AIBuiltin 
AINamed !Appname 

Instances

Eq AppId 
Ord AppId 
Show AppId 

data FilePath

Instances

Eq FilePath 
Data FilePath 
Ord FilePath 
Show FilePath 
Typeable FilePath 
IsString FilePath 
Monoid FilePath 
NFData FilePath 
ParseYamlFile FilePath 

data Text

A space efficient, packed, unboxed Unicode text type.

Instances

Eq Text 
Data Text

This instance preserves data abstraction at the cost of inefficiency. We omit reflection services for the sake of data abstraction.

This instance was created by copying the updated behavior of Data.Set.Set and Data.Map.Map. If you feel a mistake has been made, please feel free to submit improvements.

The original discussion is archived here: could we get a Data instance for Data.Text.Text?

The followup discussion that changed the behavior of Set and Map is archived here: Proposal: Allow gunfold for Data.Map, ...

Ord Text 
Read Text 
Show Text 
Typeable Text 
IsString Text 
ToJSON Text 
FromJSON Text 
Chunk Text 
Monoid Text 
FoldCase Text 
Hashable Text 
Semigroup Text 
NFData Text 
~ * a Text => IsString (Parser a) 
ToJSON v => ToJSON (HashMap Text v) 
ToJSON v => ToJSON (Map Text v) 
FromJSON v => FromJSON (HashMap Text v) 
FromJSON v => FromJSON (Map Text v) 

data ByteString

A space-efficient representation of a Word8 vector, supporting many efficient operations.

A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

Instances

data Set a

Instances

Typeable1 Set 
Foldable Set 
Eq a => Eq (Set a) 
(Data a, Ord a) => Data (Set a) 
Ord a => Ord (Set a) 
(Read a, Ord a) => Read (Set a) 
Show a => Show (Set a) 
ToJSON a => ToJSON (Set a) 
(Ord a, FromJSON a) => FromJSON (Set a) 
Ord a => Monoid (Set a) 
Default (Set v) 
Ord a => Semigroup (Set a) 
NFData a => NFData (Set a) 
(ParseYamlFile a, Ord a) => ParseYamlFile (Set a) 

data Map k a

Instances

Typeable2 Map 
Functor (Map k) 
Foldable (Map k) 
Traversable (Map k) 
(Eq k, Eq a) => Eq (Map k a) 
(Data k, Data a, Ord k) => Data (Map k a) 
(Ord k, Ord v) => Ord (Map k v) 
(Ord k, Read k, Read e) => Read (Map k e) 
(Show k, Show a) => Show (Map k a) 
ToJSON v => ToJSON (Map String v) 
ToJSON v => ToJSON (Map Text v) 
ToJSON v => ToJSON (Map Text v) 
FromJSON v => FromJSON (Map String v) 
FromJSON v => FromJSON (Map Text v) 
FromJSON v => FromJSON (Map Text v) 
Ord k => Monoid (Map k v) 
Default (Map k v) 
Ord k => Semigroup (Map k v) 
(NFData k, NFData a) => NFData (Map k a) 

class (Typeable e, Show e) => Exception e

Instances

Exception SomeException 
Exception EventVarietyMismatchException 
Exception HttpException 
Exception NestedAtomically 
Exception NoMethodError 
Exception NonTermination 
Exception PatternMatchFail 
Exception RecConError 
Exception RecSelError 
Exception RecUpdError 
Exception ArithException 
Exception ErrorCall 
Exception ArrayException 
Exception AssertionFailed 
Exception BlockedIndefinitelyOnMVar 
Exception BlockedIndefinitelyOnSTM 
Exception Deadlock 
Exception AsyncException 
Exception IOException 
Exception ExitCode 
Exception InvalidAccess 
Exception FileNameError 
Exception TarBombError 
Exception PortabilityError 
Exception FormatError 
Exception UnicodeException 
Exception Void 
Exception TimeoutThread 
Exception WarpTLSException 
Exception ToEventRawException 
Exception ParseException 
Exception YamlException 
Exception KeterException 
Exception Timeout