Documentation ¶
Overview ¶
Package gittest is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CLEmail(c context.Context, host string, changeNumber int64) (string, error)
- func (m *MockClient) CombinedLogs(c context.Context, host, project, excludeRef string, refs []string, limit int) ([]*git.Commit, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Log(c context.Context, host, project, commitish string, ...) ([]*git.Commit, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CLEmail(c, host, changeNumber interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CombinedLogs(c, host, project, excludeRef, refs, limit interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Log(c, host, project, commitish, inputOptions interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CombinedLogs ¶
func (m *MockClient) CombinedLogs(c context.Context, host, project, excludeRef string, refs []string, limit int) ([]*git.Commit, error)
CombinedLogs mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CLEmail ¶
func (mr *MockClientMockRecorder) CLEmail(c, host, changeNumber interface{}) *gomock.Call
CLEmail indicates an expected call of CLEmail
func (*MockClientMockRecorder) CombinedLogs ¶
func (mr *MockClientMockRecorder) CombinedLogs(c, host, project, excludeRef, refs, limit interface{}) *gomock.Call
CombinedLogs indicates an expected call of CombinedLogs
func (*MockClientMockRecorder) Log ¶
func (mr *MockClientMockRecorder) Log(c, host, project, commitish, inputOptions interface{}) *gomock.Call
Log indicates an expected call of Log
Click to show internal directories.
Click to hide internal directories.