MCPcopy Index your code
hub / github.com/coder/coder / fakeChatClient

Struct fakeChatClient

scaletest/chat/run_internal_test.go:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270type fakeChatClient struct {
271 createChatFunc func(context.Context, codersdk.CreateChatRequest) (codersdk.Chat, error)
272 streamChatFunc func(context.Context, uuid.UUID, *codersdk.StreamChatOptions) (<-chan codersdk.ChatStreamEvent, io.Closer, error)
273 createChatMessageFunc func(context.Context, uuid.UUID, codersdk.CreateChatMessageRequest) (codersdk.CreateChatMessageResponse, error)
274 updateChatFunc func(context.Context, uuid.UUID, codersdk.UpdateChatRequest) error
275}
276
277func newFakeChatClient(t *testing.T) *fakeChatClient {
278 t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected