Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/gitaly (interfaces: PoolInterface,FetchVisitor,PathEntryVisitor,FileVisitor,PathFetcherInterface,PollerInterface)
Generated by this command:
mockgen -typed -destination internalgitaly.go -package mock_internalgitaly gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/gitaly PoolInterface,FetchVisitor,PathEntryVisitor,FileVisitor,PathFetcherInterface,PollerInterface
Package mock_internalgitaly is a generated GoMock package.
Index ¶
- type FetchVisitorEntryCall
- func (c *FetchVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, int64, error)) *FetchVisitorEntryCall
- func (c *FetchVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, int64, error)) *FetchVisitorEntryCall
- func (c *FetchVisitorEntryCall) Return(arg0 bool, arg1 int64, arg2 error) *FetchVisitorEntryCall
- type FetchVisitorEntryDoneCall
- type FetchVisitorStreamChunkCall
- func (c *FetchVisitorStreamChunkCall) Do(f func([]byte, []byte) (bool, error)) *FetchVisitorStreamChunkCall
- func (c *FetchVisitorStreamChunkCall) DoAndReturn(f func([]byte, []byte) (bool, error)) *FetchVisitorStreamChunkCall
- func (c *FetchVisitorStreamChunkCall) Return(arg0 bool, arg1 error) *FetchVisitorStreamChunkCall
- type FileVisitorChunkCall
- type MockFetchVisitor
- type MockFetchVisitorMockRecorder
- type MockFileVisitor
- type MockFileVisitorMockRecorder
- type MockPathEntryVisitor
- type MockPathEntryVisitorMockRecorder
- type MockPathFetcherInterface
- func (m *MockPathFetcherInterface) EXPECT() *MockPathFetcherInterfaceMockRecorder
- func (m *MockPathFetcherInterface) FetchFile(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 int64) ([]byte, error)
- func (m *MockPathFetcherInterface) StreamFile(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 int64, ...) error
- func (m *MockPathFetcherInterface) Visit(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 bool, ...) error
- func (m *MockPathFetcherInterface) VisitSingleFile(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, ...) error
- type MockPathFetcherInterfaceMockRecorder
- func (mr *MockPathFetcherInterfaceMockRecorder) FetchFile(arg0, arg1, arg2, arg3, arg4 any) *PathFetcherInterfaceFetchFileCall
- func (mr *MockPathFetcherInterfaceMockRecorder) StreamFile(arg0, arg1, arg2, arg3, arg4, arg5 any) *PathFetcherInterfaceStreamFileCall
- func (mr *MockPathFetcherInterfaceMockRecorder) Visit(arg0, arg1, arg2, arg3, arg4, arg5 any) *PathFetcherInterfaceVisitCall
- func (mr *MockPathFetcherInterfaceMockRecorder) VisitSingleFile(arg0, arg1, arg2, arg3, arg4 any) *PathFetcherInterfaceVisitSingleFileCall
- type MockPollerInterface
- type MockPollerInterfaceMockRecorder
- 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 PathEntryVisitorEntryCall
- func (c *PathEntryVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, error)) *PathEntryVisitorEntryCall
- func (c *PathEntryVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, error)) *PathEntryVisitorEntryCall
- func (c *PathEntryVisitorEntryCall) Return(arg0 bool, arg1 error) *PathEntryVisitorEntryCall
- type PathFetcherInterfaceFetchFileCall
- type PathFetcherInterfaceStreamFileCall
- type PathFetcherInterfaceVisitCall
- func (c *PathFetcherInterfaceVisitCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, ...) error) *PathFetcherInterfaceVisitCall
- func (c *PathFetcherInterfaceVisitCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, ...) error) *PathFetcherInterfaceVisitCall
- func (c *PathFetcherInterfaceVisitCall) Return(arg0 error) *PathFetcherInterfaceVisitCall
- type PathFetcherInterfaceVisitSingleFileCall
- func (c *PathFetcherInterfaceVisitSingleFileCall) Do(...) *PathFetcherInterfaceVisitSingleFileCall
- func (c *PathFetcherInterfaceVisitSingleFileCall) DoAndReturn(...) *PathFetcherInterfaceVisitSingleFileCall
- func (c *PathFetcherInterfaceVisitSingleFileCall) Return(arg0 error) *PathFetcherInterfaceVisitSingleFileCall
- type PollerInterfacePollCall
- type PoolInterfacePathFetcherCall
- type PoolInterfacePollerCall
- func (c *PoolInterfacePollerCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *PoolInterfacePollerCall
- func (c *PoolInterfacePollerCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *PoolInterfacePollerCall
- func (c *PoolInterfacePollerCall) Return(arg0 gitaly.PollerInterface, arg1 error) *PoolInterfacePollerCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchVisitorEntryCall ¶ added in v16.5.0
FetchVisitorEntryCall wrap *gomock.Call
func (*FetchVisitorEntryCall) Do ¶ added in v16.5.0
func (c *FetchVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, int64, error)) *FetchVisitorEntryCall
Do rewrite *gomock.Call.Do
func (*FetchVisitorEntryCall) DoAndReturn ¶ added in v16.5.0
func (c *FetchVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, int64, error)) *FetchVisitorEntryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetchVisitorEntryCall) Return ¶ added in v16.5.0
func (c *FetchVisitorEntryCall) Return(arg0 bool, arg1 int64, arg2 error) *FetchVisitorEntryCall
Return rewrite *gomock.Call.Return
type FetchVisitorEntryDoneCall ¶ added in v16.5.0
FetchVisitorEntryDoneCall wrap *gomock.Call
func (*FetchVisitorEntryDoneCall) Do ¶ added in v16.5.0
func (c *FetchVisitorEntryDoneCall) Do(f func(*gitalypb.TreeEntry, error)) *FetchVisitorEntryDoneCall
Do rewrite *gomock.Call.Do
func (*FetchVisitorEntryDoneCall) DoAndReturn ¶ added in v16.5.0
func (c *FetchVisitorEntryDoneCall) DoAndReturn(f func(*gitalypb.TreeEntry, error)) *FetchVisitorEntryDoneCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetchVisitorEntryDoneCall) Return ¶ added in v16.5.0
func (c *FetchVisitorEntryDoneCall) Return() *FetchVisitorEntryDoneCall
Return rewrite *gomock.Call.Return
type FetchVisitorStreamChunkCall ¶ added in v16.5.0
FetchVisitorStreamChunkCall wrap *gomock.Call
func (*FetchVisitorStreamChunkCall) Do ¶ added in v16.5.0
func (c *FetchVisitorStreamChunkCall) Do(f func([]byte, []byte) (bool, error)) *FetchVisitorStreamChunkCall
Do rewrite *gomock.Call.Do
func (*FetchVisitorStreamChunkCall) DoAndReturn ¶ added in v16.5.0
func (c *FetchVisitorStreamChunkCall) DoAndReturn(f func([]byte, []byte) (bool, error)) *FetchVisitorStreamChunkCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetchVisitorStreamChunkCall) Return ¶ added in v16.5.0
func (c *FetchVisitorStreamChunkCall) Return(arg0 bool, arg1 error) *FetchVisitorStreamChunkCall
Return rewrite *gomock.Call.Return
type FileVisitorChunkCall ¶ added in v16.5.0
FileVisitorChunkCall wrap *gomock.Call
func (*FileVisitorChunkCall) Do ¶ added in v16.5.0
func (c *FileVisitorChunkCall) Do(f func([]byte) (bool, error)) *FileVisitorChunkCall
Do rewrite *gomock.Call.Do
func (*FileVisitorChunkCall) DoAndReturn ¶ added in v16.5.0
func (c *FileVisitorChunkCall) DoAndReturn(f func([]byte) (bool, error)) *FileVisitorChunkCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FileVisitorChunkCall) Return ¶ added in v16.5.0
func (c *FileVisitorChunkCall) Return(arg0 bool, arg1 error) *FileVisitorChunkCall
Return rewrite *gomock.Call.Return
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(arg0, arg1 []byte) (bool, error)
StreamChunk mocks base method.
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) *FetchVisitorEntryCall
Entry indicates an expected call of Entry.
func (*MockFetchVisitorMockRecorder) EntryDone ¶
func (mr *MockFetchVisitorMockRecorder) EntryDone(arg0, arg1 any) *FetchVisitorEntryDoneCall
EntryDone indicates an expected call of EntryDone.
func (*MockFetchVisitorMockRecorder) StreamChunk ¶
func (mr *MockFetchVisitorMockRecorder) StreamChunk(arg0, arg1 any) *FetchVisitorStreamChunkCall
StreamChunk indicates an expected call of StreamChunk.
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(arg0 []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 MockFileVisitorMockRecorder ¶
type MockFileVisitorMockRecorder struct {
// contains filtered or unexported fields
}
MockFileVisitorMockRecorder is the mock recorder for MockFileVisitor.
func (*MockFileVisitorMockRecorder) Chunk ¶
func (mr *MockFileVisitorMockRecorder) Chunk(arg0 any) *FileVisitorChunkCall
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 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) *PathEntryVisitorEntryCall
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(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 int64) ([]byte, error)
FetchFile mocks base method.
func (*MockPathFetcherInterface) StreamFile ¶
func (m *MockPathFetcherInterface) StreamFile(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 int64, arg5 gitaly.FileVisitor) error
StreamFile mocks base method.
func (*MockPathFetcherInterface) Visit ¶
func (m *MockPathFetcherInterface) Visit(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 bool, arg5 gitaly.FetchVisitor) error
Visit mocks base method.
func (*MockPathFetcherInterface) VisitSingleFile ¶
func (m *MockPathFetcherInterface) VisitSingleFile(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 []byte, arg4 gitaly.FetchVisitor) error
VisitSingleFile mocks base method.
type MockPathFetcherInterfaceMockRecorder ¶
type MockPathFetcherInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPathFetcherInterfaceMockRecorder is the mock recorder for MockPathFetcherInterface.
func (*MockPathFetcherInterfaceMockRecorder) FetchFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) FetchFile(arg0, arg1, arg2, arg3, arg4 any) *PathFetcherInterfaceFetchFileCall
FetchFile indicates an expected call of FetchFile.
func (*MockPathFetcherInterfaceMockRecorder) StreamFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) StreamFile(arg0, arg1, arg2, arg3, arg4, arg5 any) *PathFetcherInterfaceStreamFileCall
StreamFile indicates an expected call of StreamFile.
func (*MockPathFetcherInterfaceMockRecorder) Visit ¶
func (mr *MockPathFetcherInterfaceMockRecorder) Visit(arg0, arg1, arg2, arg3, arg4, arg5 any) *PathFetcherInterfaceVisitCall
Visit indicates an expected call of Visit.
func (*MockPathFetcherInterfaceMockRecorder) VisitSingleFile ¶
func (mr *MockPathFetcherInterfaceMockRecorder) VisitSingleFile(arg0, arg1, arg2, arg3, arg4 any) *PathFetcherInterfaceVisitSingleFileCall
VisitSingleFile indicates an expected call of VisitSingleFile.
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(arg0, arg1, arg2, arg3 any) *PollerInterfacePollCall
Poll indicates an expected call of Poll.
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) *PoolInterfacePathFetcherCall
PathFetcher indicates an expected call of PathFetcher.
func (*MockPoolInterfaceMockRecorder) Poller ¶
func (mr *MockPoolInterfaceMockRecorder) Poller(arg0, arg1 any) *PoolInterfacePollerCall
Poller indicates an expected call of Poller.
type PathEntryVisitorEntryCall ¶ added in v16.5.0
PathEntryVisitorEntryCall wrap *gomock.Call
func (*PathEntryVisitorEntryCall) Do ¶ added in v16.5.0
func (c *PathEntryVisitorEntryCall) Do(f func(*gitalypb.TreeEntry) (bool, error)) *PathEntryVisitorEntryCall
Do rewrite *gomock.Call.Do
func (*PathEntryVisitorEntryCall) DoAndReturn ¶ added in v16.5.0
func (c *PathEntryVisitorEntryCall) DoAndReturn(f func(*gitalypb.TreeEntry) (bool, error)) *PathEntryVisitorEntryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PathEntryVisitorEntryCall) Return ¶ added in v16.5.0
func (c *PathEntryVisitorEntryCall) Return(arg0 bool, arg1 error) *PathEntryVisitorEntryCall
Return rewrite *gomock.Call.Return
type PathFetcherInterfaceFetchFileCall ¶ added in v16.5.0
PathFetcherInterfaceFetchFileCall wrap *gomock.Call
func (*PathFetcherInterfaceFetchFileCall) Do ¶ added in v16.5.0
func (c *PathFetcherInterfaceFetchFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64) ([]byte, error)) *PathFetcherInterfaceFetchFileCall
Do rewrite *gomock.Call.Do
func (*PathFetcherInterfaceFetchFileCall) DoAndReturn ¶ added in v16.5.0
func (c *PathFetcherInterfaceFetchFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64) ([]byte, error)) *PathFetcherInterfaceFetchFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PathFetcherInterfaceFetchFileCall) Return ¶ added in v16.5.0
func (c *PathFetcherInterfaceFetchFileCall) Return(arg0 []byte, arg1 error) *PathFetcherInterfaceFetchFileCall
Return rewrite *gomock.Call.Return
type PathFetcherInterfaceStreamFileCall ¶ added in v16.5.0
PathFetcherInterfaceStreamFileCall wrap *gomock.Call
func (*PathFetcherInterfaceStreamFileCall) Do ¶ added in v16.5.0
func (c *PathFetcherInterfaceStreamFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64, gitaly.FileVisitor) error) *PathFetcherInterfaceStreamFileCall
Do rewrite *gomock.Call.Do
func (*PathFetcherInterfaceStreamFileCall) DoAndReturn ¶ added in v16.5.0
func (c *PathFetcherInterfaceStreamFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, int64, gitaly.FileVisitor) error) *PathFetcherInterfaceStreamFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PathFetcherInterfaceStreamFileCall) Return ¶ added in v16.5.0
func (c *PathFetcherInterfaceStreamFileCall) Return(arg0 error) *PathFetcherInterfaceStreamFileCall
Return rewrite *gomock.Call.Return
type PathFetcherInterfaceVisitCall ¶ added in v16.5.0
PathFetcherInterfaceVisitCall wrap *gomock.Call
func (*PathFetcherInterfaceVisitCall) Do ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, gitaly.FetchVisitor) error) *PathFetcherInterfaceVisitCall
Do rewrite *gomock.Call.Do
func (*PathFetcherInterfaceVisitCall) DoAndReturn ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, bool, gitaly.FetchVisitor) error) *PathFetcherInterfaceVisitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PathFetcherInterfaceVisitCall) Return ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitCall) Return(arg0 error) *PathFetcherInterfaceVisitCall
Return rewrite *gomock.Call.Return
type PathFetcherInterfaceVisitSingleFileCall ¶ added in v16.5.0
PathFetcherInterfaceVisitSingleFileCall wrap *gomock.Call
func (*PathFetcherInterfaceVisitSingleFileCall) Do ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitSingleFileCall) Do(f func(context.Context, *gitalypb.Repository, []byte, []byte, gitaly.FetchVisitor) error) *PathFetcherInterfaceVisitSingleFileCall
Do rewrite *gomock.Call.Do
func (*PathFetcherInterfaceVisitSingleFileCall) DoAndReturn ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitSingleFileCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, []byte, []byte, gitaly.FetchVisitor) error) *PathFetcherInterfaceVisitSingleFileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PathFetcherInterfaceVisitSingleFileCall) Return ¶ added in v16.5.0
func (c *PathFetcherInterfaceVisitSingleFileCall) Return(arg0 error) *PathFetcherInterfaceVisitSingleFileCall
Return rewrite *gomock.Call.Return
type PollerInterfacePollCall ¶ added in v16.5.0
PollerInterfacePollCall wrap *gomock.Call
func (*PollerInterfacePollCall) Do ¶ added in v16.5.0
func (c *PollerInterfacePollCall) Do(f func(context.Context, *gitalypb.Repository, string, string) (*gitaly.PollInfo, error)) *PollerInterfacePollCall
Do rewrite *gomock.Call.Do
func (*PollerInterfacePollCall) DoAndReturn ¶ added in v16.5.0
func (c *PollerInterfacePollCall) DoAndReturn(f func(context.Context, *gitalypb.Repository, string, string) (*gitaly.PollInfo, error)) *PollerInterfacePollCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PollerInterfacePollCall) Return ¶ added in v16.5.0
func (c *PollerInterfacePollCall) Return(arg0 *gitaly.PollInfo, arg1 error) *PollerInterfacePollCall
Return rewrite *gomock.Call.Return
type PoolInterfacePathFetcherCall ¶ added in v16.5.0
PoolInterfacePathFetcherCall wrap *gomock.Call
func (*PoolInterfacePathFetcherCall) Do ¶ added in v16.5.0
func (c *PoolInterfacePathFetcherCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)) *PoolInterfacePathFetcherCall
Do rewrite *gomock.Call.Do
func (*PoolInterfacePathFetcherCall) DoAndReturn ¶ added in v16.5.0
func (c *PoolInterfacePathFetcherCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PathFetcherInterface, error)) *PoolInterfacePathFetcherCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PoolInterfacePathFetcherCall) Return ¶ added in v16.5.0
func (c *PoolInterfacePathFetcherCall) Return(arg0 gitaly.PathFetcherInterface, arg1 error) *PoolInterfacePathFetcherCall
Return rewrite *gomock.Call.Return
type PoolInterfacePollerCall ¶ added in v16.5.0
PoolInterfacePollerCall wrap *gomock.Call
func (*PoolInterfacePollerCall) Do ¶ added in v16.5.0
func (c *PoolInterfacePollerCall) Do(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *PoolInterfacePollerCall
Do rewrite *gomock.Call.Do
func (*PoolInterfacePollerCall) DoAndReturn ¶ added in v16.5.0
func (c *PoolInterfacePollerCall) DoAndReturn(f func(context.Context, *entity.GitalyInfo) (gitaly.PollerInterface, error)) *PoolInterfacePollerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PoolInterfacePollerCall) Return ¶ added in v16.5.0
func (c *PoolInterfacePollerCall) Return(arg0 gitaly.PollerInterface, arg1 error) *PoolInterfacePollerCall
Return rewrite *gomock.Call.Return