Commit Graph

12 Commits

Author SHA1 Message Date
1f25cc1cd1 implement resource checking all config paths
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:38:09 +00:00
22e12da060 add some comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:36:22 +00:00
e8060bf691 rename getDiskByConfig to getDiskConfig
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:33:00 +00:00
8118a31ef6 improve api responses
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:27:32 +00:00
1c27b3c2a8 add resource check on resize
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:24:49 +00:00
b970e990a6 use vars to specify cors domain
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 22:04:30 +00:00
7015e356e2 assign pool membership of new isntance using user group membership
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 02:38:30 +00:00
d8e6274c3d fix cors origin
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 01:37:46 +00:00
940f41875b add create instance endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-27 23:04:38 +00:00
44b5cd356a improve endpoint args 2023-02-27 02:29:39 +00:00
71d793aabb add additional prototypes in db.js 2023-02-27 01:09:49 +00:00
c9595980cd rename index.js to main.js
remove unused imports in main.js,
add function prototypes to db.js
2023-02-26 08:36:27 +00:00