mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-23 01:29:12 +01:00
Add start, stop, and restart endpoints for LXC containers via the Proxmox API: - POST /api/v1/proxmox/lxc/:node/:vmid/start - POST /api/v1/proxmox/lxc/:node/:vmid/stop - POST /api/v1/proxmox/lxc/:node/:vmid/restart
7 lines
140 B
Go
7 lines
140 B
Go
package proxmoxapi
|
|
|
|
type ActionRequest struct {
|
|
Node string `uri:"node" binding:"required"`
|
|
VMID int `uri:"vmid" binding:"required"`
|
|
}
|