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 |
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 #
Instances
Instances
FromJSON JobName Source # | |
FromJSONKey JobName Source # | |
Defined in Zuul.Config | |
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 from :: PipelineJob -> JobName # | |
type Rep JobName Source # | |
Defined in Zuul.Config |
newtype ProjectName Source #
Instances
newtype ProjectRegex Source #
Instances
newtype PipelineName Source #
Instances
newtype NodesetName Source #
Instances
newtype NodeLabelName Source #
Instances
newtype ProjectTemplateName Source #
Instances
newtype SecretName Source #
Instances
Instances
FromJSON QueueName Source # | |
FromJSONKey QueueName Source # | |
Defined in Zuul.Config | |
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 # | |
Defined in Zuul.Config | |
Hashable QueueName Source # | |
Defined in Zuul.Config | |
From QueueName VertexName Source # | |
Defined in ZuulWeeder.Graph from :: QueueName -> VertexName # | |
type Rep QueueName Source # | |
Defined in Zuul.Config |
newtype SemaphoreName Source #
Instances
Project identifiers
newtype BranchName Source #
Instances
newtype ProviderName Source #
Instances
newtype ConnectionName Source #
Instances
data ConnectionUrl Source #
The sum of all the possible connection urls
Instances
data CanonicalProjectName Source #
Instances
Configuration data types
Job | |
|
Instances
data JobNodeset Source #
Instances
Project | |
|
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 #
ProjectPipeline | |
|
Instances
data PipelineJob Source #
Instances
newtype PipelineTrigger Source #
Instances
newtype PipelineReporter Source #
Instances
Pipeline | |
|
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 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])))) |
Nodeset | |
|
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 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 #
Instances
Configuration identifiers
The configuration source context location
ConfigLoc | |
|
Instances
data ZuulConfigElement Source #
The sum of all the configuration elements.
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.