| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Composition.Maintenance.Plan
Description
Pure role-specific store vetting. Only a successful pass constructs a cleared backend.
Synopsis
- data ClearedBackend
- data ClearedControl
- = ClearedCodeArtifact CodeArtifactStore
- | ClearedCodeArtifactCache CodeArtifactStore
- | ClearedProtocol ClearedProtocolStore
- data ClearedProtocolStore = ClearedProtocolStore {
- cpsToken :: Maybe Secret
- cpsTag :: StoreTag
- cpsConsent :: DeletionConsent
- cpsConsentKey :: Text
- cpsListing :: StoreListing
- cpsDelete :: VersionDelete
- cpsCodec :: PublishCodec
- type ResolveMaintenanceAdapter = Ecosystem -> Maybe RegistryAdapter
- vetStoreBackends :: ResolveMaintenanceAdapter -> MountMap -> Vet (Map Ecosystem ClearedBackend)
- vetPrivateCaches :: ResolveMaintenanceAdapter -> Map Ecosystem MountConfig -> MountMap -> Vet (Map Ecosystem (Maybe StoreBackend, ClearedBackend))
- overrideKey :: Text -> Text
Documentation
data ClearedBackend Source #
A store cleared by its role-specific pass. Its constructor stays private.
data ClearedControl Source #
The control plane a cleared store offers, one arm per backend kind.
Constructors
| ClearedCodeArtifact CodeArtifactStore | A CodeArtifact repository, deleted through the vendor's own control plane. |
| ClearedCodeArtifactCache CodeArtifactStore | The configured cache permits refill without weakening ordinary mirror classification. |
| ClearedProtocol ClearedProtocolStore | A store with no vendor control plane, deleted through the ecosystem protocol. |
data ClearedProtocolStore Source #
Vetted protocol operations and target-local authentication. An absent token means anonymous reads.
Constructors
| ClearedProtocolStore | |
Fields
| |
type ResolveMaintenanceAdapter = Ecosystem -> Maybe RegistryAdapter Source #
Resolve each ecosystem to the adapter whose maintenance capabilities the pass checks.
vetStoreBackends :: ResolveMaintenanceAdapter -> MountMap -> Vet (Map Ecosystem ClearedBackend) Source #
Require a sweepable backend for both Dredger modes. Writing roles skip this check.
vetPrivateCaches :: ResolveMaintenanceAdapter -> Map Ecosystem MountConfig -> MountMap -> Vet (Map Ecosystem (Maybe StoreBackend, ClearedBackend)) Source #
Vet each private cache under its own backend declaration and maintenance authority.
overrideKey :: Text -> Text Source #
Match capacity declarations without case or trailing-slash differences.