Thomas Lamprecht
|
2337df7b3d
|
api2: add very basic 'status/usage' endpoint for nodes
For returning the nodes basic "usage status", for now one gets memory
and CPU utilization.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2019-12-18 17:24:32 +01:00 |
Dietmar Maurer
|
81cc71c0d7
|
use proxmox-mini-journalreader to display syslog
|
2019-12-17 14:06:48 +01:00 |
Wolfgang Bumiller
|
3d482025b3
|
move api schema into proxmox::api crate
And leave some compat imports in api_schema.rs to get it to
build with minimal changes.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-11-21 14:14:54 +01:00 |
Dietmar Maurer
|
255f378a1b
|
use const api definitions
|
2019-11-21 13:32:09 +01:00 |
Dietmar Maurer
|
62ee2eb405
|
avoid some clippy warnings
|
2019-10-26 11:42:05 +02:00 |
Dietmar Maurer
|
4ebf0eabb0
|
src/api2/types.rs: use separate file for schema definitions
|
2019-05-09 07:44:09 +02:00 |
Dietmar Maurer
|
6358b68236
|
cleanup: avoid compiler warnings
|
2019-04-23 12:17:24 +02:00 |
Dietmar Maurer
|
13f1cc17ea
|
src/api_schema/router.rs: implement list_subdirs() helper
|
2019-04-16 12:07:02 +02:00 |
Wolfgang Bumiller
|
062d4916ff
|
api_schema: allow generic api handler functions
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-04-16 11:22:23 +02:00 |
Dietmar Maurer
|
d8d40dd0c2
|
src/api2/node.rs: add node parameter
|
2019-04-09 14:43:30 +02:00 |
Dietmar Maurer
|
063ca5be77
|
src/api2/node/tasks.rs: implement list_tasks
|
2019-04-07 12:18:58 +02:00 |
Dietmar Maurer
|
ef2f2efbcc
|
improve api_schema module structure
|
2019-02-17 10:16:33 +01:00 |
Dietmar Maurer
|
dc9a007b11
|
rename src/api to src/api_schema
|
2019-02-17 09:59:20 +01:00 |
Dietmar Maurer
|
48849593ee
|
api2/node/services.rs: implement service commands
|
2019-01-27 12:40:31 +01:00 |
Dietmar Maurer
|
d2ab5f19e2
|
api2/node/services.rs: start services api
|
2019-01-26 17:54:18 +01:00 |
Dietmar Maurer
|
6049b71f41
|
api: pass RpcEnvirnment to api handlers
|
2019-01-26 14:50:37 +01:00 |
Dietmar Maurer
|
4f9a726833
|
api2/node/syslog.rs: add syslog api schema
|
2019-01-25 17:17:30 +01:00 |
Dietmar Maurer
|
b2b3485d5f
|
src/api2/node: start node configuration api
|
2019-01-23 13:09:17 +01:00 |