package
0.4.3
Repository: https://github.com/jinlongwukong/devlab.git
Documentation: pkg.go.dev

# Functions

Create a new accountinput params: name and role.
Delete account.
Get all account information.
Get account information by name.
Modify account informationinput params: name and role.
No description provided by the author
No description provided by the author
No description provided by the author
Only account with admin role allowed.
No description provided by the author
Container inter-connect bet websoket and docker api.
Head Page.
Create K8S Return: 200: success 404: fail -> account not found 500: fail -> workflow k8s create failed.
Delete k8s cluster by name Return: 200: success 404: fail -> account not found 500: fail -> workflow k8s delete failed.
Get all k8s Return: 200: success with k8s info 40x: fail Account/k8s not found.
Get all k8s by name Return: 200: success with k8s info 40x: fail Account/k8s not found.
K8S request index page.
Node request action handler -> remove/reboot/enable/disable node This is sync call 200: success 400: fail -> bad request 404: fail -> node not found 500: fail -> internal error.
Install and add node This is async call Return 20x -> success 400 -> bad request.
Get all nodes information Return: 200: success -> all node infor 404: fail -> Node not found.
Get node information by name Return: 200: success -> node infor 404: fail -> node not found.
No description provided by the author
SaaS request index page.
Software request action handler, start/stop/delete/restart/refresh Return: 20x -> success 40x/50x -> failed.
Software request create handler Args: software request Return: 20x -> success 40x/50x -> failed.
Get all software info Return: 200: success with software info 404: fail Account not found.
Get software info Return: 200: success with software info 404: fail -> Account/Software not found.
Todo Page.
VM action, start/stop/reboot/delete Return: 204 -> success 40x/50x -> failed.
Create VM This is async call Return: 200: success with VM info 404: fail Account/VM not found.
Get VMs Return: 200: success with all VM info 404: fail Account not found.
Get VM by name Return: 200: success with VM info 404: fail Account/VM not found.
VM reqeust index page.
VM port expose, Return: 20x -> success 40x/50x -> failed.
VM inter-connect bet websoket and ssh channel.
No description provided by the author
Will return total task numbers.