ecluse:ecluse-runtime
Safe HaskellNone
LanguageGHC2021

Ecluse.Runtime.Maintenance.CodeArtifact

Description

The AWS CodeArtifact leaf of the store maintenance handle. This is control plane only, on amazonka, while the data plane stays on http-client. The calls are a control-plane record built once from a discovered identity and captured in the handle's closures, so the backend's state never reaches the proxy's Env and a spec can drive the sequencing without one. The read-only calls are their own record (Ecluse.Runtime.Maintenance.CodeArtifact.Read), and the decisions live in Ecluse.Runtime.Maintenance.CodeArtifact.Decide.

Synopsis

Documentation

newCodeArtifactMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance Source #

Build the maintenance handle for one CodeArtifact repository, over an environment whose AWS credentials are discovered the standard way.

newCodeArtifactObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation Source #

Build the observing calls alone for one repository, over an environment discovered the same way. No deletion, no tag write, and no publication is built, so the caller holds none.

newCodeArtifactUpstreamProbe :: CodeArtifactStore -> IO UpstreamSafety Source #

Probe one repository's chain over an environment discovered the standard way, for a role that holds no maintenance handle for the repository it serves private content from.

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.