| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Maintenance.Protocol
Description
Maintenance through registry protocol endpoints. Deletion needs the raw document revision, with listing bounds separate from serve-path bounds. Consent and refill classification rely on operator configuration.
Synopsis
- data ProtocolRead = ProtocolRead {}
- data ProtocolStore = ProtocolStore {}
- newProtocolObservation :: ProtocolRead -> StoreObservation
- newProtocolMaintenance :: ProtocolStore -> StoreMaintenance
Documentation
data ProtocolRead Source #
One protocol-only store as a reader reaches it: where it is, how its protocol enumerates it, and the consent an operator declared for it. Nothing here changes the store.
Constructors
| ProtocolRead | |
Fields
| |
data ProtocolStore Source #
One protocol-only store a caller may delete from: its reads, beside the verb that removes a version.
Constructors
| ProtocolStore | |
Fields | |
newProtocolObservation :: ProtocolRead -> StoreObservation Source #
The calls that only enumerate and read, built without the delete verb.
newProtocolMaintenance :: ProtocolStore -> StoreMaintenance Source #
Delete versions individually because each edit changes the document revision needed by the next.