ecluse:ecluse-runtime
Safe HaskellNone
LanguageGHC2021

Ecluse.Runtime.Mirror.State.S3

Description

S3-compatible state keeps distributions in the registry and only declared companions in metadata storage.

Synopsis

Documentation

newS3MirrorState :: Maybe AwsEndpoint -> Deadlines -> Limits -> MirrorStateFormat -> Text -> Text -> StateTarget -> IO MirrorState Source #

The composition root supplies a validated explicit bucket and prefix, independent of advisory storage, and the mount's state format.

mirrorStateForEnv :: Deadlines -> Limits -> MirrorStateFormat -> Text -> Text -> StateTarget -> Env -> IO MirrorState Source #

Bind one configured namespace to this env. Reads keep its manager's resend on a stale pooled connection, and writes go once.