| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Config.Parser
Synopsis
- rejectSecretKeys :: KeyMap Value -> Parser ()
- parseRegistryUrl :: Value -> Parser RegistryUrl
- parseEnum :: (Text -> Either Text a) -> String -> Value -> Parser a
- valueKind :: Value -> String
- rejectUnknownKeys :: String -> [Key] -> KeyMap Value -> Parser ()
- parseUrl :: Value -> Parser Url
- parseHttpUrl :: String -> Value -> Parser Url
- parsePort :: String -> Int -> Parser Int
- parseCodeArtifactDuration :: String -> Value -> Parser Natural
Documentation
parseRegistryUrl :: Value -> Parser RegistryUrl Source #
parseHttpUrl :: String -> Value -> Parser Url Source #
An http(s) URL Écluse itself serves or rewrites against (the public URL):
the scheme must be http or https (http stays legal for loopback development
deployments), and the authority must be dialable by the same extraction the egress
gate authorises (hostPortAddress), so a value that cannot name a real listener is
refused at load instead of surfacing as rewritten artifact URLs no client can fetch.