Skip to main content

Module backend_coordination

Module backend_coordination 

Source
Expand description

Backend coordination use-cases (claim, release, allocate, sync). Backend coordination use-cases for CLI commands.

Provides the business logic for claim, release, allocate, and sync operations that the CLI adapter calls. Each function accepts trait objects for the backend clients so the CLI can inject the concrete implementation.

Structs§

BackendArchiveOutcome
Result of a backend-mode archive orchestration.

Functions§

allocate_change
Allocate the next available change through the backend.
archive_with_backend
Orchestrate a backend-mode archive for a change.
claim_change
Claim a change lease through the backend.
is_backend_unavailable
Check whether the given CoreError represents a backend availability failure.
release_change
Release a change lease through the backend.
sync_pull
Pull artifacts from the backend for a change.
sync_push
Push local artifacts to the backend for a change.