Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
AgentAPI | |
|
Instances
Generic (AgentAPI auth f) Source # | |
type Rep (AgentAPI auth f) Source # | |
Defined in Hercules.API.Agent type Rep (AgentAPI auth f) = D1 ('MetaData "AgentAPI" "Hercules.API.Agent" "hercules-ci-api-agent-0.4.1.1-Fi8uuPapFTnJxgNAUV7cyl" 'False) (C1 ('MetaCons "AgentAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ToServantApi (TasksAPI auth))) :*: S1 ('MetaSel ('Just "eval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ToServantApi (EvalAPI auth)))) :*: (S1 ('MetaSel ('Just "build") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ToServantApi (BuildAPI auth))) :*: (S1 ('MetaSel ('Just "lifeCycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ToServantApi (LifeCycleAPI auth))) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ToServantApi (StateAPI auth))))))) |
type AgentServantAPI auth = AddAPIVersion (ToServantApi (AgentAPI auth)) Source #
type AddAPIVersion api = "api" :> ("v1" :> api) Source #
servantApi :: Proxy (AgentServantAPI auth) Source #
type API auth = AgentServantAPI auth Source #