| Copyright | (c) Red Hat 2022 |
|---|---|
| License | Apache-2.0 |
| Maintainer | tdecacqu@redhat.com, fboucher@redhat.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Zuul.Config
Description
The Zuul Configuration data types.
See: https://zuul-ci.org/docs/zuul/latest/project-config.html#configuration-items
Synopsis
- newtype TenantName = TenantName Text
- newtype JobName = JobName Text
- newtype ProjectName = ProjectName Text
- newtype ProjectRegex = ProjectRegex Text
- newtype PipelineName = PipelineName Text
- newtype NodesetName = NodesetName Text
- newtype NodeLabelName = NodeLabelName Text
- newtype ProjectTemplateName = ProjectTemplateName Text
- newtype SecretName = SecretName Text
- newtype QueueName = QueueName Text
- newtype SemaphoreName = SemaphoreName Text
- newtype BranchName = BranchName Text
- newtype ProviderName = ProviderName Text
- newtype ConnectionName = ConnectionName Text
- data ConnectionUrl
- data CanonicalProjectName = CanonicalProjectName {}
- data Job = Job {
- name :: JobName
- abstract :: Maybe Bool
- parent :: Maybe JobName
- nodeset :: Maybe JobNodeset
- branches :: Maybe [BranchName]
- dependencies :: Maybe [JobName]
- semaphores :: Maybe [SemaphoreName]
- secrets :: Maybe [SecretName]
- data JobNodeset
- data Project = Project {}
- data ProjectPipeline = ProjectPipeline {
- name :: PipelineName
- jobs :: [PipelineJob]
- data PipelineJob
- newtype PipelineTrigger = PipelineTrigger {}
- newtype PipelineReporter = PipelineReporter {}
- data Pipeline = Pipeline {
- name :: PipelineName
- triggers :: [PipelineTrigger]
- reporters :: [PipelineReporter]
- data Nodeset = Nodeset {
- name :: NodesetName
- labels :: [NodeLabelName]
- data ProjectTemplate = ProjectTemplate {}
- data ConfigLoc = ConfigLoc {}
- data ZuulConfigElement
- data ZuulConfigType
Newtype wrappers
newtype TenantName Source #
Constructors
| TenantName Text |
Instances
Instances
| FromJSON JobName Source # | |
| FromJSONKey JobName Source # | |
Defined in Zuul.Config Methods | |
| ToJSON JobName Source # | |
Defined in Zuul.Config | |
| ToJSONKey JobName Source # | |
Defined in Zuul.Config | |
| Generic JobName Source # | |
| Show JobName Source # | |
| Eq JobName Source # | |
| Ord JobName Source # | |
| Hashable JobName Source # | |
Defined in Zuul.Config | |
| From PipelineJob JobName Source # | |
Defined in Zuul.Config Methods from :: PipelineJob -> JobName # | |
| type Rep JobName Source # | |
Defined in Zuul.Config | |
newtype ProjectName Source #
Constructors
| ProjectName Text |
Instances
newtype ProjectRegex Source #
Constructors
| ProjectRegex Text |
Instances
newtype PipelineName Source #
Constructors
| PipelineName Text |
Instances
newtype NodesetName Source #
Constructors
| NodesetName Text |
Instances
newtype NodeLabelName Source #
Constructors
| NodeLabelName Text |
Instances
newtype ProjectTemplateName Source #
Constructors
| ProjectTemplateName Text |
Instances
newtype SecretName Source #
Constructors
| SecretName Text |
Instances
Instances
| FromJSON QueueName Source # | |
| FromJSONKey QueueName Source # | |
Defined in Zuul.Config Methods | |
| ToJSON QueueName Source # | |
Defined in Zuul.Config | |
| ToJSONKey QueueName Source # | |
Defined in Zuul.Config | |
| Generic QueueName Source # | |
| Show QueueName Source # | |
| Eq QueueName Source # | |
| Ord QueueName Source # | |
| Hashable QueueName Source # | |
Defined in Zuul.Config | |
| From QueueName VertexName Source # | |
Defined in ZuulWeeder.Graph Methods from :: QueueName -> VertexName # | |
| type Rep QueueName Source # | |
Defined in Zuul.Config | |
newtype SemaphoreName Source #
Constructors
| SemaphoreName Text |
Instances
Project identifiers
newtype BranchName Source #
Constructors
| BranchName Text |
Instances
newtype ProviderName Source #
Constructors
| ProviderName Text |
Instances
newtype ConnectionName Source #
Constructors
| ConnectionName Text |
Instances
data ConnectionUrl Source #
The sum of all the possible connection urls
Instances
data CanonicalProjectName Source #
Constructors
| CanonicalProjectName | |
Fields | |
Instances
Configuration data types
Constructors
| Job | |
Fields
| |
Instances
data JobNodeset Source #
Constructors
| JobNodeset NodesetName | |
| JobAnonymousNodeset [NodeLabelName] |
Instances
Constructors
| Project | |
Fields
| |
Instances
| FromJSON Project Source # | |
| ToJSON Project Source # | |
Defined in Zuul.Config | |
| Generic Project Source # | |
| Show Project Source # | |
| Eq Project Source # | |
| Ord Project Source # | |
| Hashable Project Source # | |
Defined in Zuul.Config | |
| type Rep Project Source # | |
Defined in Zuul.Config type Rep Project = D1 ('MetaData "Project" "Zuul.Config" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjectName) :*: S1 ('MetaSel ('Just "templates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProjectTemplateName])) :*: (S1 ('MetaSel ('Just "queue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QueueName)) :*: S1 ('MetaSel ('Just "pipelines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set ProjectPipeline))))) | |
data ProjectPipeline Source #
Constructors
| ProjectPipeline | |
Fields
| |
Instances
data PipelineJob Source #
Instances
newtype PipelineTrigger Source #
Constructors
| PipelineTrigger | |
Fields | |
Instances
newtype PipelineReporter Source #
Constructors
| PipelineReporter | |
Fields | |
Instances
Constructors
| Pipeline | |
Fields
| |
Instances
| FromJSON Pipeline Source # | |
| ToJSON Pipeline Source # | |
Defined in Zuul.Config | |
| Generic Pipeline Source # | |
| Show Pipeline Source # | |
| Eq Pipeline Source # | |
| Ord Pipeline Source # | |
Defined in Zuul.Config | |
| Hashable Pipeline Source # | |
Defined in Zuul.Config | |
| From Pipeline VertexName Source # | |
Defined in ZuulWeeder.Graph Methods from :: Pipeline -> VertexName # | |
| type Rep Pipeline Source # | |
Defined in Zuul.Config type Rep Pipeline = D1 ('MetaData "Pipeline" "Zuul.Config" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Pipeline" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PipelineName) :*: (S1 ('MetaSel ('Just "triggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PipelineTrigger]) :*: S1 ('MetaSel ('Just "reporters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PipelineReporter])))) | |
Constructors
| Nodeset | |
Fields
| |
Instances
| FromJSON Nodeset Source # | |
| ToJSON Nodeset Source # | |
Defined in Zuul.Config | |
| Generic Nodeset Source # | |
| Show Nodeset Source # | |
| Eq Nodeset Source # | |
| Ord Nodeset Source # | |
| Hashable Nodeset Source # | |
Defined in Zuul.Config | |
| From Nodeset VertexName Source # | |
Defined in ZuulWeeder.Graph Methods from :: Nodeset -> VertexName # | |
| type Rep Nodeset Source # | |
Defined in Zuul.Config type Rep Nodeset = D1 ('MetaData "Nodeset" "Zuul.Config" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Nodeset" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NodesetName) :*: S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NodeLabelName]))) | |
data ProjectTemplate Source #
Constructors
| ProjectTemplate | |
Fields | |
Instances
Configuration identifiers
The configuration source context location
Constructors
| ConfigLoc | |
Fields
| |
Instances
data ZuulConfigElement Source #
The sum of all the configuration elements.
Constructors
| ZJob Job | |
| ZProject Project | |
| ZNodeset Nodeset | |
| ZProjectTemplate ProjectTemplate | |
| ZPipeline Pipeline | |
| ZQueue QueueName | |
| ZSemaphore SemaphoreName | |
| ZSecret SecretName |
Instances
data ZuulConfigType Source #
The sum of all the configuration types.
Constructors
| PipelineT | |
| JobT | |
| SemaphoreT | |
| ProjectT | |
| ProjectTemplateT | |
| NodesetT | |
| SecretT | |
| QueueT |