| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Adapter
Description
Registered ecosystem capabilities, independent of which mounts the operator configures.
Synopsis
- data RegistryAdapter = RegistryAdapter {
- adapterEcosystem :: Ecosystem
- adapterRuleBlocks :: Map RuleType Text
- adapterServe :: AdapterServe
- adapterMetadata :: AdapterMetadata
- adapterArtifact :: AdapterArtifact
- adapterProjectName :: ProjectName
- adapterFirstParty :: FirstPartyDeclaration
- adapterPublish :: Maybe AdapterPublish
- adapterMaintenance :: AdapterMaintenance
- data AdapterServe = AdapterServe {}
- adapterFor :: Ecosystem -> Maybe RegistryAdapter
- uploadEndpointFor :: Ecosystem -> Maybe UploadEndpointRequirement
- firstPartyFor :: Ecosystem -> Maybe FirstPartyDeclaration
The capability record
data RegistryAdapter Source #
One ecosystem's complete capability record, which the composition root wires every
consuming pipeline from. adapterFor resolves it.
Constructors
| RegistryAdapter | |
Fields
| |
data AdapterServe Source #
The ecosystem's web-facing serve surface. Both routing fields are derived from one declarative route table, so the routed surface and the documented one cannot drift apart.
Constructors
| AdapterServe | |
Fields
| |
Registration
adapterFor :: Ecosystem -> Maybe RegistryAdapter Source #
Resolve adapters with native capabilities and recorded resource factors.
uploadEndpointFor :: Ecosystem -> Maybe UploadEndpointRequirement Source #
Whether an ecosystem uploads at its read root or at a separate endpoint. Nothing without publish support.
firstPartyFor :: Ecosystem -> Maybe FirstPartyDeclaration Source #
How an ecosystem's firstParty entries read and match. Nothing for an unregistered ecosystem.