| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Composition.MirrorState
Description
Bind durable mirror inventories and source-only retention to each configured mirror target.
Synopsis
- data MirrorStateBinding = MirrorStateBinding {}
- newMirrorStates :: Maybe AwsEndpoint -> Deadlines -> AppConfig -> [VettedMount] -> Limits -> CacheConfig -> LocalPool -> IO (Map Ecosystem MirrorStateBinding)
- bindMirrorStates :: Map Ecosystem MirrorStateBinding -> [MountBinding] -> [MountBinding]
Documentation
data MirrorStateBinding Source #
Foreground and worker roles share one target identity and durable state port.
Constructors
| MirrorStateBinding | |
newMirrorStates :: Maybe AwsEndpoint -> Deadlines -> AppConfig -> [VettedMount] -> Limits -> CacheConfig -> LocalPool -> IO (Map Ecosystem MirrorStateBinding) Source #
Reuse the metadata pool's aggregate bounds. Unconfigured mounts allocate no state client or retention.
bindMirrorStates :: Map Ecosystem MirrorStateBinding -> [MountBinding] -> [MountBinding] Source #
Attach state only to the matching mount. First-party handling remains in the read pipeline.