proxmox-backup/pbs-api-types/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
..
tape api-types: introduce BackupType enum and Group/Dir api types 2022-04-15 13:12:46 +02:00
acl.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
common_regex.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
file_restore.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
human_byte.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
jobs.rs api-types: use BackupType for GroupFilter::BackupType 2022-04-20 11:49:01 +02:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
lib.rs split the namespace out of BackupGroup/Dir api types 2022-05-12 09:33:50 +02:00
maintenance.rs rust fmt for pbs src 2022-04-14 14:03:46 +02:00
network.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
openid.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
percent_encoding.rs move pbs-tools/src/percent_encoding.rs to pbs-api-types/src/percent_encoding.rs 2021-11-25 11:48:52 +01:00
remote.rs RemoteWithoutPassword: new API type 2022-04-20 09:42:46 +02:00
traffic_control.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
user.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
userid.rs AuthId: derive Ord and PartialOrd 2022-04-20 09:58:52 +02:00
zfs.rs api types: rust fmt 2022-04-10 18:00:18 +02:00