gittest

package
v0.0.0-...-35d8de9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gittest is a generated GoMock package.

Index

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

func (m *MockClient) CLEmail(c context.Context, host string, changeNumber int64) (string, error)

CLEmail mocks base method

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

func (*MockClient) Log

func (m *MockClient) Log(c context.Context, host, project, commitish string, inputOptions *git0.LogOptions) ([]*git.Commit, error)

Log mocks base method

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

Jump to

Keyboard shortcuts

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