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 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.
Instances
data TenantConfig Source #
Single tenant configuration.
TenantConfig | |
|
Instances
data TenantConnectionConfig Source #
The tenant connection source configuration.
TenantConnectionConfig | |
|
Instances
data TenantProject Source #
The project configuration for a tenant.
TenantProject | |
|
Instances
decodeTenantsConfig :: ZKTenantsConfig -> Either Text TenantsConfig Source #
Decode the TenantsConfig
from a ZK data file.
data TenantResolver Source #
Tenant information to resolve project location
:: ServiceConfig | The zuul.conf for the list of connection names |
-> TenantsConfig | The main.yaml tenants config |
-> TenantResolver |