mirror of
https://github.com/paralus/paralus.git
synced 2026-05-14 12:26:37 +00:00
restructure rcloud-base as a single base controller (#37)
* restructure rcloud-base as a single base controller * updated master.rest * moved sentry from internal to pkg as it is used by relay * removing unused rpc and it's dependencies * Fix usermgmt tests * Don't redefine variables in rest file Co-authored-by: Abin Simon <abin.simon@rafay.co>
This commit is contained in:
38
scripts/resourcepermissions/data/v2debug_write.json
Normal file
38
scripts/resourcepermissions/data/v2debug_write.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "v2debug.write",
|
||||
"resource_urls": [],
|
||||
"resource_action_urls": [
|
||||
{
|
||||
"url": "/project/:project_id/cluster/:cluster_name/vm/:vm_name/start",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/project/:project_id/cluster/:cluster_name/vm/:vm_name/stop",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/project/:project_id/cluster/:cluster_name/vm/:vm_name/restart",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/project/:project_id/cluster/:cluster_name/vm/:vm_name/pause",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/project/:project_id/cluster/:cluster_name/vm/:vm_name/unpause",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
}
|
||||
],
|
||||
"base_url": "/v2/debug",
|
||||
"authenticated": true
|
||||
}
|
||||
Reference in New Issue
Block a user