MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / JobStartStreamCommand

Method JobStartStreamCommand

pkg/jobmanager/mainserverconn.go:117–122  ·  view source on GitHub ↗
(ctx context.Context, data wshrpc.CommandJobStartStreamData)

Source from the content-addressed store, hash-verified

115}
116
117func (msc *MainServerConn) JobStartStreamCommand(ctx context.Context, data wshrpc.CommandJobStartStreamData) error {
118 if !msc.PeerAuthenticated.Load() {
119 return fmt.Errorf("not authenticated")
120 }
121 return WshCmdJobManager.StartStream(msc)
122}
123
124func (msc *MainServerConn) JobInputCommand(ctx context.Context, data wshrpc.CommandJobInputData) error {
125 if !msc.PeerAuthenticated.Load() {

Callers

nothing calls this directly

Calls 1

StartStreamMethod · 0.80

Tested by

no test coverage detected