Method
ScriptCompleted
(_ context.Context, req *agentproto.WorkspaceAgentScriptCompletedRequest)
Source from the content-addressed store, hash-verified
| 416 | } |
| 417 | |
| 418 | func (f *FakeAgentAPI) ScriptCompleted(_ context.Context, req *agentproto.WorkspaceAgentScriptCompletedRequest) (*agentproto.WorkspaceAgentScriptCompletedResponse, error) { |
| 419 | f.Lock() |
| 420 | f.timings = append(f.timings, req.GetTiming()) |
| 421 | f.Unlock() |
| 422 | |
| 423 | return &agentproto.WorkspaceAgentScriptCompletedResponse{}, nil |
| 424 | } |
| 425 | |
| 426 | func (f *FakeAgentAPI) ReportConnection(_ context.Context, req *agentproto.ReportConnectionRequest) (*emptypb.Empty, error) { |
| 427 | f.Lock() |
Callers
nothing calls this directly
Tested by
no test coverage detected