Documentation
¶
Overview ¶
Package mock_github is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateCommitStatus(ctx context.Context, src *github.TargetSource, state github.State, ...) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetPullRequest(ctx context.Context, repository github.Repository, num int) (*github.PullRequest, error)
- type MockServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) CreateCommitStatus ¶
func (m *MockService) CreateCommitStatus(ctx context.Context, src *github.TargetSource, state github.State, description string) error
CreateCommitStatus mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetPullRequest ¶
func (m *MockService) GetPullRequest(ctx context.Context, repository github.Repository, num int) (*github.PullRequest, error)
GetPullRequest mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) CreateCommitStatus ¶
func (mr *MockServiceMockRecorder) CreateCommitStatus(ctx, src, state, description interface{}) *gomock.Call
CreateCommitStatus indicates an expected call of CreateCommitStatus
func (*MockServiceMockRecorder) GetPullRequest ¶
func (mr *MockServiceMockRecorder) GetPullRequest(ctx, repository, num interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest
Click to show internal directories.
Click to hide internal directories.