hercules-ci-api-agent-0.5.1.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.ImmutableInput

Synopsis

Documentation

data ImmutableInput Source #

A location

Constructors

ArchiveUrl Text

A de facto immutable URL. Do not use with URLs locating mutable contents!

Translates to builtins.fetchTarball

Git ImmutableGitInput

A git commit below a ref.

Translates to builtins.fetchGit

Instances

Instances details
FromJSON ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

ToJSON ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

Generic ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

Associated Types

type Rep ImmutableInput :: Type -> Type #

Show ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

NFData ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

Methods

rnf :: ImmutableInput -> () #

Eq ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

ToSchema ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

type Rep ImmutableInput Source # 
Instance details

Defined in Hercules.API.Agent.Evaluate.ImmutableInput

type Rep ImmutableInput = D1 ('MetaData "ImmutableInput" "Hercules.API.Agent.Evaluate.ImmutableInput" "hercules-ci-api-agent-0.5.1.0-inplace" 'False) (C1 ('MetaCons "ArchiveUrl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Git" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImmutableGitInput)))