src/api2/config/remotes.rs: new API to configure remotes

This commit is contained in:
Dietmar Maurer
2020-01-10 13:28:15 +01:00
parent 331b869d96
commit 141304d64e
3 changed files with 118 additions and 8 deletions

View File

@ -2,9 +2,11 @@ use proxmox::api::router::{Router, SubdirMap};
use proxmox::api::list_subdirs_api_method;
pub mod datastore;
pub mod remotes;
const SUBDIRS: SubdirMap = &[
("datastore", &datastore::ROUTER)
("datastore", &datastore::ROUTER),
("remotes", &remotes::ROUTER),
];
pub const ROUTER: Router = Router::new()