Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
EvalAPI | |
|
Instances
Generic (EvalAPI auth f) Source # | |
type Rep (EvalAPI auth f) Source # | |
Defined in Hercules.API.Agent.Evaluate type Rep (EvalAPI auth f) = D1 (MetaData "EvalAPI" "Hercules.API.Agent.Evaluate" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "EvalAPI" PrefixI True) ((S1 (MetaSel (Just "tasksGetEvaluation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task EvaluateTask)) :> ("eval" :> (auth :> Get (JSON ': ([] :: [Type])) EvaluateTask)))))) :*: S1 (MetaSel (Just "tasksUpdateEvaluation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task EvaluateTask)) :> ("eval" :> (ReqBody (JSON ': ([] :: [Type])) [EvaluateEvent] :> (auth :> Post (JSON ': ([] :: [Type])) NoContent)))))))) :*: (S1 (MetaSel (Just "getDerivationStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("agent" :> ("build" :> (Capture "derivationPath" Text :> (auth :> Get (JSON ': ([] :: [Type])) (Maybe DerivationStatus))))))) :*: S1 (MetaSel (Just "getDerivationStatus2") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("agent" :> ("eval-build" :> (Capture "derivationPath" Text :> (auth :> Get (JSON ': ([] :: [Type])) (Maybe (UUID, DerivationStatus))))))))))) |