| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Runtime.Maintenance.CodeArtifact.Internal
Contents
Description
CodeArtifact control-plane handles with the manifest reader bound by composition.
Synopsis
- newCodeArtifactMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance
- newCodeArtifactObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation
- newCodeArtifactUpstreamProbe :: CodeArtifactStore -> IO UpstreamSafety
- newCodeArtifactCacheMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance
- newCodeArtifactCacheObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation
- cacheMaintenanceFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance
- data ControlPlane = ControlPlane {
- cpRead :: ReadPlane
- cpDeleteVersions :: DeletePackageVersions -> IO (Either StoreFault DeletePackageVersionsResponse)
- cpTagResource :: TagResource -> IO (Either StoreFault TagResourceResponse)
- cpUntagResource :: UntagResource -> IO (Either StoreFault UntagResourceResponse)
- controlPlaneFor :: Env -> IO ControlPlane
- maintenanceFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance
- observationFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation
- boundedObservationFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation
- probeUpstreamSafety :: ReadPlane -> CodeArtifactStore -> IO UpstreamSafety
Documentation
newCodeArtifactMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance Source #
Build repository maintenance with ambient AWS credentials and single-attempt destructive transport.
newCodeArtifactObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation Source #
Build repository observation with ambient credentials and no write calls.
newCodeArtifactUpstreamProbe :: CodeArtifactStore -> IO UpstreamSafety Source #
Probe upstream refill without constructing maintenance writes.
newCodeArtifactCacheMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance Source #
Build cache deletion with target-local reads and consent, allowing its declared refill role.
newCodeArtifactCacheObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation Source #
Observe the configured cache under its distinct refill classification without constructing writes.
cacheMaintenanceFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance Source #
Build the configured cache capability over injected calls without relaxing the mirror constructor.
The calls the handle makes
data ControlPlane Source #
Separate read and write calls allow observation without granting deletion authority.
Constructors
| ControlPlane | |
Fields
| |
controlPlaneFor :: Env -> IO ControlPlane Source #
Every call sent over one env, with the AWS error folded into a StoreFault.
maintenanceFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance Source #
Supplied control-plane calls and the role-specific manifest reader provide every effect.
observationFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation Source #
Bind observations to the supplied metadata reader.
boundedObservationFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation Source #
Build observation with version pagination bounded before another page is requested.
probeUpstreamSafety :: ReadPlane -> CodeArtifactStore -> IO UpstreamSafety Source #
Walk upstreams under the existing bounds, using only this role's credentials.