hercules-ci-api-agent-0.5.0.0: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.API.Agent.Evaluate

Documentation

data EvalAPI auth f Source #

Constructors

EvalAPI 

Fields

Instances

Instances details
Generic (EvalAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate

Associated Types

type Rep (EvalAPI auth f) :: Type -> Type #

Methods

from :: EvalAPI auth f -> Rep (EvalAPI auth f) x #

to :: Rep (EvalAPI auth f) x -> EvalAPI auth f #

type Rep (EvalAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate

type Rep (EvalAPI auth f) = D1 ('MetaData "EvalAPI" "Hercules.API.Agent.Evaluate" "hercules-ci-api-agent-0.5.0.0-inplace" '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] EvaluateTask)))))) :*: S1 ('MetaSel ('Just "tasksUpdateEvaluation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task EvaluateTask)) :> ("eval" :> (ReqBody '[JSON] [EvaluateEvent] :> (auth :> Post '[JSON] NoContent)))))))) :*: (S1 ('MetaSel ('Just "getDerivationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("agent" :> ("build" :> (Capture "derivationPath" Text :> (auth :> Get '[JSON] (Maybe DerivationStatus))))))) :*: S1 ('MetaSel ('Just "getDerivationStatus2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("agent" :> ("eval-build" :> (Capture "derivationPath" Text :> (auth :> Get '[JSON] (Maybe (UUID, DerivationStatus)))))))))))