zuul-weeder-0.1.0.0: Zuul configuration analyzer
Copyright(c) Red Hat 2022
LicenseApache-2.0
Maintainertdecacqu@redhat.com, fboucher@redhat.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

Zuul.Tenant

Description

The Zuul Tenants configuration (main.yaml)

Synopsis

Documentation

newtype TenantsConfig Source #

All the tenants configuration.

Instances

Instances details
Generic TenantsConfig Source # 
Instance details

Defined in Zuul.Tenant

Associated Types

type Rep TenantsConfig :: Type -> Type #

Show TenantsConfig Source # 
Instance details

Defined in Zuul.Tenant

Eq TenantsConfig Source # 
Instance details

Defined in Zuul.Tenant

Ord TenantsConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantsConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantsConfig = D1 ('MetaData "TenantsConfig" "Zuul.Tenant" "zuul-weeder-0.1.0.0-inplace" 'True) (C1 ('MetaCons "TenantsConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "tenants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map TenantName TenantConfig))))

data TenantConfig Source #

Single tenant configuration.

Constructors

TenantConfig 

Fields

Instances

Instances details
Generic TenantConfig Source # 
Instance details

Defined in Zuul.Tenant

Associated Types

type Rep TenantConfig :: Type -> Type #

Show TenantConfig Source # 
Instance details

Defined in Zuul.Tenant

Eq TenantConfig Source # 
Instance details

Defined in Zuul.Tenant

Ord TenantConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantConfig = D1 ('MetaData "TenantConfig" "Zuul.Tenant" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TenantConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultParent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JobName) :*: S1 ('MetaSel ('Just "connections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ConnectionName TenantConnectionConfig))))

data TenantConnectionConfig Source #

The tenant connection source configuration.

Constructors

TenantConnectionConfig 

Fields

Instances

Instances details
Generic TenantConnectionConfig Source # 
Instance details

Defined in Zuul.Tenant

Associated Types

type Rep TenantConnectionConfig :: Type -> Type #

Show TenantConnectionConfig Source # 
Instance details

Defined in Zuul.Tenant

Eq TenantConnectionConfig Source # 
Instance details

Defined in Zuul.Tenant

Ord TenantConnectionConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantConnectionConfig Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantConnectionConfig = D1 ('MetaData "TenantConnectionConfig" "Zuul.Tenant" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TenantConnectionConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "configProjects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TenantProject]) :*: S1 ('MetaSel ('Just "untrustedProjects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TenantProject])))

data TenantProject Source #

The project configuration for a tenant.

Constructors

TenantProject 

Fields

Instances

Instances details
Generic TenantProject Source # 
Instance details

Defined in Zuul.Tenant

Associated Types

type Rep TenantProject :: Type -> Type #

Show TenantProject Source # 
Instance details

Defined in Zuul.Tenant

Eq TenantProject Source # 
Instance details

Defined in Zuul.Tenant

Ord TenantProject Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantProject Source # 
Instance details

Defined in Zuul.Tenant

type Rep TenantProject = D1 ('MetaData "TenantProject" "Zuul.Tenant" "zuul-weeder-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TenantProject" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjectName) :*: (S1 ('MetaSel ('Just "includedConfigElements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set ZuulConfigType)) :*: S1 ('MetaSel ('Just "configPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePathT]))))

data TenantResolver Source #

Tenant information to resolve project location

mkResolver Source #

Arguments

:: ServiceConfig

The zuul.conf for the list of connection names

-> TenantsConfig

The main.yaml tenants config

-> TenantResolver