ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Worker.Fetch

Description

Buffered mirror artifact downloads under their own byte ceiling. The worker outcome classifies exchange faults for retry or drop.

Synopsis

Documentation

fetchArtifactBytes :: Limits -> (Maybe ClientCredential -> Text -> Either UrlFormationError Request) -> RegistryUrl -> WorkerM (Either FetchFault ByteString) Source #

Buffer the whole artifact for verification before publication, under its mirror-artifact cap.