Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ElasticSearchConfig = ElasticSearchConfig {
- esServer :: !Text
- esIndex :: !Text
- esShardCount :: !Int
- esReplicaCount :: !Int
- esMapping :: !Text
- esLogin :: Maybe (EsUsername, EsPassword)
- esLoginInsecure :: !Bool
- defaultElasticSearchConfig :: ElasticSearchConfig
- newtype EsUsername = EsUsername {
- esUsername :: Text
- newtype EsPassword = EsPassword {
- esPassword :: Text
Documentation
data ElasticSearchConfig Source #
Configuration for the Elasticsearch Logger
. See
https://www.elastic.co/guide/en/elasticsearch/reference/current/glossary.html
for the explanation of terms.
ElasticSearchConfig | |
|
Instances
Eq ElasticSearchConfig Source # | |
Defined in Log.Backend.ElasticSearch.V5.Internal (==) :: ElasticSearchConfig -> ElasticSearchConfig -> Bool # (/=) :: ElasticSearchConfig -> ElasticSearchConfig -> Bool # | |
Show ElasticSearchConfig Source # | |
Defined in Log.Backend.ElasticSearch.V5.Internal showsPrec :: Int -> ElasticSearchConfig -> ShowS # show :: ElasticSearchConfig -> String # showList :: [ElasticSearchConfig] -> ShowS # |
defaultElasticSearchConfig :: ElasticSearchConfig Source #
Sensible defaults for ElasticSearchConfig
.
newtype EsUsername #
Username type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Eq EsUsername | |
Defined in Database.V5.Bloodhound.Internal.Client (==) :: EsUsername -> EsUsername -> Bool # (/=) :: EsUsername -> EsUsername -> Bool # | |
Read EsUsername | |
Defined in Database.V5.Bloodhound.Internal.Client readsPrec :: Int -> ReadS EsUsername # readList :: ReadS [EsUsername] # readPrec :: ReadPrec EsUsername # readListPrec :: ReadPrec [EsUsername] # | |
Show EsUsername | |
Defined in Database.V5.Bloodhound.Internal.Client showsPrec :: Int -> EsUsername -> ShowS # show :: EsUsername -> String # showList :: [EsUsername] -> ShowS # |
newtype EsPassword #
Password type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Eq EsPassword | |
Defined in Database.V5.Bloodhound.Internal.Client (==) :: EsPassword -> EsPassword -> Bool # (/=) :: EsPassword -> EsPassword -> Bool # | |
Read EsPassword | |
Defined in Database.V5.Bloodhound.Internal.Client readsPrec :: Int -> ReadS EsPassword # readList :: ReadS [EsPassword] # readPrec :: ReadPrec EsPassword # readListPrec :: ReadPrec [EsPassword] # | |
Show EsPassword | |
Defined in Database.V5.Bloodhound.Internal.Client showsPrec :: Int -> EsPassword -> ShowS # show :: EsPassword -> String # showList :: [EsPassword] -> ShowS # |