proxmox-backup/pbs-client/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
..
pxar pbs-client: extract: add top-level dir in tar.zst 2022-04-22 11:35:55 +02:00
tools split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
backup_reader.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
backup_repo.rs client: rustfmt 2022-04-14 14:25:05 +02:00
backup_specification.rs client: rustfmt 2022-04-14 14:25:05 +02:00
backup_writer.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
catalog_shell.rs client: rustfmt 2022-04-14 14:25:05 +02:00
chunk_stream.rs client: rustfmt 2022-04-14 14:25:05 +02:00
http_client.rs client: rustfmt 2022-04-14 14:25:05 +02:00
lib.rs drop dynamic_index.rs duplicate in pbs-client 2021-10-06 15:29:27 +02:00
merge_known_chunks.rs cargo: switch from proc-macro pin-project to declarative pin-project-lite 2021-09-22 11:15:40 +02:00
pipe_to_stream.rs move client to pbs-client subcrate 2021-07-19 12:58:43 +02:00
pxar_backup_stream.rs client: rustfmt 2022-04-14 14:25:05 +02:00
remote_chunk_reader.rs client: rustfmt 2022-04-14 14:25:05 +02:00
task_log.rs client: rustfmt 2022-04-14 14:25:05 +02:00
vsock_client.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00