gargantext-0.0.7.1.5.3: Search, map, share
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.API.Admin.EnvTypes

Synopsis

Documentation

data GargJob #

data Env #

Instances

Instances details
Generic Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Associated Types

type Rep Env :: Type -> Type #

Methods

from :: Env -> Rep Env x #

to :: Rep Env x -> Env #

HasSettings Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasMail Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNLPServer Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeArchiveStoryImmediateSaver Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeStoryEnv Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeStoryImmediateSaver Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasConfig Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasConnectionPool Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasJobEnv Env JobLog JobLog # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasEnv Env (Job JobLog JobLog) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasLogger (GargM Env BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

MonadLogger (GargM Env BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

MonadJobStatus (GargM Env err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Associated Types

type JobHandle (GargM Env err) #

type JobType (GargM Env err) #

type JobOutputType (GargM Env err) #

type JobEventType (GargM Env err) #

MonadJob (GargM Env err) GargJob (Seq JobLog) JobLog # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type Rep Env # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type LogInitParams (GargM Env BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type LogPayload (GargM Env BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

data Logger (GargM Env BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobEventType (GargM Env err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobHandle (GargM Env err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobOutputType (GargM Env err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobType (GargM Env err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobType (GargM Env err) = GargJob

data Mode #

Constructors

Dev 
Mock 
Prod 

Instances

Instances details
Generic Mode # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Associated Types

type Rep Mode :: Type -> Type #

Methods

from :: Mode -> Rep Mode x #

to :: Rep Mode x -> Mode #

Read Mode # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Show Mode # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Methods

showsPrec :: Int -> Mode -> ShowS #

show :: Mode -> String #

showList :: [Mode] -> ShowS #

type Rep Mode # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type Rep Mode = D1 ('MetaData "Mode" "Gargantext.API.Admin.EnvTypes" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Dev" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Mock" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Prod" 'PrefixI 'False) (U1 :: Type -> Type)))

modeToLoggingLevels :: Mode -> [LogLevel] #

Given the Mode the server is running in, it returns the list of allowed levels. For example for production we ignore everything which has priority lower than "warning".

mkJobHandle :: JobID 'Safe -> LoggerM (GargM Env err) JobLog -> ConcreteJobHandle err #

Creates a new concrete JobHandle, given its underlying JobID and the logging function to be used to report the status.

data MockEnv #

Constructors

MockEnv 

Instances

Instances details
Generic MockEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Associated Types

type Rep MockEnv :: Type -> Type #

Methods

from :: MockEnv -> Rep MockEnv x #

to :: Rep MockEnv x -> MockEnv #

type Rep MockEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type Rep MockEnv = D1 ('MetaData "MockEnv" "Gargantext.API.Admin.EnvTypes" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "MockEnv" 'PrefixI 'True) (S1 ('MetaSel ('Just "_menv_firewall") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FireWall)))

data DevEnv #

Instances

Instances details
HasSettings DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasMail DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNLPServer DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeArchiveStoryImmediateSaver DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeStoryEnv DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasNodeStoryImmediateSaver DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasConfig DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasConnectionPool DevEnv # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

HasLogger (GargM DevEnv BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

MonadLogger (GargM DevEnv BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

MonadJobStatus (GargM DevEnv err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

Associated Types

type JobHandle (GargM DevEnv err) #

type JobType (GargM DevEnv err) #

type JobOutputType (GargM DevEnv err) #

type JobEventType (GargM DevEnv err) #

type LogInitParams (GargM DevEnv BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type LogPayload (GargM DevEnv BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

data Logger (GargM DevEnv BackendInternalError) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobEventType (GargM DevEnv err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobHandle (GargM DevEnv err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobOutputType (GargM DevEnv err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

type JobType (GargM DevEnv err) # 
Instance details

Defined in Gargantext.API.Admin.EnvTypes

data DevJobHandle #

Our mock job handle.

Constructors

DevJobHandle 

data ConcreteJobHandle err #

The concrete JobHandle in use with our GargM (production) monad. Its constructor it's not exported, to not leak internal details of its implementation.