ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.Publish.Internal

Description

Bound mirror reads and writes to the selected role credential. Every request disables redirects.

Synopsis

Documentation

newtype PublishPlan Source #

The release tag the target must carry after publication.

Constructors

PublishPlan 

Fields

data PreparedMirrorVersion Source #

A complete source snapshot with adapter-owned per-file upload preparation.

newtype PreparedMirrorUpload Source #

Publication captures checked metadata and verified bytes, so a caller cannot replace the body.

data PublishCodec Source #

The codec owns source and upload metadata while the worker owns whole-version orchestration.

Constructors

PublishCodec 

Fields

data MirrorCompanion Source #

Native companions retain source metadata under the artifact's existing authority.

Constructors

MirrorCompanion 

Fields

fetchVersionList :: ExchangeClient -> Limits -> (Cursor -> Step VersionListState) -> Request -> IO (Either FetchFault (BodyOutcome (Either ParseError [Version]))) Source #

Read bounded version identifiers for the protocol maintenance caller.

relayPublishRequest :: OriginClient -> Either UrlFormationError Request -> IO (Either FetchFault PublishRelayResponse) Source #

Preserve the native publication response under the origin's metadata and progress limits.

data MirrorTransport Source #

Process resources for the target's bounded exchanges.

newMirrorPublish :: MirrorTransport -> RegistryUrl -> RegistryUrl -> PublishCodec -> MirrorPublish Source #

The read and upload endpoints are explicit because native upload routes need not share the read root.