proxmox-backup/pbs-datastore/src
Wolfgang Bumiller 133d718fe4 split the namespace out of BackupGroup/Dir api types
We decided to go this route because it'll most likely be
safer in the API as we need to explicitly add namespaces
support to the various API endpoints this way.

For example, 'pull' should have 2 namespaces: local and
remote, and the GroupFilter (which would otherwise contain
exactly *one* namespace parameter) needs to be applied for
both sides (to decide what to pull from the remote, and what
to *remove* locally as cleanup).

The *datastore* types still contain the namespace and have a
`.backup_ns()` getter.

Note that the datastore's `Display` implementations are no
longer safe to use as a deserializable string.

Additionally, some datastore based methods now have been
exposed via the BackupGroup/BackupDir types to avoid a
"round trip" in code.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-12 09:33:50 +02:00
..
backup_info.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
cached_chunk_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
catalog.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
checksum_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
checksum_writer.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
chunk_stat.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
chunk_store.rs datastore: chunk store: leverage new format str variable reference 2022-05-10 09:46:51 +02:00
chunker.rs add pbs-datastore module 2021-07-06 15:11:52 +02:00
crypt_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
crypt_writer.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
data_blob.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
data_blob_reader.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
data_blob_writer.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
datastore.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
dynamic_index.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
file_formats.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
fixed_index.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
index.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
lib.rs datastore: add single-level and recursive namespace iterators 2022-05-12 09:33:50 +02:00
local_chunk_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
manifest.rs make datastore BackupGroup/Dir ctors private 2022-04-20 11:56:23 +02:00
paperkey.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
prune.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
read_chunk.rs move chunk_stat, read_chunk to pbs-datastore 2021-07-09 10:40:14 +02:00
snapshot_reader.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
store_progress.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
task_tracking.rs api: add get_active_operations endpoint 2022-04-12 15:29:14 +02:00