proxmox-backup/pbs-api-types/src
Stefan Lendl fe1d34d2e4 api: garbage collect job status
Adds an api endpoint on the datastore that reports the gc job status
such as:
 - Schedule
 - State (of last run)
 - Duration (of last run)
 - Last Run
 - Next Run (if scheduled)
 - Pending Chunks (of last run)
 - Pending Bytes (of last run)
 - Removed Chunks (of last run)
 - Removed Bytes (of last run)

Adds a dedicated endpoint admin/gc that reports gc job status for all
datastores including the onces without a gc-schedule.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Originally-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewd-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
2024-04-22 13:58:08 +02:00
..
tape pbs-api-types: use const_format and new api-types from proxmox-schema 2024-03-20 11:09:26 +01:00
acl.rs cargo fmt (import reordering) 2024-03-20 11:13:13 +01:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs api: garbage collect job status 2024-04-22 13:58:08 +02:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
jobs.rs pbs-api-types: use const_format and new api-types from proxmox-schema 2024-03-20 11:09:26 +01:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
ldap.rs access: ldap check connection on creation and change 2023-06-26 16:08:24 +02:00
lib.rs pbs-api-types: use const_format and new api-types from proxmox-schema 2024-03-20 11:09:26 +01:00
maintenance.rs maintenance: derive Copy for maintenance type and make maintenance mode fields public 2024-04-22 12:19:22 +02:00
metrics.rs tree-wide: fix various typos 2023-11-29 18:32:07 +01:00
network.rs Interface: add missing serde skip_serializing_if to bond_xmit_hash_policy 2023-10-12 12:39:18 +02:00
node.rs node: status: declutter kernel-version 2023-11-29 15:31:35 +01:00
openid.rs fix #5190: api: OIDC: accept generic URIs for the ACR value 2024-02-08 18:14:30 +01: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 api-types: add a missing serde(default) 2023-12-06 15:53:57 +01:00
traffic_control.rs tree-wide: fix various typos 2023-11-29 18:32:07 +01:00
user.rs api-types: set serde defaults for UserWithTokens 2023-08-01 09:12:43 +02:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00