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.Socket.AgentPayload

Documentation

data AgentPayload Source #

Instances
Eq AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Show AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Generic AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Associated Types

type Rep AgentPayload :: Type -> Type #

ToJSON AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

FromJSON AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep AgentPayload = D1 (MetaData "AgentPayload" "Hercules.API.Agent.Socket.AgentPayload" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) ((C1 (MetaCons "Hello" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Hello)) :+: C1 (MetaCons "Ping" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Started" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Started)) :+: C1 (MetaCons "Cancelled" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Cancelled))))

data Started Source #

Constructors

MkStarted 

Fields

Instances
Eq Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Methods

(==) :: Started -> Started -> Bool #

(/=) :: Started -> Started -> Bool #

Show Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Generic Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Associated Types

type Rep Started :: Type -> Type #

Methods

from :: Started -> Rep Started x #

to :: Rep Started x -> Started #

ToJSON Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

FromJSON Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep Started = D1 (MetaData "Started" "Hercules.API.Agent.Socket.AgentPayload" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "MkStarted" PrefixI True) (S1 (MetaSel (Just "taskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Id (Task Any)))))

data Cancelled Source #

Constructors

MkCancelled 

Fields

Instances
Eq Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Show Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Generic Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Associated Types

type Rep Cancelled :: Type -> Type #

ToJSON Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

FromJSON Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

type Rep Cancelled = D1 (MetaData "Cancelled" "Hercules.API.Agent.Socket.AgentPayload" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "MkCancelled" PrefixI True) (S1 (MetaSel (Just "taskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Id (Task Any)))))