]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2.rs
api2: add status/datastore-usages api call
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 9 Jun 2020 08:01:13 +0000 (10:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 9 Jun 2020 10:20:25 +0000 (12:20 +0200)
commitbda48e04da92b9d653fa0422f6c9c638b04d0a1c
tree8869153c6d9c5485453ce19cab84ce26f9b68938
parentba974798485791e25d5d97802f90544c6e33b64e
api2: add status/datastore-usages api call

returns a list of the datastores and their usages, a list of usages of
the past month (for the gui) and an estimation of when its full
(using the linear regression)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2.rs
src/api2/status.rs [new file with mode: 0644]