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§
- Backend
Archive Outcome - 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
CoreErrorrepresents 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.