Support running host processes alongside VMs (#482)

* Regenerate .pb with protoc-gen-go v1.36.11

* Support running host processes alongside VMs

* Replace existing host processes when starting a set
This commit is contained in:
edi-oai
2026-09-03 00:24:09 +01:00
committed by GitHub
parent 3fe0a284c5
commit a3e08ffcbf
33 changed files with 1454 additions and 309 deletions
+13
View File
@@ -169,6 +169,19 @@ func (service *VMsService) PortForward(
})
}
func (service *VMsService) PortForwardHostProcess(
ctx context.Context,
name string,
hostProcessName string,
waitSeconds uint16,
) (net.Conn, error) {
return service.client.wsRequest(ctx, fmt.Sprintf("vms/%s/port-forward", url.PathEscape(name)),
map[string]string{
"hostProcess": hostProcessName,
"wait": strconv.FormatUint(uint64(waitSeconds), 10),
})
}
func (service *VMsService) Exec(
ctx context.Context,
name string,