github

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: MPL-2.0-no-copyleft-exception Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package github 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) ClearStates

func (m *MockClient) ClearStates(arg0 context.Context, arg1, arg2 string) error

ClearStates mocks base method.

func (*MockClient) CommentError

func (m *MockClient) CommentError(arg0 context.Context, arg1 string, arg2 int64, arg3 error) error

CommentError 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) ErrorStatus

func (m *MockClient) ErrorStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 error) error

ErrorStatus mocks base method.

func (*MockClient) FinishedStatus

func (m *MockClient) FinishedStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 bool, arg7 string) error

FinishedStatus mocks base method.

func (*MockClient) GetDiffFiles

func (m *MockClient) GetDiffFiles(arg0 context.Context, arg1, arg2, arg3 string) ([]string, error)

GetDiffFiles mocks base method.

func (*MockClient) GetFile

func (m *MockClient) GetFile(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)

GetFile mocks base method.

func (*MockClient) GetFileList

func (m *MockClient) GetFileList(arg0 context.Context, arg1, arg2 string) ([]string, error)

GetFileList mocks base method.

func (*MockClient) GetRefs

func (m *MockClient) GetRefs(arg0 context.Context, arg1, arg2 string) ([]string, error)

GetRefs mocks base method.

func (*MockClient) GetRepository

func (m *MockClient) GetRepository(arg0 context.Context, arg1 string) (*github.Repository, error)

GetRepository mocks base method.

func (*MockClient) GetSHA

func (m *MockClient) GetSHA(arg0 context.Context, arg1, arg2 string) (string, error)

GetSHA mocks base method.

func (*MockClient) MyLogin

func (m *MockClient) MyLogin(arg0 context.Context) (string, error)

MyLogin mocks base method.

func (*MockClient) MyRepositories

func (m *MockClient) MyRepositories(arg0 context.Context) ([]*github.Repository, error)

MyRepositories mocks base method.

func (*MockClient) PendingStatus

func (m *MockClient) PendingStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error

PendingStatus mocks base method.

func (*MockClient) SetupHook

func (m *MockClient) SetupHook(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

SetupHook mocks base method.

func (*MockClient) StartedStatus

func (m *MockClient) StartedStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error

StartedStatus mocks base method.

func (*MockClient) TeardownHook

func (m *MockClient) TeardownHook(arg0 context.Context, arg1, arg2, arg3 string) error

TeardownHook mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) ClearStates

func (mr *MockClientMockRecorder) ClearStates(arg0, arg1, arg2 interface{}) *gomock.Call

ClearStates indicates an expected call of ClearStates.

func (*MockClientMockRecorder) CommentError

func (mr *MockClientMockRecorder) CommentError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CommentError indicates an expected call of CommentError.

func (*MockClientMockRecorder) ErrorStatus

func (mr *MockClientMockRecorder) ErrorStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

ErrorStatus indicates an expected call of ErrorStatus.

func (*MockClientMockRecorder) FinishedStatus

func (mr *MockClientMockRecorder) FinishedStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

FinishedStatus indicates an expected call of FinishedStatus.

func (*MockClientMockRecorder) GetDiffFiles

func (mr *MockClientMockRecorder) GetDiffFiles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetDiffFiles indicates an expected call of GetDiffFiles.

func (*MockClientMockRecorder) GetFile

func (mr *MockClientMockRecorder) GetFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetFile indicates an expected call of GetFile.

func (*MockClientMockRecorder) GetFileList

func (mr *MockClientMockRecorder) GetFileList(arg0, arg1, arg2 interface{}) *gomock.Call

GetFileList indicates an expected call of GetFileList.

func (*MockClientMockRecorder) GetRefs

func (mr *MockClientMockRecorder) GetRefs(arg0, arg1, arg2 interface{}) *gomock.Call

GetRefs indicates an expected call of GetRefs.

func (*MockClientMockRecorder) GetRepository

func (mr *MockClientMockRecorder) GetRepository(arg0, arg1 interface{}) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockClientMockRecorder) GetSHA

func (mr *MockClientMockRecorder) GetSHA(arg0, arg1, arg2 interface{}) *gomock.Call

GetSHA indicates an expected call of GetSHA.

func (*MockClientMockRecorder) MyLogin

func (mr *MockClientMockRecorder) MyLogin(arg0 interface{}) *gomock.Call

MyLogin indicates an expected call of MyLogin.

func (*MockClientMockRecorder) MyRepositories

func (mr *MockClientMockRecorder) MyRepositories(arg0 interface{}) *gomock.Call

MyRepositories indicates an expected call of MyRepositories.

func (*MockClientMockRecorder) PendingStatus

func (mr *MockClientMockRecorder) PendingStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

PendingStatus indicates an expected call of PendingStatus.

func (*MockClientMockRecorder) SetupHook

func (mr *MockClientMockRecorder) SetupHook(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetupHook indicates an expected call of SetupHook.

func (*MockClientMockRecorder) StartedStatus

func (mr *MockClientMockRecorder) StartedStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

StartedStatus indicates an expected call of StartedStatus.

func (*MockClientMockRecorder) TeardownHook

func (mr *MockClientMockRecorder) TeardownHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

TeardownHook indicates an expected call of TeardownHook.

Jump to

Keyboard shortcuts

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