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.Tenant
Description
The Zuul Tenants configuration (main.yaml)
Synopsis
- newtype TenantsConfig = TenantsConfig {}
- data TenantConfig = TenantConfig {}
- data TenantConnectionConfig = TenantConnectionConfig {}
- data TenantProject = TenantProject {}
- decodeTenantsConfig :: ZKTenantsConfig -> Either Text TenantsConfig
- data TenantResolver = TenantResolver {}
- mkResolver :: ServiceConfig -> TenantsConfig -> TenantResolver
Documentation
newtype TenantsConfig Source #
All the tenants configuration.
Constructors
TenantsConfig | |
Fields |
Instances
data TenantConfig Source #
Single tenant configuration.
Constructors
TenantConfig | |
Fields
|
Instances
data TenantConnectionConfig Source #
The tenant connection source configuration.
Constructors
TenantConnectionConfig | |
Fields
|
Instances
data TenantProject Source #
The project configuration for a tenant.
Constructors
TenantProject | |
Fields
|
Instances
decodeTenantsConfig :: ZKTenantsConfig -> Either Text TenantsConfig Source #
Decode the TenantsConfig
from a ZK data file.
data TenantResolver Source #
Tenant information to resolve project location
Constructors
TenantResolver | |
Fields |
Arguments
:: ServiceConfig | The zuul.conf for the list of connection names |
-> TenantsConfig | The main.yaml tenants config |
-> TenantResolver |