mock_gitaly

package
v14.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Mocks for Gitaly.

Package mock_gitaly is a generated GoMock package.

Index

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

CommitIsAncestor mocks base method.

func (*MockCommitServiceClient) CommitLanguages

CommitLanguages mocks base method.

func (*MockCommitServiceClient) CommitStats

CommitStats mocks base method.

func (*MockCommitServiceClient) CommitsBetween

CommitsBetween mocks base method.

func (*MockCommitServiceClient) CommitsByMessage

CommitsByMessage mocks base method.

func (*MockCommitServiceClient) CountCommits

CountCommits mocks base method.

func (*MockCommitServiceClient) CountDivergingCommits

CountDivergingCommits mocks base method.

func (*MockCommitServiceClient) EXPECT

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

func (*MockCommitServiceClient) FilterShasWithSignatures

FilterShasWithSignatures mocks base method.

func (*MockCommitServiceClient) FindAllCommits

FindAllCommits mocks base method.

func (*MockCommitServiceClient) FindCommit

FindCommit mocks base method.

func (*MockCommitServiceClient) FindCommits

FindCommits mocks base method.

func (*MockCommitServiceClient) GetCommitMessages

GetCommitMessages mocks base method.

func (*MockCommitServiceClient) GetCommitSignatures

GetCommitSignatures mocks base method.

func (*MockCommitServiceClient) GetTreeEntries

GetTreeEntries mocks base method.

func (*MockCommitServiceClient) LastCommitForPath

LastCommitForPath mocks base method.

func (*MockCommitServiceClient) ListAllCommits added in v14.1.0

ListAllCommits mocks base method.

func (*MockCommitServiceClient) ListCommits added in v14.1.0

ListCommits mocks base method.

func (*MockCommitServiceClient) ListCommitsByOid

ListCommitsByOid mocks base method.

func (*MockCommitServiceClient) ListCommitsByRefName

ListCommitsByRefName mocks base method.

func (*MockCommitServiceClient) ListFiles

ListFiles mocks base method.

func (*MockCommitServiceClient) ListLastCommitsForTree

ListLastCommitsForTree mocks base method.

func (*MockCommitServiceClient) RawBlame

RawBlame mocks base method.

func (*MockCommitServiceClient) TreeEntry

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) CommitsBetween

func (mr *MockCommitServiceClientMockRecorder) CommitsBetween(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CommitsBetween indicates an expected call of CommitsBetween.

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

CloseSend mocks base method.

func (*MockCommitService_GetTreeEntriesClient) Context

Context mocks base method.

func (*MockCommitService_GetTreeEntriesClient) EXPECT

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

func (*MockCommitService_GetTreeEntriesClient) Header

Header mocks base method.

func (*MockCommitService_GetTreeEntriesClient) Recv

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

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

CloseSend indicates an expected call of CloseSend.

func (*MockCommitService_GetTreeEntriesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockCommitService_GetTreeEntriesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockCommitService_GetTreeEntriesClientMockRecorder) Recv

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

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

CloseSend mocks base method.

func (*MockCommitService_TreeEntryClient) Context

Context mocks base method.

func (*MockCommitService_TreeEntryClient) EXPECT

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

func (*MockCommitService_TreeEntryClient) Header

Header mocks base method.

func (*MockCommitService_TreeEntryClient) Recv

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

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

CloseSend indicates an expected call of CloseSend.

func (*MockCommitService_TreeEntryClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockCommitService_TreeEntryClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockCommitService_TreeEntryClientMockRecorder) Recv

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

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

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

func (*MockSmartHTTPServiceClient) InfoRefsReceivePack

InfoRefsReceivePack mocks base method.

func (*MockSmartHTTPServiceClient) InfoRefsUploadPack

InfoRefsUploadPack mocks base method.

func (*MockSmartHTTPServiceClient) PostReceivePack

PostReceivePack mocks base method.

func (*MockSmartHTTPServiceClient) PostUploadPack

PostUploadPack 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.

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

CloseSend mocks base method.

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Context

Context mocks base method.

func (*MockSmartHTTPService_InfoRefsUploadPackClient) EXPECT

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

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Header

Header mocks base method.

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Recv

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

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

CloseSend indicates an expected call of CloseSend.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

Jump to

Keyboard shortcuts

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