mock_github

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_github is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitHub

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

MockGitHub is a mock of GitHub interface

func NewMockGitHub

func NewMockGitHub(ctrl *gomock.Controller) *MockGitHub

NewMockGitHub creates a new mock instance

func (*MockGitHub) CreateCommitStatus

func (m *MockGitHub) CreateCommitStatus(ctx context.Context, status github.CommitStatus) error

CreateCommitStatus mocks base method

func (*MockGitHub) EXPECT

func (m *MockGitHub) EXPECT() *MockGitHubMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGitHub) GetPullRequest

func (m *MockGitHub) GetPullRequest(ctx context.Context, repo github.Repository, num int) (*github0.PullRequest, error)

GetPullRequest mocks base method

type MockGitHubMockRecorder

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

MockGitHubMockRecorder is the mock recorder for MockGitHub

func (*MockGitHubMockRecorder) CreateCommitStatus

func (mr *MockGitHubMockRecorder) CreateCommitStatus(ctx, status interface{}) *gomock.Call

CreateCommitStatus indicates an expected call of CreateCommitStatus

func (*MockGitHubMockRecorder) GetPullRequest

func (mr *MockGitHubMockRecorder) GetPullRequest(ctx, repo, num interface{}) *gomock.Call

GetPullRequest indicates an expected call of GetPullRequest

Jump to

Keyboard shortcuts

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