Skip to main content

Crate appcore_update

Crate appcore_update 

Source
Expand description

Application artifact update, activation and rollback lifecycle.

The Runtime treats artifacts as opaque bytes. It verifies generic identity, compatibility and integrity but never knows application code or business data.

Structs§

ActivationReceipt
Receipt required to commit or roll back one activation.
ArtifactDescriptor
Immutable application artifact published by an update provider.
ArtifactTrustPolicy
Deployment-owned allowlist applied before signature verification.
Ed25519ArtifactVerifier
Ed25519 verifier backed by deployment-owned public trust roots.
FileArtifactStore
Filesystem artifact store using atomic pointer replacement.
FileUpdateProvider
Local-first update provider backed by a bounded JSON artifact index.
FileUpdateProviderFactory
Factory for the local-first file update provider.
NoUpdateFaults
Fault injector that never interrupts production execution.
PolicyArtifactVerifier
Composes deployment allowlists with a cryptographic verifier.
StagedArtifact
Opaque staged artifact owned by an artifact store.
UpdateCoordinator
Coordinates provider, store, integrity, health and rollback boundaries.
UpdateRequest
Query used to select an update candidate.

Enums§

SigningKeyStatus
Lifecycle status of one deployment-owned artifact signing key.
UpdateError
Update lifecycle failure.
UpdateFaultPoint
Controlled lifecycle points available to fault-injection tests.
UpdateOutcome
Final result of one update attempt.
UpdatePreparation
Result of staging and activating an update before process-level health verification.
UpdateStaging
Result of candidate verification and staging before activation.

Constants§

FILE_UPDATE_PROVIDER_ID
Provider ID for the local-first JSON index and file artifact adapter.
UPDATE_METADATA_FORMAT_VERSION
Stable format version for update pointers and pending activation metadata.

Traits§

ActivationHealthCheck
Health gate executed after an artifact becomes active.
ArtifactAuthenticityVerifier
Verifies that an artifact descriptor was published by a trusted identity.
ArtifactStore
Store contract for atomic staging and reversible activation.
UpdateFaultInjector
Fault-injection contract used by deterministic update tests.
UpdateProvider
Provider contract for listing and fetching opaque application artifacts.

Functions§

artifact_signing_payload
Builds the stable byte payload covered by an artifact signature.

Type Aliases§

SharedUpdateProvider
Shared update provider interface produced by deployment factories.
UpdateResult
Result returned by the update lifecycle.