mock_internalgitaly

package
v16.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_internalgitaly is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFetchVisitor) Entry

func (m *MockFetchVisitor) Entry(arg0 *gitalypb.TreeEntry) (bool, int64, error)

Entry mocks base method.

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 MockFetchVisitorEntryCall added in v16.8.0

type MockFetchVisitorEntryCall struct {
	*gomock.Call
}

MockFetchVisitorEntryCall wrap *gomock.Call

func (*MockFetchVisitorEntryCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorEntryCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorEntryCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockFetchVisitorEntryDoneCall added in v16.8.0

type MockFetchVisitorEntryDoneCall struct {
	*gomock.Call
}

MockFetchVisitorEntryDoneCall wrap *gomock.Call

func (*MockFetchVisitorEntryDoneCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorEntryDoneCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorEntryDoneCall) Return added in v16.8.0

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

Entry indicates an expected call of Entry.

func (*MockFetchVisitorMockRecorder) EntryDone

EntryDone indicates an expected call of EntryDone.

func (*MockFetchVisitorMockRecorder) StreamChunk

StreamChunk indicates an expected call of StreamChunk.

type MockFetchVisitorStreamChunkCall added in v16.8.0

type MockFetchVisitorStreamChunkCall struct {
	*gomock.Call
}

MockFetchVisitorStreamChunkCall wrap *gomock.Call

func (*MockFetchVisitorStreamChunkCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorStreamChunkCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorStreamChunkCall) Return added in v16.8.0

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(arg0 []byte) (bool, error)

Chunk mocks base method.

func (*MockFileVisitor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockFileVisitorChunkCall added in v16.8.0

type MockFileVisitorChunkCall struct {
	*gomock.Call
}

MockFileVisitorChunkCall wrap *gomock.Call

func (*MockFileVisitorChunkCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockFileVisitorChunkCall) DoAndReturn added in v16.8.0

func (c *MockFileVisitorChunkCall) DoAndReturn(f func([]byte) (bool, error)) *MockFileVisitorChunkCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileVisitorChunkCall) Return added in v16.8.0

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPathEntryVisitor) Entry

func (m *MockPathEntryVisitor) Entry(arg0 *gitalypb.TreeEntry) (bool, error)

Entry mocks base method.

type MockPathEntryVisitorEntryCall added in v16.8.0

type MockPathEntryVisitorEntryCall struct {
	*gomock.Call
}

MockPathEntryVisitorEntryCall wrap *gomock.Call

func (*MockPathEntryVisitorEntryCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPathEntryVisitorEntryCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathEntryVisitorEntryCall) Return added in v16.8.0

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

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

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 MockPathFetcherInterfaceFetchFileCall added in v16.8.0

type MockPathFetcherInterfaceFetchFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceFetchFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceFetchFileCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceFetchFileCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceFetchFileCall) Return added in v16.8.0

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(arg0, arg1, arg2, arg3, arg4 any) *MockPathFetcherInterfaceFetchFileCall

FetchFile indicates an expected call of FetchFile.

func (*MockPathFetcherInterfaceMockRecorder) StreamFile

func (mr *MockPathFetcherInterfaceMockRecorder) StreamFile(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockPathFetcherInterfaceStreamFileCall

StreamFile indicates an expected call of StreamFile.

func (*MockPathFetcherInterfaceMockRecorder) Visit

func (mr *MockPathFetcherInterfaceMockRecorder) Visit(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockPathFetcherInterfaceVisitCall

Visit indicates an expected call of Visit.

func (*MockPathFetcherInterfaceMockRecorder) VisitSingleFile

func (mr *MockPathFetcherInterfaceMockRecorder) VisitSingleFile(arg0, arg1, arg2, arg3, arg4 any) *MockPathFetcherInterfaceVisitSingleFileCall

VisitSingleFile indicates an expected call of VisitSingleFile.

type MockPathFetcherInterfaceStreamFileCall added in v16.8.0

type MockPathFetcherInterfaceStreamFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceStreamFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceStreamFileCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceStreamFileCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceStreamFileCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockPathFetcherInterfaceVisitCall added in v16.8.0

type MockPathFetcherInterfaceVisitCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceVisitCall wrap *gomock.Call

func (*MockPathFetcherInterfaceVisitCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceVisitCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceVisitCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockPathFetcherInterfaceVisitSingleFileCall added in v16.8.0

type MockPathFetcherInterfaceVisitSingleFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceVisitSingleFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceVisitSingleFileCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceVisitSingleFileCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceVisitSingleFileCall) Return added in v16.8.0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPollerInterface) Poll

func (m *MockPollerInterface) Poll(arg0 context.Context, arg1 *gitalypb.Repository, arg2, arg3 string) (*gitaly.PollInfo, error)

Poll mocks base method.

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) *MockPollerInterfacePollCall

Poll indicates an expected call of Poll.

type MockPollerInterfacePollCall added in v16.8.0

type MockPollerInterfacePollCall struct {
	*gomock.Call
}

MockPollerInterfacePollCall wrap *gomock.Call

func (*MockPollerInterfacePollCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPollerInterfacePollCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPollerInterfacePollCall) Return added in v16.8.0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPoolInterface) PathFetcher

PathFetcher mocks base method.

func (*MockPoolInterface) Poller

Poller mocks base method.

type MockPoolInterfaceMockRecorder

type MockPoolInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockPoolInterfaceMockRecorder is the mock recorder for MockPoolInterface.

func (*MockPoolInterfaceMockRecorder) PathFetcher

PathFetcher indicates an expected call of PathFetcher.

func (*MockPoolInterfaceMockRecorder) Poller

Poller indicates an expected call of Poller.

type MockPoolInterfacePathFetcherCall added in v16.8.0

type MockPoolInterfacePathFetcherCall struct {
	*gomock.Call
}

MockPoolInterfacePathFetcherCall wrap *gomock.Call

func (*MockPoolInterfacePathFetcherCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPoolInterfacePathFetcherCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPoolInterfacePathFetcherCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockPoolInterfacePollerCall added in v16.8.0

type MockPoolInterfacePollerCall struct {
	*gomock.Call
}

MockPoolInterfacePollerCall wrap *gomock.Call

func (*MockPoolInterfacePollerCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockPoolInterfacePollerCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPoolInterfacePollerCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL