Safe Haskell | None |
---|
Keter.Types.V10
- data BundleConfig = BundleConfig {
- bconfigStanzas :: !(Vector (Stanza ()))
- bconfigPlugins :: !Object
- data ListeningPort
- data KeterConfig = KeterConfig {}
- data Stanza port
- data ProxyAction
- addStanzaType :: ToJSON a => Value -> a -> Value
- data StaticFilesConfig = StaticFilesConfig {
- sfconfigRoot :: !FilePath
- sfconfigHosts :: !(Set Host)
- sfconfigListings :: !Bool
- data RedirectConfig = RedirectConfig {
- redirconfigHosts :: !(Set Host)
- redirconfigStatus :: !Int
- redirconfigActions :: !(Vector RedirectAction)
- data RedirectAction = RedirectAction {
- raSourcePath :: !SourcePath
- raRedirectDest :: !RedirectDest
- raSourceSecure :: !(Maybe Bool)
- data SourcePath
- = SPAny
- | SPSpecific !Text
- data RedirectDest
- type IsSecure = Bool
- data WebAppConfig port = WebAppConfig {
- waconfigExec :: !FilePath
- waconfigArgs :: !(Vector Text)
- waconfigEnvironment :: !(Map Text Text)
- waconfigApprootHost :: !Text
- waconfigHosts :: !(Set Text)
- waconfigSsl :: !Bool
- waconfigPort :: !port
- data AppInput
- = AIBundle !FilePath !EpochTime
- | AIData !BundleConfig
- data BackgroundConfig = BackgroundConfig {}
- data RestartCount
Documentation
data BundleConfig Source
Constructors
BundleConfig | |
Fields
|
data ListeningPort Source
Constructors
LPSecure !HostPreference !Port !FilePath !FilePath | |
LPInsecure !HostPreference !Port |
Instances
data KeterConfig Source
Constructors
KeterConfig | |
Fields
|
data ProxyAction Source
An action to be performed for a requested hostname.
This datatype is very similar to Stanza, but is necessarily separate since:
- Webapps will be assigned ports.
- Not all stanzas have an associated proxy action.
Constructors
PAPort Port | |
PAStatic StaticFilesConfig | |
PARedirect RedirectConfig | |
PAReverseProxy ReverseProxyConfig |
Instances
addStanzaType :: ToJSON a => Value -> a -> ValueSource
data StaticFilesConfig Source
Constructors
StaticFilesConfig | |
Fields
|
data RedirectConfig Source
Constructors
RedirectConfig | |
Fields
|
data RedirectAction Source
Constructors
RedirectAction | |
Fields
|
data RedirectDest Source
Instances
data WebAppConfig port Source
Constructors
WebAppConfig | |
Fields
|
Instances
Show port => Show (WebAppConfig port) | |
ToJSON (WebAppConfig ()) | |
ParseYamlFile (WebAppConfig ()) | |
ToCurrent (WebAppConfig ()) |
data BackgroundConfig Source
Constructors
BackgroundConfig | |
Fields
|