MCPcopy
hub / github.com/wavetermdev/waveterm / RemoteStartJobCommand

Function RemoteStartJobCommand

pkg/wshrpc/wshclient/wshclient.go:775–778  ·  view source on GitHub ↗

command "remotestartjob", wshserver.RemoteStartJobCommand

(w *wshutil.WshRpc, data wshrpc.CommandRemoteStartJobData, opts *wshrpc.RpcOpts)

Source from the content-addressed store, hash-verified

773
774// command "remotestartjob", wshserver.RemoteStartJobCommand
775func RemoteStartJobCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStartJobData, opts *wshrpc.RpcOpts) (*wshrpc.CommandStartJobRtnData, error) {
776 resp, err := sendRpcRequestCallHelper[*wshrpc.CommandStartJobRtnData](w, "remotestartjob", data, opts)
777 return resp, err
778}
779
780// command "remotestreamcpudata", wshserver.RemoteStreamCpuDataCommand
781func RemoteStreamCpuDataCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.TimeSeriesData] {

Callers 1

StartJobFunction · 0.92

Calls 1

sendRpcRequestCallHelperFunction · 0.85

Tested by

no test coverage detected