Documentation ¶
Overview ¶
Mocks for Gitaly.
Package mock_gitaly is a generated GoMock package.
Index ¶
- type MockCommitServiceClient
- func (m *MockCommitServiceClient) CommitIsAncestor(arg0 context.Context, arg1 *gitalypb.CommitIsAncestorRequest, ...) (*gitalypb.CommitIsAncestorResponse, error)
- func (m *MockCommitServiceClient) CommitLanguages(arg0 context.Context, arg1 *gitalypb.CommitLanguagesRequest, ...) (*gitalypb.CommitLanguagesResponse, error)
- func (m *MockCommitServiceClient) CommitStats(arg0 context.Context, arg1 *gitalypb.CommitStatsRequest, ...) (*gitalypb.CommitStatsResponse, error)
- func (m *MockCommitServiceClient) CommitsByMessage(arg0 context.Context, arg1 *gitalypb.CommitsByMessageRequest, ...) (gitalypb.CommitService_CommitsByMessageClient, error)
- func (m *MockCommitServiceClient) CountCommits(arg0 context.Context, arg1 *gitalypb.CountCommitsRequest, ...) (*gitalypb.CountCommitsResponse, error)
- func (m *MockCommitServiceClient) CountDivergingCommits(arg0 context.Context, arg1 *gitalypb.CountDivergingCommitsRequest, ...) (*gitalypb.CountDivergingCommitsResponse, error)
- func (m *MockCommitServiceClient) EXPECT() *MockCommitServiceClientMockRecorder
- func (m *MockCommitServiceClient) FilterShasWithSignatures(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.CommitService_FilterShasWithSignaturesClient, error)
- func (m *MockCommitServiceClient) FindAllCommits(arg0 context.Context, arg1 *gitalypb.FindAllCommitsRequest, ...) (gitalypb.CommitService_FindAllCommitsClient, error)
- func (m *MockCommitServiceClient) FindCommit(arg0 context.Context, arg1 *gitalypb.FindCommitRequest, ...) (*gitalypb.FindCommitResponse, error)
- func (m *MockCommitServiceClient) FindCommits(arg0 context.Context, arg1 *gitalypb.FindCommitsRequest, ...) (gitalypb.CommitService_FindCommitsClient, error)
- func (m *MockCommitServiceClient) GetCommitMessages(arg0 context.Context, arg1 *gitalypb.GetCommitMessagesRequest, ...) (gitalypb.CommitService_GetCommitMessagesClient, error)
- func (m *MockCommitServiceClient) GetCommitSignatures(arg0 context.Context, arg1 *gitalypb.GetCommitSignaturesRequest, ...) (gitalypb.CommitService_GetCommitSignaturesClient, error)
- func (m *MockCommitServiceClient) GetTreeEntries(arg0 context.Context, arg1 *gitalypb.GetTreeEntriesRequest, ...) (gitalypb.CommitService_GetTreeEntriesClient, error)
- func (m *MockCommitServiceClient) LastCommitForPath(arg0 context.Context, arg1 *gitalypb.LastCommitForPathRequest, ...) (*gitalypb.LastCommitForPathResponse, error)
- func (m *MockCommitServiceClient) ListAllCommits(arg0 context.Context, arg1 *gitalypb.ListAllCommitsRequest, ...) (gitalypb.CommitService_ListAllCommitsClient, error)
- func (m *MockCommitServiceClient) ListCommits(arg0 context.Context, arg1 *gitalypb.ListCommitsRequest, ...) (gitalypb.CommitService_ListCommitsClient, error)
- func (m *MockCommitServiceClient) ListCommitsByOid(arg0 context.Context, arg1 *gitalypb.ListCommitsByOidRequest, ...) (gitalypb.CommitService_ListCommitsByOidClient, error)
- func (m *MockCommitServiceClient) ListCommitsByRefName(arg0 context.Context, arg1 *gitalypb.ListCommitsByRefNameRequest, ...) (gitalypb.CommitService_ListCommitsByRefNameClient, error)
- func (m *MockCommitServiceClient) ListFiles(arg0 context.Context, arg1 *gitalypb.ListFilesRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListFilesClient, error)
- func (m *MockCommitServiceClient) ListLastCommitsForTree(arg0 context.Context, arg1 *gitalypb.ListLastCommitsForTreeRequest, ...) (gitalypb.CommitService_ListLastCommitsForTreeClient, error)
- func (m *MockCommitServiceClient) RawBlame(arg0 context.Context, arg1 *gitalypb.RawBlameRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_RawBlameClient, error)
- func (m *MockCommitServiceClient) TreeEntry(arg0 context.Context, arg1 *gitalypb.TreeEntryRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_TreeEntryClient, error)
- type MockCommitServiceClientMockRecorder
- func (mr *MockCommitServiceClientMockRecorder) CommitIsAncestor(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) CommitLanguages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) CommitStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) CommitsByMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) CountCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) CountDivergingCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) FilterShasWithSignatures(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) FindAllCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) FindCommit(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) FindCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) GetCommitMessages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) GetCommitSignatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) GetTreeEntries(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) LastCommitForPath(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListAllCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListCommitsByOid(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListCommitsByRefName(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListFiles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) ListLastCommitsForTree(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) RawBlame(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommitServiceClientMockRecorder) TreeEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockCommitService_GetTreeEntriesClient
- func (m *MockCommitService_GetTreeEntriesClient) CloseSend() error
- func (m *MockCommitService_GetTreeEntriesClient) Context() context.Context
- func (m *MockCommitService_GetTreeEntriesClient) EXPECT() *MockCommitService_GetTreeEntriesClientMockRecorder
- func (m *MockCommitService_GetTreeEntriesClient) Header() (metadata.MD, error)
- func (m *MockCommitService_GetTreeEntriesClient) Recv() (*gitalypb.GetTreeEntriesResponse, error)
- func (m *MockCommitService_GetTreeEntriesClient) RecvMsg(arg0 interface{}) error
- func (m *MockCommitService_GetTreeEntriesClient) SendMsg(arg0 interface{}) error
- func (m *MockCommitService_GetTreeEntriesClient) Trailer() metadata.MD
- type MockCommitService_GetTreeEntriesClientMockRecorder
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Context() *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Header() *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Recv() *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Trailer() *gomock.Call
- type MockCommitService_TreeEntryClient
- func (m *MockCommitService_TreeEntryClient) CloseSend() error
- func (m *MockCommitService_TreeEntryClient) Context() context.Context
- func (m *MockCommitService_TreeEntryClient) EXPECT() *MockCommitService_TreeEntryClientMockRecorder
- func (m *MockCommitService_TreeEntryClient) Header() (metadata.MD, error)
- func (m *MockCommitService_TreeEntryClient) Recv() (*gitalypb.TreeEntryResponse, error)
- func (m *MockCommitService_TreeEntryClient) RecvMsg(arg0 interface{}) error
- func (m *MockCommitService_TreeEntryClient) SendMsg(arg0 interface{}) error
- func (m *MockCommitService_TreeEntryClient) Trailer() metadata.MD
- type MockCommitService_TreeEntryClientMockRecorder
- func (mr *MockCommitService_TreeEntryClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) Context() *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) Header() *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) Recv() *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockCommitService_TreeEntryClientMockRecorder) Trailer() *gomock.Call
- type MockSmartHTTPServiceClient
- func (m *MockSmartHTTPServiceClient) EXPECT() *MockSmartHTTPServiceClientMockRecorder
- func (m *MockSmartHTTPServiceClient) InfoRefsReceivePack(arg0 context.Context, arg1 *gitalypb.InfoRefsRequest, arg2 ...grpc.CallOption) (gitalypb.SmartHTTPService_InfoRefsReceivePackClient, error)
- func (m *MockSmartHTTPServiceClient) InfoRefsUploadPack(arg0 context.Context, arg1 *gitalypb.InfoRefsRequest, arg2 ...grpc.CallOption) (gitalypb.SmartHTTPService_InfoRefsUploadPackClient, error)
- func (m *MockSmartHTTPServiceClient) PostReceivePack(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.SmartHTTPService_PostReceivePackClient, error)
- func (m *MockSmartHTTPServiceClient) PostUploadPack(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.SmartHTTPService_PostUploadPackClient, error)
- func (m *MockSmartHTTPServiceClient) PostUploadPackWithSidechannel(arg0 context.Context, arg1 *gitalypb.PostUploadPackWithSidechannelRequest, ...) (*gitalypb.PostUploadPackWithSidechannelResponse, error)
- type MockSmartHTTPServiceClientMockRecorder
- func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsReceivePack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsUploadPack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSmartHTTPServiceClientMockRecorder) PostReceivePack(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSmartHTTPServiceClientMockRecorder) PostUploadPack(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSmartHTTPServiceClientMockRecorder) PostUploadPackWithSidechannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockSmartHTTPService_InfoRefsUploadPackClient
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) CloseSend() error
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Context() context.Context
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) EXPECT() *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Header() (metadata.MD, error)
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Recv() (*gitalypb.InfoRefsResponse, error)
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) RecvMsg(arg0 interface{}) error
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) SendMsg(arg0 interface{}) error
- func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Trailer() metadata.MD
- type MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Context() *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Header() *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Recv() *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommitServiceClient ¶
type MockCommitServiceClient struct {
// contains filtered or unexported fields
}
MockCommitServiceClient is a mock of CommitServiceClient interface.
func NewMockCommitServiceClient ¶
func NewMockCommitServiceClient(ctrl *gomock.Controller) *MockCommitServiceClient
NewMockCommitServiceClient creates a new mock instance.
func (*MockCommitServiceClient) CommitIsAncestor ¶
func (m *MockCommitServiceClient) CommitIsAncestor(arg0 context.Context, arg1 *gitalypb.CommitIsAncestorRequest, arg2 ...grpc.CallOption) (*gitalypb.CommitIsAncestorResponse, error)
CommitIsAncestor mocks base method.
func (*MockCommitServiceClient) CommitLanguages ¶
func (m *MockCommitServiceClient) CommitLanguages(arg0 context.Context, arg1 *gitalypb.CommitLanguagesRequest, arg2 ...grpc.CallOption) (*gitalypb.CommitLanguagesResponse, error)
CommitLanguages mocks base method.
func (*MockCommitServiceClient) CommitStats ¶
func (m *MockCommitServiceClient) CommitStats(arg0 context.Context, arg1 *gitalypb.CommitStatsRequest, arg2 ...grpc.CallOption) (*gitalypb.CommitStatsResponse, error)
CommitStats mocks base method.
func (*MockCommitServiceClient) CommitsByMessage ¶
func (m *MockCommitServiceClient) CommitsByMessage(arg0 context.Context, arg1 *gitalypb.CommitsByMessageRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_CommitsByMessageClient, error)
CommitsByMessage mocks base method.
func (*MockCommitServiceClient) CountCommits ¶
func (m *MockCommitServiceClient) CountCommits(arg0 context.Context, arg1 *gitalypb.CountCommitsRequest, arg2 ...grpc.CallOption) (*gitalypb.CountCommitsResponse, error)
CountCommits mocks base method.
func (*MockCommitServiceClient) CountDivergingCommits ¶
func (m *MockCommitServiceClient) CountDivergingCommits(arg0 context.Context, arg1 *gitalypb.CountDivergingCommitsRequest, arg2 ...grpc.CallOption) (*gitalypb.CountDivergingCommitsResponse, error)
CountDivergingCommits mocks base method.
func (*MockCommitServiceClient) EXPECT ¶
func (m *MockCommitServiceClient) EXPECT() *MockCommitServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitServiceClient) FilterShasWithSignatures ¶
func (m *MockCommitServiceClient) FilterShasWithSignatures(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.CommitService_FilterShasWithSignaturesClient, error)
FilterShasWithSignatures mocks base method.
func (*MockCommitServiceClient) FindAllCommits ¶
func (m *MockCommitServiceClient) FindAllCommits(arg0 context.Context, arg1 *gitalypb.FindAllCommitsRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_FindAllCommitsClient, error)
FindAllCommits mocks base method.
func (*MockCommitServiceClient) FindCommit ¶
func (m *MockCommitServiceClient) FindCommit(arg0 context.Context, arg1 *gitalypb.FindCommitRequest, arg2 ...grpc.CallOption) (*gitalypb.FindCommitResponse, error)
FindCommit mocks base method.
func (*MockCommitServiceClient) FindCommits ¶
func (m *MockCommitServiceClient) FindCommits(arg0 context.Context, arg1 *gitalypb.FindCommitsRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_FindCommitsClient, error)
FindCommits mocks base method.
func (*MockCommitServiceClient) GetCommitMessages ¶
func (m *MockCommitServiceClient) GetCommitMessages(arg0 context.Context, arg1 *gitalypb.GetCommitMessagesRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_GetCommitMessagesClient, error)
GetCommitMessages mocks base method.
func (*MockCommitServiceClient) GetCommitSignatures ¶
func (m *MockCommitServiceClient) GetCommitSignatures(arg0 context.Context, arg1 *gitalypb.GetCommitSignaturesRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_GetCommitSignaturesClient, error)
GetCommitSignatures mocks base method.
func (*MockCommitServiceClient) GetTreeEntries ¶
func (m *MockCommitServiceClient) GetTreeEntries(arg0 context.Context, arg1 *gitalypb.GetTreeEntriesRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_GetTreeEntriesClient, error)
GetTreeEntries mocks base method.
func (*MockCommitServiceClient) LastCommitForPath ¶
func (m *MockCommitServiceClient) LastCommitForPath(arg0 context.Context, arg1 *gitalypb.LastCommitForPathRequest, arg2 ...grpc.CallOption) (*gitalypb.LastCommitForPathResponse, error)
LastCommitForPath mocks base method.
func (*MockCommitServiceClient) ListAllCommits ¶ added in v14.1.0
func (m *MockCommitServiceClient) ListAllCommits(arg0 context.Context, arg1 *gitalypb.ListAllCommitsRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListAllCommitsClient, error)
ListAllCommits mocks base method.
func (*MockCommitServiceClient) ListCommits ¶ added in v14.1.0
func (m *MockCommitServiceClient) ListCommits(arg0 context.Context, arg1 *gitalypb.ListCommitsRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListCommitsClient, error)
ListCommits mocks base method.
func (*MockCommitServiceClient) ListCommitsByOid ¶
func (m *MockCommitServiceClient) ListCommitsByOid(arg0 context.Context, arg1 *gitalypb.ListCommitsByOidRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListCommitsByOidClient, error)
ListCommitsByOid mocks base method.
func (*MockCommitServiceClient) ListCommitsByRefName ¶
func (m *MockCommitServiceClient) ListCommitsByRefName(arg0 context.Context, arg1 *gitalypb.ListCommitsByRefNameRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListCommitsByRefNameClient, error)
ListCommitsByRefName mocks base method.
func (*MockCommitServiceClient) ListFiles ¶
func (m *MockCommitServiceClient) ListFiles(arg0 context.Context, arg1 *gitalypb.ListFilesRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListFilesClient, error)
ListFiles mocks base method.
func (*MockCommitServiceClient) ListLastCommitsForTree ¶
func (m *MockCommitServiceClient) ListLastCommitsForTree(arg0 context.Context, arg1 *gitalypb.ListLastCommitsForTreeRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_ListLastCommitsForTreeClient, error)
ListLastCommitsForTree mocks base method.
func (*MockCommitServiceClient) RawBlame ¶
func (m *MockCommitServiceClient) RawBlame(arg0 context.Context, arg1 *gitalypb.RawBlameRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_RawBlameClient, error)
RawBlame mocks base method.
func (*MockCommitServiceClient) TreeEntry ¶
func (m *MockCommitServiceClient) TreeEntry(arg0 context.Context, arg1 *gitalypb.TreeEntryRequest, arg2 ...grpc.CallOption) (gitalypb.CommitService_TreeEntryClient, error)
TreeEntry mocks base method.
type MockCommitServiceClientMockRecorder ¶
type MockCommitServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitServiceClientMockRecorder is the mock recorder for MockCommitServiceClient.
func (*MockCommitServiceClientMockRecorder) CommitIsAncestor ¶
func (mr *MockCommitServiceClientMockRecorder) CommitIsAncestor(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CommitIsAncestor indicates an expected call of CommitIsAncestor.
func (*MockCommitServiceClientMockRecorder) CommitLanguages ¶
func (mr *MockCommitServiceClientMockRecorder) CommitLanguages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CommitLanguages indicates an expected call of CommitLanguages.
func (*MockCommitServiceClientMockRecorder) CommitStats ¶
func (mr *MockCommitServiceClientMockRecorder) CommitStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CommitStats indicates an expected call of CommitStats.
func (*MockCommitServiceClientMockRecorder) CommitsByMessage ¶
func (mr *MockCommitServiceClientMockRecorder) CommitsByMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CommitsByMessage indicates an expected call of CommitsByMessage.
func (*MockCommitServiceClientMockRecorder) CountCommits ¶
func (mr *MockCommitServiceClientMockRecorder) CountCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CountCommits indicates an expected call of CountCommits.
func (*MockCommitServiceClientMockRecorder) CountDivergingCommits ¶
func (mr *MockCommitServiceClientMockRecorder) CountDivergingCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CountDivergingCommits indicates an expected call of CountDivergingCommits.
func (*MockCommitServiceClientMockRecorder) FilterShasWithSignatures ¶
func (mr *MockCommitServiceClientMockRecorder) FilterShasWithSignatures(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FilterShasWithSignatures indicates an expected call of FilterShasWithSignatures.
func (*MockCommitServiceClientMockRecorder) FindAllCommits ¶
func (mr *MockCommitServiceClientMockRecorder) FindAllCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindAllCommits indicates an expected call of FindAllCommits.
func (*MockCommitServiceClientMockRecorder) FindCommit ¶
func (mr *MockCommitServiceClientMockRecorder) FindCommit(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindCommit indicates an expected call of FindCommit.
func (*MockCommitServiceClientMockRecorder) FindCommits ¶
func (mr *MockCommitServiceClientMockRecorder) FindCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindCommits indicates an expected call of FindCommits.
func (*MockCommitServiceClientMockRecorder) GetCommitMessages ¶
func (mr *MockCommitServiceClientMockRecorder) GetCommitMessages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetCommitMessages indicates an expected call of GetCommitMessages.
func (*MockCommitServiceClientMockRecorder) GetCommitSignatures ¶
func (mr *MockCommitServiceClientMockRecorder) GetCommitSignatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetCommitSignatures indicates an expected call of GetCommitSignatures.
func (*MockCommitServiceClientMockRecorder) GetTreeEntries ¶
func (mr *MockCommitServiceClientMockRecorder) GetTreeEntries(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetTreeEntries indicates an expected call of GetTreeEntries.
func (*MockCommitServiceClientMockRecorder) LastCommitForPath ¶
func (mr *MockCommitServiceClientMockRecorder) LastCommitForPath(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
LastCommitForPath indicates an expected call of LastCommitForPath.
func (*MockCommitServiceClientMockRecorder) ListAllCommits ¶ added in v14.1.0
func (mr *MockCommitServiceClientMockRecorder) ListAllCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListAllCommits indicates an expected call of ListAllCommits.
func (*MockCommitServiceClientMockRecorder) ListCommits ¶ added in v14.1.0
func (mr *MockCommitServiceClientMockRecorder) ListCommits(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockCommitServiceClientMockRecorder) ListCommitsByOid ¶
func (mr *MockCommitServiceClientMockRecorder) ListCommitsByOid(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListCommitsByOid indicates an expected call of ListCommitsByOid.
func (*MockCommitServiceClientMockRecorder) ListCommitsByRefName ¶
func (mr *MockCommitServiceClientMockRecorder) ListCommitsByRefName(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListCommitsByRefName indicates an expected call of ListCommitsByRefName.
func (*MockCommitServiceClientMockRecorder) ListFiles ¶
func (mr *MockCommitServiceClientMockRecorder) ListFiles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockCommitServiceClientMockRecorder) ListLastCommitsForTree ¶
func (mr *MockCommitServiceClientMockRecorder) ListLastCommitsForTree(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListLastCommitsForTree indicates an expected call of ListLastCommitsForTree.
func (*MockCommitServiceClientMockRecorder) RawBlame ¶
func (mr *MockCommitServiceClientMockRecorder) RawBlame(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RawBlame indicates an expected call of RawBlame.
func (*MockCommitServiceClientMockRecorder) TreeEntry ¶
func (mr *MockCommitServiceClientMockRecorder) TreeEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
TreeEntry indicates an expected call of TreeEntry.
type MockCommitService_GetTreeEntriesClient ¶
type MockCommitService_GetTreeEntriesClient struct {
// contains filtered or unexported fields
}
MockCommitService_GetTreeEntriesClient is a mock of CommitService_GetTreeEntriesClient interface.
func NewMockCommitService_GetTreeEntriesClient ¶
func NewMockCommitService_GetTreeEntriesClient(ctrl *gomock.Controller) *MockCommitService_GetTreeEntriesClient
NewMockCommitService_GetTreeEntriesClient creates a new mock instance.
func (*MockCommitService_GetTreeEntriesClient) CloseSend ¶
func (m *MockCommitService_GetTreeEntriesClient) CloseSend() error
CloseSend mocks base method.
func (*MockCommitService_GetTreeEntriesClient) Context ¶
func (m *MockCommitService_GetTreeEntriesClient) Context() context.Context
Context mocks base method.
func (*MockCommitService_GetTreeEntriesClient) EXPECT ¶
func (m *MockCommitService_GetTreeEntriesClient) EXPECT() *MockCommitService_GetTreeEntriesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitService_GetTreeEntriesClient) Header ¶
func (m *MockCommitService_GetTreeEntriesClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockCommitService_GetTreeEntriesClient) Recv ¶
func (m *MockCommitService_GetTreeEntriesClient) Recv() (*gitalypb.GetTreeEntriesResponse, error)
Recv mocks base method.
func (*MockCommitService_GetTreeEntriesClient) RecvMsg ¶
func (m *MockCommitService_GetTreeEntriesClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockCommitService_GetTreeEntriesClient) SendMsg ¶
func (m *MockCommitService_GetTreeEntriesClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockCommitService_GetTreeEntriesClient) Trailer ¶
func (m *MockCommitService_GetTreeEntriesClient) Trailer() metadata.MD
Trailer mocks base method.
type MockCommitService_GetTreeEntriesClientMockRecorder ¶
type MockCommitService_GetTreeEntriesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitService_GetTreeEntriesClientMockRecorder is the mock recorder for MockCommitService_GetTreeEntriesClient.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) CloseSend ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) Context ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) Header ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) Recv ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) RecvMsg ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) SendMsg ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockCommitService_GetTreeEntriesClientMockRecorder) Trailer ¶
func (mr *MockCommitService_GetTreeEntriesClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockCommitService_TreeEntryClient ¶
type MockCommitService_TreeEntryClient struct {
// contains filtered or unexported fields
}
MockCommitService_TreeEntryClient is a mock of CommitService_TreeEntryClient interface.
func NewMockCommitService_TreeEntryClient ¶
func NewMockCommitService_TreeEntryClient(ctrl *gomock.Controller) *MockCommitService_TreeEntryClient
NewMockCommitService_TreeEntryClient creates a new mock instance.
func (*MockCommitService_TreeEntryClient) CloseSend ¶
func (m *MockCommitService_TreeEntryClient) CloseSend() error
CloseSend mocks base method.
func (*MockCommitService_TreeEntryClient) Context ¶
func (m *MockCommitService_TreeEntryClient) Context() context.Context
Context mocks base method.
func (*MockCommitService_TreeEntryClient) EXPECT ¶
func (m *MockCommitService_TreeEntryClient) EXPECT() *MockCommitService_TreeEntryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitService_TreeEntryClient) Header ¶
func (m *MockCommitService_TreeEntryClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockCommitService_TreeEntryClient) Recv ¶
func (m *MockCommitService_TreeEntryClient) Recv() (*gitalypb.TreeEntryResponse, error)
Recv mocks base method.
func (*MockCommitService_TreeEntryClient) RecvMsg ¶
func (m *MockCommitService_TreeEntryClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockCommitService_TreeEntryClient) SendMsg ¶
func (m *MockCommitService_TreeEntryClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockCommitService_TreeEntryClient) Trailer ¶
func (m *MockCommitService_TreeEntryClient) Trailer() metadata.MD
Trailer mocks base method.
type MockCommitService_TreeEntryClientMockRecorder ¶
type MockCommitService_TreeEntryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitService_TreeEntryClientMockRecorder is the mock recorder for MockCommitService_TreeEntryClient.
func (*MockCommitService_TreeEntryClientMockRecorder) CloseSend ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockCommitService_TreeEntryClientMockRecorder) Context ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockCommitService_TreeEntryClientMockRecorder) Header ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockCommitService_TreeEntryClientMockRecorder) Recv ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockCommitService_TreeEntryClientMockRecorder) RecvMsg ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockCommitService_TreeEntryClientMockRecorder) SendMsg ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockCommitService_TreeEntryClientMockRecorder) Trailer ¶
func (mr *MockCommitService_TreeEntryClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockSmartHTTPServiceClient ¶
type MockSmartHTTPServiceClient struct {
// contains filtered or unexported fields
}
MockSmartHTTPServiceClient is a mock of SmartHTTPServiceClient interface.
func NewMockSmartHTTPServiceClient ¶
func NewMockSmartHTTPServiceClient(ctrl *gomock.Controller) *MockSmartHTTPServiceClient
NewMockSmartHTTPServiceClient creates a new mock instance.
func (*MockSmartHTTPServiceClient) EXPECT ¶
func (m *MockSmartHTTPServiceClient) EXPECT() *MockSmartHTTPServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSmartHTTPServiceClient) InfoRefsReceivePack ¶
func (m *MockSmartHTTPServiceClient) InfoRefsReceivePack(arg0 context.Context, arg1 *gitalypb.InfoRefsRequest, arg2 ...grpc.CallOption) (gitalypb.SmartHTTPService_InfoRefsReceivePackClient, error)
InfoRefsReceivePack mocks base method.
func (*MockSmartHTTPServiceClient) InfoRefsUploadPack ¶
func (m *MockSmartHTTPServiceClient) InfoRefsUploadPack(arg0 context.Context, arg1 *gitalypb.InfoRefsRequest, arg2 ...grpc.CallOption) (gitalypb.SmartHTTPService_InfoRefsUploadPackClient, error)
InfoRefsUploadPack mocks base method.
func (*MockSmartHTTPServiceClient) PostReceivePack ¶
func (m *MockSmartHTTPServiceClient) PostReceivePack(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.SmartHTTPService_PostReceivePackClient, error)
PostReceivePack mocks base method.
func (*MockSmartHTTPServiceClient) PostUploadPack ¶
func (m *MockSmartHTTPServiceClient) PostUploadPack(arg0 context.Context, arg1 ...grpc.CallOption) (gitalypb.SmartHTTPService_PostUploadPackClient, error)
PostUploadPack mocks base method.
func (*MockSmartHTTPServiceClient) PostUploadPackWithSidechannel ¶ added in v14.5.0
func (m *MockSmartHTTPServiceClient) PostUploadPackWithSidechannel(arg0 context.Context, arg1 *gitalypb.PostUploadPackWithSidechannelRequest, arg2 ...grpc.CallOption) (*gitalypb.PostUploadPackWithSidechannelResponse, error)
PostUploadPackWithSidechannel mocks base method.
type MockSmartHTTPServiceClientMockRecorder ¶
type MockSmartHTTPServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSmartHTTPServiceClientMockRecorder is the mock recorder for MockSmartHTTPServiceClient.
func (*MockSmartHTTPServiceClientMockRecorder) InfoRefsReceivePack ¶
func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsReceivePack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InfoRefsReceivePack indicates an expected call of InfoRefsReceivePack.
func (*MockSmartHTTPServiceClientMockRecorder) InfoRefsUploadPack ¶
func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsUploadPack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InfoRefsUploadPack indicates an expected call of InfoRefsUploadPack.
func (*MockSmartHTTPServiceClientMockRecorder) PostReceivePack ¶
func (mr *MockSmartHTTPServiceClientMockRecorder) PostReceivePack(arg0 interface{}, arg1 ...interface{}) *gomock.Call
PostReceivePack indicates an expected call of PostReceivePack.
func (*MockSmartHTTPServiceClientMockRecorder) PostUploadPack ¶
func (mr *MockSmartHTTPServiceClientMockRecorder) PostUploadPack(arg0 interface{}, arg1 ...interface{}) *gomock.Call
PostUploadPack indicates an expected call of PostUploadPack.
func (*MockSmartHTTPServiceClientMockRecorder) PostUploadPackWithSidechannel ¶ added in v14.5.0
func (mr *MockSmartHTTPServiceClientMockRecorder) PostUploadPackWithSidechannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PostUploadPackWithSidechannel indicates an expected call of PostUploadPackWithSidechannel.
type MockSmartHTTPService_InfoRefsUploadPackClient ¶
type MockSmartHTTPService_InfoRefsUploadPackClient struct {
// contains filtered or unexported fields
}
MockSmartHTTPService_InfoRefsUploadPackClient is a mock of SmartHTTPService_InfoRefsUploadPackClient interface.
func NewMockSmartHTTPService_InfoRefsUploadPackClient ¶
func NewMockSmartHTTPService_InfoRefsUploadPackClient(ctrl *gomock.Controller) *MockSmartHTTPService_InfoRefsUploadPackClient
NewMockSmartHTTPService_InfoRefsUploadPackClient creates a new mock instance.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) CloseSend ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) CloseSend() error
CloseSend mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) Context ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Context() context.Context
Context mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) EXPECT ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) EXPECT() *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) Header ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) Recv ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Recv() (*gitalypb.InfoRefsResponse, error)
Recv mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) RecvMsg ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) SendMsg ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockSmartHTTPService_InfoRefsUploadPackClient) Trailer ¶
func (m *MockSmartHTTPService_InfoRefsUploadPackClient) Trailer() metadata.MD
Trailer mocks base method.
type MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder ¶
type MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder is the mock recorder for MockSmartHTTPService_InfoRefsUploadPackClient.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) CloseSend ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Context ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Header ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Recv ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) RecvMsg ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) SendMsg ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Trailer ¶
func (mr *MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.