Add VM kill RPC parameters
The Go control plane already exposed banger vm kill and daemon-side kill handling, but the API package was missing the VMKillParams request type. That left the worktree depending on an unstaged type addition even though the rest of the feature was already wired. Add the missing request struct so the CLI, RPC layer, and daemon share an explicit payload for signal-based VM termination. This commit is intentionally narrow because the rest of the kill-path work was already present.
This commit is contained in:
parent
644e60d739
commit
67e531aa27
1 changed files with 5 additions and 0 deletions
|
|
@ -28,6 +28,11 @@ type VMRefParams struct {
|
|||
IDOrName string `json:"id_or_name"`
|
||||
}
|
||||
|
||||
type VMKillParams struct {
|
||||
IDOrName string `json:"id_or_name"`
|
||||
Signal string `json:"signal,omitempty"`
|
||||
}
|
||||
|
||||
type VMSetParams struct {
|
||||
IDOrName string `json:"id_or_name"`
|
||||
VCPUCount *int `json:"vcpu_count,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue