Documentation ¶
Overview ¶
Package services_mocks is a generated GoMock package.
Package services_mocks is a generated GoMock package.
Package services_mocks is a generated GoMock package.
Index ¶
- type MockHostClient
- func (m *MockHostClient) EXPECT() *MockHostClientMockRecorder
- func (m *MockHostClient) GetPullRequest(arg0 context.Context, arg1 *services.GetPullRequestRequest, ...) (*services.GetPullRequestReply, error)
- func (m *MockHostClient) GetPullRequestFiles(arg0 context.Context, arg1 *services.GetPullRequestFilesRequest, ...) (*services.GetPullRequestFilesReply, error)
- func (m *MockHostClient) PostDiffComment(arg0 context.Context, arg1 *services.PostDiffCommentRequest, ...) (*services.PostDiffCommentReply, error)
- func (m *MockHostClient) PostGeneralComment(arg0 context.Context, arg1 *services.PostGeneralCommentRequest, ...) (*services.PostGeneralCommentReply, error)
- func (m *MockHostClient) ReplyDiffComment(arg0 context.Context, arg1 *services.ReplyDiffCommentRequest, ...) (*services.ReplyDiffCommentReply, error)
- func (m *MockHostClient) SubmitUserReview(arg0 context.Context, arg1 *services.SubmitUserReviewRequest, ...) (*services.SubmitUserReviewReply, error)
- type MockHostClientMockRecorder
- func (mr *MockHostClientMockRecorder) GetPullRequest(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockHostClientMockRecorder) GetPullRequestFiles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockHostClientMockRecorder) PostDiffComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockHostClientMockRecorder) PostGeneralComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockHostClientMockRecorder) ReplyDiffComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockHostClientMockRecorder) SubmitUserReview(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockRobinClient
- func (m *MockRobinClient) ChatInCodeHost(arg0 context.Context, arg1 *services.ChatInCodeHostRequest, ...) (*services.ChatInCodeHostReply, error)
- func (m *MockRobinClient) EXPECT() *MockRobinClientMockRecorder
- func (m *MockRobinClient) Explain(arg0 context.Context, arg1 *services.ExplainRequest, arg2 ...grpc.CallOption) (*services.ExplainReply, error)
- func (m *MockRobinClient) Prompt(arg0 context.Context, arg1 *services.PromptRequest, arg2 ...grpc.CallOption) (*services.PromptReply, error)
- func (m *MockRobinClient) RawPrompt(arg0 context.Context, arg1 *services.RawPromptRequest, arg2 ...grpc.CallOption) (*services.PromptReply, error)
- func (m *MockRobinClient) Summarize(arg0 context.Context, arg1 *services.SummarizeRequest, arg2 ...grpc.CallOption) (*services.SummarizeReply, error)
- type MockRobinClientMockRecorder
- func (mr *MockRobinClientMockRecorder) ChatInCodeHost(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRobinClientMockRecorder) Explain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRobinClientMockRecorder) Prompt(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRobinClientMockRecorder) RawPrompt(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRobinClientMockRecorder) Summarize(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockSemanticClient
- type MockSemanticClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHostClient ¶
type MockHostClient struct {
// contains filtered or unexported fields
}
MockHostClient is a mock of HostClient interface.
func NewMockHostClient ¶
func NewMockHostClient(ctrl *gomock.Controller) *MockHostClient
NewMockHostClient creates a new mock instance.
func (*MockHostClient) EXPECT ¶
func (m *MockHostClient) EXPECT() *MockHostClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHostClient) GetPullRequest ¶
func (m *MockHostClient) GetPullRequest(arg0 context.Context, arg1 *services.GetPullRequestRequest, arg2 ...grpc.CallOption) (*services.GetPullRequestReply, error)
GetPullRequest mocks base method.
func (*MockHostClient) GetPullRequestFiles ¶
func (m *MockHostClient) GetPullRequestFiles(arg0 context.Context, arg1 *services.GetPullRequestFilesRequest, arg2 ...grpc.CallOption) (*services.GetPullRequestFilesReply, error)
GetPullRequestFiles mocks base method.
func (*MockHostClient) PostDiffComment ¶
func (m *MockHostClient) PostDiffComment(arg0 context.Context, arg1 *services.PostDiffCommentRequest, arg2 ...grpc.CallOption) (*services.PostDiffCommentReply, error)
PostDiffComment mocks base method.
func (*MockHostClient) PostGeneralComment ¶
func (m *MockHostClient) PostGeneralComment(arg0 context.Context, arg1 *services.PostGeneralCommentRequest, arg2 ...grpc.CallOption) (*services.PostGeneralCommentReply, error)
PostGeneralComment mocks base method.
func (*MockHostClient) ReplyDiffComment ¶
func (m *MockHostClient) ReplyDiffComment(arg0 context.Context, arg1 *services.ReplyDiffCommentRequest, arg2 ...grpc.CallOption) (*services.ReplyDiffCommentReply, error)
ReplyDiffComment mocks base method.
func (*MockHostClient) SubmitUserReview ¶
func (m *MockHostClient) SubmitUserReview(arg0 context.Context, arg1 *services.SubmitUserReviewRequest, arg2 ...grpc.CallOption) (*services.SubmitUserReviewReply, error)
SubmitUserReview mocks base method.
type MockHostClientMockRecorder ¶
type MockHostClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHostClientMockRecorder is the mock recorder for MockHostClient.
func (*MockHostClientMockRecorder) GetPullRequest ¶
func (mr *MockHostClientMockRecorder) GetPullRequest(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest.
func (*MockHostClientMockRecorder) GetPullRequestFiles ¶
func (mr *MockHostClientMockRecorder) GetPullRequestFiles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetPullRequestFiles indicates an expected call of GetPullRequestFiles.
func (*MockHostClientMockRecorder) PostDiffComment ¶
func (mr *MockHostClientMockRecorder) PostDiffComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PostDiffComment indicates an expected call of PostDiffComment.
func (*MockHostClientMockRecorder) PostGeneralComment ¶
func (mr *MockHostClientMockRecorder) PostGeneralComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PostGeneralComment indicates an expected call of PostGeneralComment.
func (*MockHostClientMockRecorder) ReplyDiffComment ¶
func (mr *MockHostClientMockRecorder) ReplyDiffComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ReplyDiffComment indicates an expected call of ReplyDiffComment.
func (*MockHostClientMockRecorder) SubmitUserReview ¶
func (mr *MockHostClientMockRecorder) SubmitUserReview(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubmitUserReview indicates an expected call of SubmitUserReview.
type MockRobinClient ¶
type MockRobinClient struct {
// contains filtered or unexported fields
}
MockRobinClient is a mock of RobinClient interface.
func NewMockRobinClient ¶
func NewMockRobinClient(ctrl *gomock.Controller) *MockRobinClient
NewMockRobinClient creates a new mock instance.
func (*MockRobinClient) ChatInCodeHost ¶
func (m *MockRobinClient) ChatInCodeHost(arg0 context.Context, arg1 *services.ChatInCodeHostRequest, arg2 ...grpc.CallOption) (*services.ChatInCodeHostReply, error)
ChatInCodeHost mocks base method.
func (*MockRobinClient) EXPECT ¶
func (m *MockRobinClient) EXPECT() *MockRobinClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRobinClient) Explain ¶
func (m *MockRobinClient) Explain(arg0 context.Context, arg1 *services.ExplainRequest, arg2 ...grpc.CallOption) (*services.ExplainReply, error)
Explain mocks base method.
func (*MockRobinClient) Prompt ¶
func (m *MockRobinClient) Prompt(arg0 context.Context, arg1 *services.PromptRequest, arg2 ...grpc.CallOption) (*services.PromptReply, error)
Prompt mocks base method.
func (*MockRobinClient) RawPrompt ¶
func (m *MockRobinClient) RawPrompt(arg0 context.Context, arg1 *services.RawPromptRequest, arg2 ...grpc.CallOption) (*services.PromptReply, error)
RawPrompt mocks base method.
func (*MockRobinClient) Summarize ¶
func (m *MockRobinClient) Summarize(arg0 context.Context, arg1 *services.SummarizeRequest, arg2 ...grpc.CallOption) (*services.SummarizeReply, error)
Summarize mocks base method.
type MockRobinClientMockRecorder ¶
type MockRobinClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRobinClientMockRecorder is the mock recorder for MockRobinClient.
func (*MockRobinClientMockRecorder) ChatInCodeHost ¶
func (mr *MockRobinClientMockRecorder) ChatInCodeHost(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ChatInCodeHost indicates an expected call of ChatInCodeHost.
func (*MockRobinClientMockRecorder) Explain ¶
func (mr *MockRobinClientMockRecorder) Explain(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Explain indicates an expected call of Explain.
func (*MockRobinClientMockRecorder) Prompt ¶
func (mr *MockRobinClientMockRecorder) Prompt(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Prompt indicates an expected call of Prompt.
func (*MockRobinClientMockRecorder) RawPrompt ¶
func (mr *MockRobinClientMockRecorder) RawPrompt(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RawPrompt indicates an expected call of RawPrompt.
func (*MockRobinClientMockRecorder) Summarize ¶
func (mr *MockRobinClientMockRecorder) Summarize(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Summarize indicates an expected call of Summarize.
type MockSemanticClient ¶
type MockSemanticClient struct {
// contains filtered or unexported fields
}
MockSemanticClient is a mock of SemanticClient interface.
func NewMockSemanticClient ¶
func NewMockSemanticClient(ctrl *gomock.Controller) *MockSemanticClient
NewMockSemanticClient creates a new mock instance.
func (*MockSemanticClient) EXPECT ¶
func (m *MockSemanticClient) EXPECT() *MockSemanticClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSemanticClient) GetSymbols ¶
func (m *MockSemanticClient) GetSymbols(arg0 context.Context, arg1 *services.GetSymbolsRequest, arg2 ...grpc.CallOption) (*services.GetSymbolsReply, error)
GetSymbols mocks base method.
type MockSemanticClientMockRecorder ¶
type MockSemanticClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSemanticClientMockRecorder is the mock recorder for MockSemanticClient.
func (*MockSemanticClientMockRecorder) GetSymbols ¶
func (mr *MockSemanticClientMockRecorder) GetSymbols(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetSymbols indicates an expected call of GetSymbols.