Documentation ¶
Overview ¶
Package github is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ClearStates(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClient) CommentError(arg0 context.Context, arg1 string, arg2 int64, arg3 error) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ErrorStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 error) error
- func (m *MockClient) FinishedStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 bool, ...) error
- func (m *MockClient) GetDiffFiles(arg0 context.Context, arg1, arg2, arg3 string) ([]string, error)
- func (m *MockClient) GetFile(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)
- func (m *MockClient) GetFileList(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockClient) GetRefs(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockClient) GetRepository(arg0 context.Context, arg1 string) (*github.Repository, error)
- func (m *MockClient) GetSHA(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockClient) MyLogin(arg0 context.Context) (string, error)
- func (m *MockClient) MyRepositories(arg0 context.Context) ([]*github.Repository, error)
- func (m *MockClient) PendingStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockClient) SetupHook(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockClient) StartedStatus(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockClient) TeardownHook(arg0 context.Context, arg1, arg2, arg3 string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ClearStates(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CommentError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ErrorStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) FinishedStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetDiffFiles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFileList(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRefs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepository(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSHA(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) MyLogin(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) MyRepositories(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PendingStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetupHook(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartedStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TeardownHook(arg0, arg1, arg2, arg3 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) ClearStates ¶
func (m *MockClient) ClearStates(arg0 context.Context, arg1, arg2 string) error
ClearStates mocks base method.
func (*MockClient) CommentError ¶
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 ¶
GetDiffFiles mocks base method.
func (*MockClient) GetFileList ¶
GetFileList mocks base method.
func (*MockClient) GetRepository ¶
func (m *MockClient) GetRepository(arg0 context.Context, arg1 string) (*github.Repository, error)
GetRepository 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.