src/api2/sync.rs: implement remote sync

This commit is contained in:
Dietmar Maurer
2020-01-08 13:53:19 +01:00
parent 90ffc2446c
commit de8ec04123
2 changed files with 403 additions and 0 deletions

View File

@ -7,6 +7,7 @@ pub mod reader;
mod subscription;
pub mod types;
pub mod version;
pub mod sync;
use proxmox::api::list_subdirs_api_method;
use proxmox::api::router::SubdirMap;
@ -22,6 +23,7 @@ pub const SUBDIRS: SubdirMap = &[
("nodes", &NODES_ROUTER),
("reader", &reader::ROUTER),
("subscription", &subscription::ROUTER),
("sync", &sync::ROUTER),
("version", &version::ROUTER),
];