Documentation ¶
Overview ¶
Package mock_internalgitaly is a generated GoMock package.
Index ¶
- type MockFetchVisitor
- type MockFetchVisitorEntryCall
- func (c *MockFetchVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, int64, error)) *MockFetchVisitorEntryCall
- func (c *MockFetchVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, int64, error)) *MockFetchVisitorEntryCall
- func (c *MockFetchVisitorEntryCall) Return(arg0 bool, arg1 int64, arg2 error) *MockFetchVisitorEntryCall
- type MockFetchVisitorEntryDoneCall
- func (c *MockFetchVisitorEntryDoneCall) Do(f func(*gitalypb.TreeEntry, error)) *MockFetchVisitorEntryDoneCall
- func (c *MockFetchVisitorEntryDoneCall) DoAndReturn(f func(*gitalypb.TreeEntry, error)) *MockFetchVisitorEntryDoneCall
- func (c *MockFetchVisitorEntryDoneCall) Return() *MockFetchVisitorEntryDoneCall
- type MockFetchVisitorMockRecorder
- type MockFetchVisitorStreamChunkCall
- func (c *MockFetchVisitorStreamChunkCall) Do(f func([]byte, []byte) (bool, error)) *MockFetchVisitorStreamChunkCall
- func (c *MockFetchVisitorStreamChunkCall) DoAndReturn(f func([]byte, []byte) (bool, error)) *MockFetchVisitorStreamChunkCall
- func (c *MockFetchVisitorStreamChunkCall) Return(arg0 bool, arg1 error) *MockFetchVisitorStreamChunkCall
- type MockFileVisitor
- type MockFileVisitorChunkCall
- type MockFileVisitorMockRecorder
- type MockPathEntryVisitor
- type MockPathEntryVisitorEntryCall
- func (c *MockPathEntryVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, error)) *MockPathEntryVisitorEntryCall
- func (c *MockPathEntryVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, error)) *MockPathEntryVisitorEntryCall
- func (c *MockPathEntryVisitorEntryCall) Return(arg0 bool, arg1 error) *MockPathEntryVisitorEntryCall
- type MockPathEntryVisitorMockRecorder
- type MockPathFetcherInterface
- func (m *MockPathFetcherInterface) EXPECT() *MockPathFetcherInterfaceMockRecorder
- func (m *MockPathFetcherInterface) FetchFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, ...) ([]byte, error)
- func (m *MockPathFetcherInterface) StreamFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, ...) error
- func (m *MockPathFetcherInterface) Visit(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, ...) error
- func (m *MockPathFetcherInterface) VisitSingleFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, ...) error
- type MockPathFetcherInterfaceFetchFileCall
- func (c *MockPathFetcherInterfaceFetchFileCall) Do(...) *MockPathFetcherInterfaceFetchFileCall
- func (c *MockPathFetcherInterfaceFetchFileCall) DoAndReturn(...) *MockPathFetcherInterfaceFetchFileCall
- func (c *MockPathFetcherInterfaceFetchFileCall) Return(arg0 []byte, arg1 error) *MockPathFetcherInterfaceFetchFileCall
- type MockPathFetcherInterfaceMockRecorder
- func (mr *MockPathFetcherInterfaceMockRecorder) FetchFile(ctx, repo, revision, repoPath, sizeLimit any) *MockPathFetcherInterfaceFetchFileCall
- func (mr *MockPathFetcherInterfaceMockRecorder) StreamFile(ctx, repo, revision, repoPath, sizeLimit, v any) *MockPathFetcherInterfaceStreamFileCall
- func (mr *MockPathFetcherInterfaceMockRecorder) Visit(ctx, repo, revision, repoPath, recursive, visitor any) *MockPathFetcherInterfaceVisitCall
- func (mr *MockPathFetcherInterfaceMockRecorder) VisitSingleFile(ctx, repo, revision, repoPath, visitor any) *MockPathFetcherInterfaceVisitSingleFileCall
- type MockPathFetcherInterfaceStreamFileCall
- func (c *MockPathFetcherInterfaceStreamFileCall) Do(...) *MockPathFetcherInterfaceStreamFileCall
- func (c *MockPathFetcherInterfaceStreamFileCall) DoAndReturn(...) *MockPathFetcherInterfaceStreamFileCall
- func (c *MockPathFetcherInterfaceStreamFileCall) Return(arg0 error) *MockPathFetcherInterfaceStreamFileCall
- type MockPathFetcherInterfaceVisitCall
- func (c *MockPathFetcherInterfaceVisitCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, ...) error) *MockPathFetcherInterfaceVisitCall
- func (c *MockPathFetcherInterfaceVisitCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, ...) error) *MockPathFetcherInterfaceVisitCall
- func (c *MockPathFetcherInterfaceVisitCall) Return(arg0 error) *MockPathFetcherInterfaceVisitCall
- type MockPathFetcherInterfaceVisitSingleFileCall
- func (c *MockPathFetcherInterfaceVisitSingleFileCall) Do(...) *MockPathFetcherInterfaceVisitSingleFileCall
- func (c *MockPathFetcherInterfaceVisitSingleFileCall) DoAndReturn(...) *MockPathFetcherInterfaceVisitSingleFileCall
- func (c *MockPathFetcherInterfaceVisitSingleFileCall) Return(arg0 error) *MockPathFetcherInterfaceVisitSingleFileCall
- type MockPollerInterface
- type MockPollerInterfaceMockRecorder
- type MockPollerInterfacePollCall
- type MockPoolInterface
- func (m *MockPoolInterface) EXPECT() *MockPoolInterfaceMockRecorder
- func (m *MockPoolInterface) PathFetcher(arg0 context.Context, arg1 *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)
- func (m *MockPoolInterface) Poller(arg0 context.Context, arg1 *entity.GitalyInfo) (gitaly.PollerInterface, error)
- type MockPoolInterfaceMockRecorder
- type MockPoolInterfacePathFetcherCall
- func (c *MockPoolInterfacePathFetcherCall) Do(...) *MockPoolInterfacePathFetcherCall
- func (c *MockPoolInterfacePathFetcherCall) DoAndReturn(...) *MockPoolInterfacePathFetcherCall
- func (c *MockPoolInterfacePathFetcherCall) Return(arg0 gitaly.PathFetcherInterface, arg1 error) *MockPoolInterfacePathFetcherCall
- type MockPoolInterfacePollerCall
- func (c *MockPoolInterfacePollerCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *MockPoolInterfacePollerCall
- func (c *MockPoolInterfacePollerCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *MockPoolInterfacePollerCall
- func (c *MockPoolInterfacePollerCall) Return(arg0 gitaly.PollerInterface, arg1 error) *MockPoolInterfacePollerCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFetchVisitor ¶
type MockFetchVisitor struct {
// contains filtered or unexported fields
}
MockFetchVisitor is a mock of FetchVisitor interface.
func NewMockFetchVisitor ¶
func NewMockFetchVisitor(ctrl *gomock.Controller) *MockFetchVisitor
NewMockFetchVisitor creates a new mock instance.
func (*MockFetchVisitor) EXPECT ¶
func (m *MockFetchVisitor) EXPECT() *MockFetchVisitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFetchVisitor) EntryDone ¶
func (m *MockFetchVisitor) EntryDone(arg0 *gitalypb.TreeEntry, arg1 error)
EntryDone mocks base method.
func (*MockFetchVisitor) StreamChunk ¶
func (m *MockFetchVisitor) StreamChunk(path, data []byte) (bool, error)
StreamChunk mocks base method.
type MockFetchVisitorEntryCall ¶
MockFetchVisitorEntryCall wrap *gomock.Call
func (*MockFetchVisitorEntryCall) Do ¶
func (c *MockFetchVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, int64, error)) *MockFetchVisitorEntryCall
Do rewrite *gomock.Call.Do
func (*MockFetchVisitorEntryCall) DoAndReturn ¶
func (c *MockFetchVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, int64, error)) *MockFetchVisitorEntryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFetchVisitorEntryCall) Return ¶
func (c *MockFetchVisitorEntryCall) Return(arg0 bool, arg1 int64, arg2 error) *MockFetchVisitorEntryCall
Return rewrite *gomock.Call.Return
type MockFetchVisitorEntryDoneCall ¶
MockFetchVisitorEntryDoneCall wrap *gomock.Call
func (*MockFetchVisitorEntryDoneCall) Do ¶
func (c *MockFetchVisitorEntryDoneCall) Do(f func(*gitalypb.TreeEntry, error)) *MockFetchVisitorEntryDoneCall
Do rewrite *gomock.Call.Do
func (*MockFetchVisitorEntryDoneCall) DoAndReturn ¶
func (c *MockFetchVisitorEntryDoneCall) DoAndReturn(f func(*gitalypb.TreeEntry, error)) *MockFetchVisitorEntryDoneCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFetchVisitorEntryDoneCall) Return ¶
func (c *MockFetchVisitorEntryDoneCall) Return() *MockFetchVisitorEntryDoneCall
Return rewrite *gomock.Call.Return
type MockFetchVisitorMockRecorder ¶
type MockFetchVisitorMockRecorder struct {
// contains filtered or unexported fields
}
MockFetchVisitorMockRecorder is the mock recorder for MockFetchVisitor.
func (*MockFetchVisitorMockRecorder) Entry ¶
func (mr *MockFetchVisitorMockRecorder) Entry(arg0 any) *MockFetchVisitorEntryCall
Entry indicates an expected call of Entry.
func (*MockFetchVisitorMockRecorder) EntryDone ¶
func (mr *MockFetchVisitorMockRecorder) EntryDone(arg0, arg1 any) *MockFetchVisitorEntryDoneCall
EntryDone indicates an expected call of EntryDone.
func (*MockFetchVisitorMockRecorder) StreamChunk ¶
func (mr *MockFetchVisitorMockRecorder) StreamChunk(path, data any) *MockFetchVisitorStreamChunkCall
StreamChunk indicates an expected call of StreamChunk.
type MockFetchVisitorStreamChunkCall ¶
MockFetchVisitorStreamChunkCall wrap *gomock.Call
func (*MockFetchVisitorStreamChunkCall) Do ¶
func (c *MockFetchVisitorStreamChunkCall) Do(f func([]byte, []byte) (bool, error)) *MockFetchVisitorStreamChunkCall
Do rewrite *gomock.Call.Do
func (*MockFetchVisitorStreamChunkCall) DoAndReturn ¶
func (c *MockFetchVisitorStreamChunkCall) DoAndReturn(f func([]byte, []byte) (bool, error)) *MockFetchVisitorStreamChunkCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFetchVisitorStreamChunkCall) Return ¶
func (c *MockFetchVisitorStreamChunkCall) Return(arg0 bool, arg1 error) *MockFetchVisitorStreamChunkCall
Return rewrite *gomock.Call.Return
type MockFileVisitor ¶
type MockFileVisitor struct {
// contains filtered or unexported fields
}
MockFileVisitor is a mock of FileVisitor interface.
func NewMockFileVisitor ¶
func NewMockFileVisitor(ctrl *gomock.Controller) *MockFileVisitor
NewMockFileVisitor creates a new mock instance.
func (*MockFileVisitor) Chunk ¶
func (m *MockFileVisitor) Chunk(data []byte) (bool, error)
Chunk mocks base method.
func (*MockFileVisitor) EXPECT ¶
func (m *MockFileVisitor) EXPECT() *MockFileVisitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFileVisitorChunkCall ¶
MockFileVisitorChunkCall wrap *gomock.Call
func (*MockFileVisitorChunkCall) Do ¶
func (c *MockFileVisitorChunkCall) Do(f func([]byte) (bool, error)) *MockFileVisitorChunkCall
Do rewrite *gomock.Call.Do
func (*MockFileVisitorChunkCall) DoAndReturn ¶
func (c *MockFileVisitorChunkCall) DoAndReturn(f func([]byte) (bool, error)) *MockFileVisitorChunkCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFileVisitorChunkCall) Return ¶
func (c *MockFileVisitorChunkCall) Return(arg0 bool, arg1 error) *MockFileVisitorChunkCall
Return rewrite *gomock.Call.Return
type MockFileVisitorMockRecorder ¶
type MockFileVisitorMockRecorder struct {
// contains filtered or unexported fields
}
MockFileVisitorMockRecorder is the mock recorder for MockFileVisitor.
func (*MockFileVisitorMockRecorder) Chunk ¶
func (mr *MockFileVisitorMockRecorder) Chunk(data any) *MockFileVisitorChunkCall
Chunk indicates an expected call of Chunk.
type MockPathEntryVisitor ¶
type MockPathEntryVisitor struct {
// contains filtered or unexported fields
}
MockPathEntryVisitor is a mock of PathEntryVisitor interface.
func NewMockPathEntryVisitor ¶
func NewMockPathEntryVisitor(ctrl *gomock.Controller) *MockPathEntryVisitor
NewMockPathEntryVisitor creates a new mock instance.
func (*MockPathEntryVisitor) EXPECT ¶
func (m *MockPathEntryVisitor) EXPECT() *MockPathEntryVisitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPathEntryVisitorEntryCall ¶
MockPathEntryVisitorEntryCall wrap *gomock.Call
func (*MockPathEntryVisitorEntryCall) Do ¶
func (c *MockPathEntryVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, error)) *MockPathEntryVisitorEntryCall
Do rewrite *gomock.Call.Do
func (*MockPathEntryVisitorEntryCall) DoAndReturn ¶
func (c *MockPathEntryVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, error)) *MockPathEntryVisitorEntryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPathEntryVisitorEntryCall) Return ¶
func (c *MockPathEntryVisitorEntryCall) Return(arg0 bool, arg1 error) *MockPathEntryVisitorEntryCall
Return rewrite *gomock.Call.Return
type MockPathEntryVisitorMockRecorder ¶
type MockPathEntryVisitorMockRecorder struct {
// contains filtered or unexported fields
}
MockPathEntryVisitorMockRecorder is the mock recorder for MockPathEntryVisitor.
func (*MockPathEntryVisitorMockRecorder) Entry ¶
func (mr *MockPathEntryVisitorMockRecorder) Entry(arg0 any) *MockPathEntryVisitorEntryCall
Entry indicates an expected call of Entry.
type MockPathFetcherInterface ¶
type MockPathFetcherInterface struct {
// contains filtered or unexported fields
}
MockPathFetcherInterface is a mock of PathFetcherInterface interface.
func NewMockPathFetcherInterface ¶
func NewMockPathFetcherInterface(ctrl *gomock.Controller) *MockPathFetcherInterface
NewMockPathFetcherInterface creates a new mock instance.
func (*MockPathFetcherInterface) EXPECT ¶
func (m *MockPathFetcherInterface) EXPECT() *MockPathFetcherInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPathFetcherInterface) FetchFile ¶
func (m *MockPathFetcherInterface) FetchFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, sizeLimit int64) ([]byte, error)
FetchFile mocks base method.
func (*MockPathFetcherInterface) StreamFile ¶
func (m *MockPathFetcherInterface) StreamFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, sizeLimit int64, v gitaly.FileVisitor) error
StreamFile mocks base method.
func (*MockPathFetcherInterface) Visit ¶
func (m *MockPathFetcherInterface) Visit(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, recursive bool, visitor gitaly.FetchVisitor) error
Visit mocks base method.
func (*MockPathFetcherInterface) VisitSingleFile ¶
func (m *MockPathFetcherInterface) VisitSingleFile(ctx context.Context, repo *gitalypb.Repository, revision, repoPath []byte, visitor gitaly.FetchVisitor) error
VisitSingleFile mocks base method.
type MockPathFetcherInterfaceFetchFileCall ¶
MockPathFetcherInterfaceFetchFileCall wrap *gomock.Call
func (*MockPathFetcherInterfaceFetchFileCall) Do ¶
func (c *MockPathFetcherInterfaceFetchFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64) ([]byte, error)) *MockPathFetcherInterfaceFetchFileCall
Do rewrite *gomock.Call.Do
func (*MockPathFetcherInterfaceFetchFileCall) DoAndReturn ¶
func (c *MockPathFetcherInterfaceFetchFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64) ([]byte, error)) *MockPathFetcherInterfaceFetchFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPathFetcherInterfaceFetchFileCall) Return ¶
func (c *MockPathFetcherInterfaceFetchFileCall) Return(arg0 []byte, arg1 error) *MockPathFetcherInterfaceFetchFileCall
Return rewrite *gomock.Call.Return
type MockPathFetcherInterfaceMockRecorder ¶
type MockPathFetcherInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPathFetcherInterfaceMockRecorder is the mock recorder for MockPathFetcherInterface.
func (*MockPathFetcherInterfaceMockRecorder) FetchFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) FetchFile(ctx, repo, revision, repoPath, sizeLimit any) *MockPathFetcherInterfaceFetchFileCall
FetchFile indicates an expected call of FetchFile.
func (*MockPathFetcherInterfaceMockRecorder) StreamFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) StreamFile(ctx, repo, revision, repoPath, sizeLimit, v any) *MockPathFetcherInterfaceStreamFileCall
StreamFile indicates an expected call of StreamFile.
func (*MockPathFetcherInterfaceMockRecorder) Visit ¶
func (mr *MockPathFetcherInterfaceMockRecorder) Visit(ctx, repo, revision, repoPath, recursive, visitor any) *MockPathFetcherInterfaceVisitCall
Visit indicates an expected call of Visit.
func (*MockPathFetcherInterfaceMockRecorder) VisitSingleFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) VisitSingleFile(ctx, repo, revision, repoPath, visitor any) *MockPathFetcherInterfaceVisitSingleFileCall
VisitSingleFile indicates an expected call of VisitSingleFile.
type MockPathFetcherInterfaceStreamFileCall ¶
MockPathFetcherInterfaceStreamFileCall wrap *gomock.Call
func (*MockPathFetcherInterfaceStreamFileCall) Do ¶
func (c *MockPathFetcherInterfaceStreamFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64, gitaly.FileVisitor) error) *MockPathFetcherInterfaceStreamFileCall
Do rewrite *gomock.Call.Do
func (*MockPathFetcherInterfaceStreamFileCall) DoAndReturn ¶
func (c *MockPathFetcherInterfaceStreamFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64, gitaly.FileVisitor) error) *MockPathFetcherInterfaceStreamFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPathFetcherInterfaceStreamFileCall) Return ¶
func (c *MockPathFetcherInterfaceStreamFileCall) Return(arg0 error) *MockPathFetcherInterfaceStreamFileCall
Return rewrite *gomock.Call.Return
type MockPathFetcherInterfaceVisitCall ¶
MockPathFetcherInterfaceVisitCall wrap *gomock.Call
func (*MockPathFetcherInterfaceVisitCall) Do ¶
func (c *MockPathFetcherInterfaceVisitCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, gitaly.FetchVisitor) error) *MockPathFetcherInterfaceVisitCall
Do rewrite *gomock.Call.Do
func (*MockPathFetcherInterfaceVisitCall) DoAndReturn ¶
func (c *MockPathFetcherInterfaceVisitCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, gitaly.FetchVisitor) error) *MockPathFetcherInterfaceVisitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPathFetcherInterfaceVisitCall) Return ¶
func (c *MockPathFetcherInterfaceVisitCall) Return(arg0 error) *MockPathFetcherInterfaceVisitCall
Return rewrite *gomock.Call.Return
type MockPathFetcherInterfaceVisitSingleFileCall ¶
MockPathFetcherInterfaceVisitSingleFileCall wrap *gomock.Call
func (*MockPathFetcherInterfaceVisitSingleFileCall) Do ¶
func (c *MockPathFetcherInterfaceVisitSingleFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, gitaly.FetchVisitor) error) *MockPathFetcherInterfaceVisitSingleFileCall
Do rewrite *gomock.Call.Do
func (*MockPathFetcherInterfaceVisitSingleFileCall) DoAndReturn ¶
func (c *MockPathFetcherInterfaceVisitSingleFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, gitaly.FetchVisitor) error) *MockPathFetcherInterfaceVisitSingleFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPathFetcherInterfaceVisitSingleFileCall) Return ¶
func (c *MockPathFetcherInterfaceVisitSingleFileCall) Return(arg0 error) *MockPathFetcherInterfaceVisitSingleFileCall
Return rewrite *gomock.Call.Return
type MockPollerInterface ¶
type MockPollerInterface struct {
// contains filtered or unexported fields
}
MockPollerInterface is a mock of PollerInterface interface.
func NewMockPollerInterface ¶
func NewMockPollerInterface(ctrl *gomock.Controller) *MockPollerInterface
NewMockPollerInterface creates a new mock instance.
func (*MockPollerInterface) EXPECT ¶
func (m *MockPollerInterface) EXPECT() *MockPollerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPollerInterfaceMockRecorder ¶
type MockPollerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPollerInterfaceMockRecorder is the mock recorder for MockPollerInterface.
func (*MockPollerInterfaceMockRecorder) Poll ¶
func (mr *MockPollerInterfaceMockRecorder) Poll(ctx, repo, refName, filepath any) *MockPollerInterfacePollCall
Poll indicates an expected call of Poll.
type MockPollerInterfacePollCall ¶
MockPollerInterfacePollCall wrap *gomock.Call
func (*MockPollerInterfacePollCall) Do ¶
func (c *MockPollerInterfacePollCall) Do(f func(context.Context, *gitalypb.Repository, string, string) (*gitaly.PollInfo, error)) *MockPollerInterfacePollCall
Do rewrite *gomock.Call.Do
func (*MockPollerInterfacePollCall) DoAndReturn ¶
func (c *MockPollerInterfacePollCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, string, string) (*gitaly.PollInfo, error)) *MockPollerInterfacePollCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPollerInterfacePollCall) Return ¶
func (c *MockPollerInterfacePollCall) Return(arg0 *gitaly.PollInfo, arg1 error) *MockPollerInterfacePollCall
Return rewrite *gomock.Call.Return
type MockPoolInterface ¶
type MockPoolInterface struct {
// contains filtered or unexported fields
}
MockPoolInterface is a mock of PoolInterface interface.
func NewMockPoolInterface ¶
func NewMockPoolInterface(ctrl *gomock.Controller) *MockPoolInterface
NewMockPoolInterface creates a new mock instance.
func (*MockPoolInterface) EXPECT ¶
func (m *MockPoolInterface) EXPECT() *MockPoolInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolInterface) PathFetcher ¶
func (m *MockPoolInterface) PathFetcher(arg0 context.Context, arg1 *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)
PathFetcher mocks base method.
func (*MockPoolInterface) Poller ¶
func (m *MockPoolInterface) Poller(arg0 context.Context, arg1 *entity.GitalyInfo) (gitaly.PollerInterface, error)
Poller mocks base method.
type MockPoolInterfaceMockRecorder ¶
type MockPoolInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolInterfaceMockRecorder is the mock recorder for MockPoolInterface.
func (*MockPoolInterfaceMockRecorder) PathFetcher ¶
func (mr *MockPoolInterfaceMockRecorder) PathFetcher(arg0, arg1 any) *MockPoolInterfacePathFetcherCall
PathFetcher indicates an expected call of PathFetcher.
func (*MockPoolInterfaceMockRecorder) Poller ¶
func (mr *MockPoolInterfaceMockRecorder) Poller(arg0, arg1 any) *MockPoolInterfacePollerCall
Poller indicates an expected call of Poller.
type MockPoolInterfacePathFetcherCall ¶
MockPoolInterfacePathFetcherCall wrap *gomock.Call
func (*MockPoolInterfacePathFetcherCall) Do ¶
func (c *MockPoolInterfacePathFetcherCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)) *MockPoolInterfacePathFetcherCall
Do rewrite *gomock.Call.Do
func (*MockPoolInterfacePathFetcherCall) DoAndReturn ¶
func (c *MockPoolInterfacePathFetcherCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)) *MockPoolInterfacePathFetcherCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolInterfacePathFetcherCall) Return ¶
func (c *MockPoolInterfacePathFetcherCall) Return(arg0 gitaly.PathFetcherInterface, arg1 error) *MockPoolInterfacePathFetcherCall
Return rewrite *gomock.Call.Return
type MockPoolInterfacePollerCall ¶
MockPoolInterfacePollerCall wrap *gomock.Call
func (*MockPoolInterfacePollerCall) Do ¶
func (c *MockPoolInterfacePollerCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *MockPoolInterfacePollerCall
Do rewrite *gomock.Call.Do
func (*MockPoolInterfacePollerCall) DoAndReturn ¶
func (c *MockPoolInterfacePollerCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *MockPoolInterfacePollerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolInterfacePollerCall) Return ¶
func (c *MockPoolInterfacePollerCall) Return(arg0 gitaly.PollerInterface, arg1 error) *MockPoolInterfacePollerCall
Return rewrite *gomock.Call.Return