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.Build

Documentation

data BuildAPI auth f Source #

Constructors

BuildAPI 

Fields

Instances
Generic (BuildAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Build

Associated Types

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

Methods

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

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

type Rep (BuildAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Build

type Rep (BuildAPI auth f) = D1 (MetaData "BuildAPI" "Hercules.API.Agent.Build" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "BuildAPI" PrefixI True) (S1 (MetaSel (Just "getBuild") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task BuildTask)) :> ("build" :> (auth :> Get (JSON ': ([] :: [Type])) BuildTask)))))) :*: (S1 (MetaSel (Just "updateBuild") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task BuildTask)) :> ("build" :> (ReqBody (JSON ': ([] :: [Type])) [BuildEvent] :> (auth :> Post (JSON ': ([] :: [Type])) NoContent))))))) :*: S1 (MetaSel (Just "writeBuildLog") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- (Summary "DEPRECATED" :> ("tasks" :> (Capture "taskId" (Id (Task BuildTask)) :> ("build" :> ("_log" :> (ReqBody (OctetStream ': ([] :: [Type])) ByteString :> (auth :> Post (JSON ': ([] :: [Type])) NoContent))))))))))))