mock_internalgitaly

package
v17.7.0-rc42 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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(path, data []byte) (bool, error)

StreamChunk mocks base method.

type MockFetchVisitorEntryCall

type MockFetchVisitorEntryCall struct {
	*gomock.Call
}

MockFetchVisitorEntryCall wrap *gomock.Call

func (*MockFetchVisitorEntryCall) Do

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorEntryCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorEntryCall) Return

Return rewrite *gomock.Call.Return

type MockFetchVisitorEntryDoneCall

type MockFetchVisitorEntryDoneCall struct {
	*gomock.Call
}

MockFetchVisitorEntryDoneCall wrap *gomock.Call

func (*MockFetchVisitorEntryDoneCall) Do

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorEntryDoneCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorEntryDoneCall) Return

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

type MockFetchVisitorStreamChunkCall struct {
	*gomock.Call
}

MockFetchVisitorStreamChunkCall wrap *gomock.Call

func (*MockFetchVisitorStreamChunkCall) Do

Do rewrite *gomock.Call.Do

func (*MockFetchVisitorStreamChunkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFetchVisitorStreamChunkCall) Return

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

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

type MockFileVisitorChunkCall

type MockFileVisitorChunkCall struct {
	*gomock.Call
}

MockFileVisitorChunkCall wrap *gomock.Call

func (*MockFileVisitorChunkCall) Do

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

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

type MockPathEntryVisitorEntryCall struct {
	*gomock.Call
}

MockPathEntryVisitorEntryCall wrap *gomock.Call

func (*MockPathEntryVisitorEntryCall) Do

Do rewrite *gomock.Call.Do

func (*MockPathEntryVisitorEntryCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathEntryVisitorEntryCall) Return

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(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

type MockPathFetcherInterfaceFetchFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceFetchFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceFetchFileCall) Do

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceFetchFileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceFetchFileCall) Return

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

type MockPathFetcherInterfaceStreamFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceStreamFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceStreamFileCall) Do

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceStreamFileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceStreamFileCall) Return

Return rewrite *gomock.Call.Return

type MockPathFetcherInterfaceVisitCall

type MockPathFetcherInterfaceVisitCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceVisitCall wrap *gomock.Call

func (*MockPathFetcherInterfaceVisitCall) Do

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceVisitCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceVisitCall) Return

Return rewrite *gomock.Call.Return

type MockPathFetcherInterfaceVisitSingleFileCall

type MockPathFetcherInterfaceVisitSingleFileCall struct {
	*gomock.Call
}

MockPathFetcherInterfaceVisitSingleFileCall wrap *gomock.Call

func (*MockPathFetcherInterfaceVisitSingleFileCall) Do

Do rewrite *gomock.Call.Do

func (*MockPathFetcherInterfaceVisitSingleFileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPathFetcherInterfaceVisitSingleFileCall) Return

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(ctx context.Context, repo *gitalypb.Repository, refName, filepath 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(ctx, repo, refName, filepath any) *MockPollerInterfacePollCall

Poll indicates an expected call of Poll.

type MockPollerInterfacePollCall

type MockPollerInterfacePollCall struct {
	*gomock.Call
}

MockPollerInterfacePollCall wrap *gomock.Call

func (*MockPollerInterfacePollCall) Do

Do rewrite *gomock.Call.Do

func (*MockPollerInterfacePollCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPollerInterfacePollCall) Return

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

type MockPoolInterfacePathFetcherCall struct {
	*gomock.Call
}

MockPoolInterfacePathFetcherCall wrap *gomock.Call

func (*MockPoolInterfacePathFetcherCall) Do

Do rewrite *gomock.Call.Do

func (*MockPoolInterfacePathFetcherCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPoolInterfacePathFetcherCall) Return

Return rewrite *gomock.Call.Return

type MockPoolInterfacePollerCall

type MockPoolInterfacePollerCall struct {
	*gomock.Call
}

MockPoolInterfacePollerCall wrap *gomock.Call

func (*MockPoolInterfacePollerCall) Do

Do rewrite *gomock.Call.Do

func (*MockPoolInterfacePollerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPoolInterfacePollerCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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