ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.Adapter

Description

Registered ecosystem capabilities, independent of which mounts the operator configures.

Synopsis

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.