hercules-ci-api-agent-0.2.2.0: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise

Safe HaskellNone
LanguageHaskell2010

Hercules.API.Agent.Evaluate

Documentation

data EvalAPI auth f Source #

Constructors

EvalAPI 

Fields

Instances
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.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)))))))))))