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

Hercules.API.Agent.Socket.AgentPayload

Documentation

data AgentPayload Source #

Instances

Instances details
FromJSON AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

ToJSON 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 #

Show AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

NFData AgentPayload Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Methods

rnf :: AgentPayload -> () #

Eq 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.4.5.0-inplace" '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

Instances details
FromJSON Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

ToJSON 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 #

Show Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

NFData Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Methods

rnf :: Started -> () #

Eq Started Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Methods

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

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

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.4.5.0-inplace" 'False) (C1 ('MetaCons "MkStarted" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Id (Task Any)))))

data Cancelled Source #

Constructors

MkCancelled 

Fields

Instances

Instances details
FromJSON Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

ToJSON 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 #

Show Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

NFData Cancelled Source # 
Instance details

Defined in Hercules.API.Agent.Socket.AgentPayload

Methods

rnf :: Cancelled -> () #

Eq 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.4.5.0-inplace" 'False) (C1 ('MetaCons "MkCancelled" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Id (Task Any)))))