ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Composition.Endpoints

Description

Vet declared read and upload coordinates while preserving each role's store-sharing rules.

Synopsis

The endpoint pass

newtype VettedEndpoints Source #

The endpoints one role's pass cleared it to use, keyed by the mount that declares them.

Constructors

VettedEndpoints 

Fields

vetEndpoints :: Map Ecosystem MountConfig -> Vet VettedEndpoints Source #

Check every declared read and upload coordinate before clearing publication targets.

The endpoints it clears

data PublicationTarget Source #

A publication target cleared for this role. The relay requires this value, never a configured URL.

publicationTargetUrl :: PublicationTarget -> RegistryUrl Source #

The vetted endpoint the publish relay dials.

publicationReadUrl :: PublicationTarget -> RegistryUrl Source #

The read root remains distinct from the approved publication API base.