]> git.proxmox.com Git - proxmox-backup.git/commit
move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 21 Sep 2021 05:58:40 +0000 (07:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Sep 2021 06:46:41 +0000 (08:46 +0200)
commitfd6d243843d0f513cb63c93df626e354a4742a1a
tree0e5a72b3f1c1c4e08b5ec141f98086eb5a371ec5
parent037f6b6d5e127d1fb30ea244c9267abf80ee0fd0
move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace

ApiConfig: avoid using  pbs_config::backup_user()
CommandoSocket: avoid using  pbs_config::backup_user()
FileLogger: avoid using  pbs_config::backup_user()
- use atomic_open_or_create_file()

Auth Trait: moved definitions to proxmox-rest-server/src/lib.rs
- removed CachedUserInfo patrameter
- return user as String (not Authid)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
38 files changed:
Cargo.toml
pbs-api-types/Cargo.toml
pbs-client/Cargo.toml
pbs-config/Cargo.toml
pbs-datastore/Cargo.toml
pbs-fuse-loop/Cargo.toml
pbs-systemd/Cargo.toml
pbs-tape/Cargo.toml
pbs-tools/Cargo.toml
proxmox-backup-client/Cargo.toml
proxmox-backup-debug/Cargo.toml
proxmox-file-restore/Cargo.toml
proxmox-rest-server/Cargo.toml
proxmox-rest-server/src/api_config.rs [new file with mode: 0644]
proxmox-rest-server/src/command_socket.rs [new file with mode: 0644]
proxmox-rest-server/src/file_logger.rs [new file with mode: 0644]
proxmox-rest-server/src/lib.rs
proxmox-rest-server/src/state.rs [new file with mode: 0644]
pxar-bin/Cargo.toml
src/api2/admin/datastore.rs
src/api2/node/mod.rs
src/backup/datastore.rs
src/backup/verify.rs
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/bin/proxmox-restore-daemon.rs
src/bin/proxmox_restore_daemon/auth.rs
src/server/auth.rs
src/server/command_socket.rs [deleted file]
src/server/config.rs [deleted file]
src/server/mod.rs
src/server/rest.rs
src/server/state.rs [deleted file]
src/server/worker_task.rs
src/tools/daemon.rs
src/tools/file_logger.rs [deleted file]
src/tools/mod.rs
tests/worker-task-abort.rs