mock_gitaly

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 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) 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) 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_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 added in v0.0.5

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

MockSmartHTTPServiceClient is a mock of SmartHTTPServiceClient interface

func NewMockSmartHTTPServiceClient added in v0.0.5

func NewMockSmartHTTPServiceClient(ctrl *gomock.Controller) *MockSmartHTTPServiceClient

NewMockSmartHTTPServiceClient creates a new mock instance

func (*MockSmartHTTPServiceClient) EXPECT added in v0.0.5

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

func (*MockSmartHTTPServiceClient) InfoRefsReceivePack added in v0.0.5

InfoRefsReceivePack mocks base method

func (*MockSmartHTTPServiceClient) InfoRefsUploadPack added in v0.0.5

InfoRefsUploadPack mocks base method

func (*MockSmartHTTPServiceClient) PostReceivePack added in v0.0.5

PostReceivePack mocks base method

func (*MockSmartHTTPServiceClient) PostUploadPack added in v0.0.5

PostUploadPack mocks base method

type MockSmartHTTPServiceClientMockRecorder added in v0.0.5

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

MockSmartHTTPServiceClientMockRecorder is the mock recorder for MockSmartHTTPServiceClient

func (*MockSmartHTTPServiceClientMockRecorder) InfoRefsReceivePack added in v0.0.5

func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsReceivePack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

InfoRefsReceivePack indicates an expected call of InfoRefsReceivePack

func (*MockSmartHTTPServiceClientMockRecorder) InfoRefsUploadPack added in v0.0.5

func (mr *MockSmartHTTPServiceClientMockRecorder) InfoRefsUploadPack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

InfoRefsUploadPack indicates an expected call of InfoRefsUploadPack

func (*MockSmartHTTPServiceClientMockRecorder) PostReceivePack added in v0.0.5

func (mr *MockSmartHTTPServiceClientMockRecorder) PostReceivePack(arg0 interface{}, arg1 ...interface{}) *gomock.Call

PostReceivePack indicates an expected call of PostReceivePack

func (*MockSmartHTTPServiceClientMockRecorder) PostUploadPack added in v0.0.5

func (mr *MockSmartHTTPServiceClientMockRecorder) PostUploadPack(arg0 interface{}, arg1 ...interface{}) *gomock.Call

PostUploadPack indicates an expected call of PostUploadPack

type MockSmartHTTPService_InfoRefsUploadPackClient added in v0.0.5

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

MockSmartHTTPService_InfoRefsUploadPackClient is a mock of SmartHTTPService_InfoRefsUploadPackClient interface

func NewMockSmartHTTPService_InfoRefsUploadPackClient added in v0.0.5

func NewMockSmartHTTPService_InfoRefsUploadPackClient(ctrl *gomock.Controller) *MockSmartHTTPService_InfoRefsUploadPackClient

NewMockSmartHTTPService_InfoRefsUploadPackClient creates a new mock instance

func (*MockSmartHTTPService_InfoRefsUploadPackClient) CloseSend added in v0.0.5

CloseSend mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Context added in v0.0.5

Context mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) EXPECT added in v0.0.5

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

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Header added in v0.0.5

Header mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Recv added in v0.0.5

Recv mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) RecvMsg added in v0.0.5

func (m *MockSmartHTTPService_InfoRefsUploadPackClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) SendMsg added in v0.0.5

func (m *MockSmartHTTPService_InfoRefsUploadPackClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockSmartHTTPService_InfoRefsUploadPackClient) Trailer added in v0.0.5

Trailer mocks base method

type MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder added in v0.0.5

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

MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder is the mock recorder for MockSmartHTTPService_InfoRefsUploadPackClient

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) CloseSend added in v0.0.5

CloseSend indicates an expected call of CloseSend

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Context added in v0.0.5

Context indicates an expected call of Context

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Header added in v0.0.5

Header indicates an expected call of Header

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Recv added in v0.0.5

Recv indicates an expected call of Recv

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) RecvMsg added in v0.0.5

RecvMsg indicates an expected call of RecvMsg

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) SendMsg added in v0.0.5

SendMsg indicates an expected call of SendMsg

func (*MockSmartHTTPService_InfoRefsUploadPackClientMockRecorder) Trailer added in v0.0.5

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