Structs§
- Branch
- Branch information from SerenDB Console API
- Console
Client - SerenDB Console API client
- Database
- Database information from SerenDB Console API
- Project
- Project information from SerenDB Console API
- Target
Selection - Result of the interactive project/database selection
- Target
State - Persisted target selection state
Enums§
- Target
Mode - How the target database is specified
Functions§
- clear_
target_ state - Delete persisted target state (if present)
- create_
missing_ databases - Ensure target branch contains all databases required for replication.
- load_
target_ state - Load target state from disk. Returns Ok(None) if the file does not exist.
- resolve_
target_ mode - Resolve which target mode to use based on CLI args and environment
- save_
target_ state - Save target state to disk
- select_
target - Run interactive SerenDB target selection. Returns the selected project, branch, and database names to mirror the source.