Skip to main content

Crate fakecloud_codeartifact

Crate fakecloud_codeartifact 

Source
Expand description

AWS CodeArtifact (codeartifact) implementation for FakeCloud.

restJson1 control plane for CodeArtifact: domains, repositories (with upstreams and external connections), package groups, packages and their versions/assets/dependencies, resource permission policies, authorization tokens, and resource tagging. Requests are routed by HTTP method + @http URI path; list/query parameters are read from the raw query string so repeated multi-value keys survive. Everything is real, persisted, account-partitioned CRUD – a PublishPackageVersion actually stores the asset bytes so a later GetPackageVersionAsset returns them, and a GetAuthorizationToken mints a synthetic bearer token with an expiration.

Re-exports§

pub use service::CodeArtifactService;
pub use service::CODEARTIFACT_ACTIONS;
pub use state::CodeArtifactSnapshot;
pub use state::CodeArtifactState;
pub use state::SharedCodeArtifactState;
pub use state::CODEARTIFACT_SNAPSHOT_SCHEMA_VERSION;

Modules§

persistence
Snapshot save/load for AWS CodeArtifact state.
service
AWS CodeArtifact restJson1 dispatch + operation handlers.
state
Account-partitioned, serializable state for AWS CodeArtifact.