mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGit

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

MockGit is a mock of Git interface

func NewMockGit

func NewMockGit(ctrl *gomock.Controller) *MockGit

NewMockGit creates a new mock instance

func (*MockGit) EXPECT

func (m *MockGit) EXPECT() *MockGitMockRecorder

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

func (*MockGit) Fetch

func (m *MockGit) Fetch(arg0 string, arg1 int) error

Fetch mocks base method

func (*MockGit) Init

func (m *MockGit) Init(arg0 string) error

Init mocks base method

func (*MockGit) Merge

func (m *MockGit) Merge(arg0 string) error

Merge mocks base method

func (*MockGit) Pull

func (m *MockGit) Pull(arg0, arg1 string) error

Pull mocks base method

func (*MockGit) RevParse

func (m *MockGit) RevParse(arg0 string) (string, error)

RevParse mocks base method

type MockGitMockRecorder

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

MockGitMockRecorder is the mock recorder for MockGit

func (*MockGitMockRecorder) Fetch

func (mr *MockGitMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockGitMockRecorder) Init

func (mr *MockGitMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockGitMockRecorder) Merge

func (mr *MockGitMockRecorder) Merge(arg0 interface{}) *gomock.Call

Merge indicates an expected call of Merge

func (*MockGitMockRecorder) Pull

func (mr *MockGitMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call

Pull indicates an expected call of Pull

func (*MockGitMockRecorder) RevParse

func (mr *MockGitMockRecorder) RevParse(arg0 interface{}) *gomock.Call

RevParse indicates an expected call of RevParse

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

func (m *MockGithub) EXPECT() *MockGithubMockRecorder

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

func (*MockGithub) GetPullRequest added in v0.5.0

func (m *MockGithub) GetPullRequest(arg0, arg1 string) (*github_pr_resource.PullRequest, error)

GetPullRequest mocks base method

func (*MockGithub) ListModifiedFiles

func (m *MockGithub) ListModifiedFiles(arg0 int) ([]string, error)

ListModifiedFiles mocks base method

func (*MockGithub) ListOpenPullRequests

func (m *MockGithub) ListOpenPullRequests() ([]*github_pr_resource.PullRequest, error)

ListOpenPullRequests mocks base method

func (*MockGithub) PostComment

func (m *MockGithub) PostComment(arg0, arg1 string) error

PostComment mocks base method

func (*MockGithub) UpdateCommitStatus

func (m *MockGithub) UpdateCommitStatus(arg0, arg1, arg2 string) error

UpdateCommitStatus mocks base method

type MockGithubMockRecorder

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

MockGithubMockRecorder is the mock recorder for MockGithub

func (*MockGithubMockRecorder) GetPullRequest added in v0.5.0

func (mr *MockGithubMockRecorder) GetPullRequest(arg0, arg1 interface{}) *gomock.Call

GetPullRequest indicates an expected call of GetPullRequest

func (*MockGithubMockRecorder) ListModifiedFiles

func (mr *MockGithubMockRecorder) ListModifiedFiles(arg0 interface{}) *gomock.Call

ListModifiedFiles indicates an expected call of ListModifiedFiles

func (*MockGithubMockRecorder) ListOpenPullRequests

func (mr *MockGithubMockRecorder) ListOpenPullRequests() *gomock.Call

ListOpenPullRequests indicates an expected call of ListOpenPullRequests

func (*MockGithubMockRecorder) PostComment

func (mr *MockGithubMockRecorder) PostComment(arg0, arg1 interface{}) *gomock.Call

PostComment indicates an expected call of PostComment

func (*MockGithubMockRecorder) UpdateCommitStatus

func (mr *MockGithubMockRecorder) UpdateCommitStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateCommitStatus indicates an expected call of UpdateCommitStatus

Jump to

Keyboard shortcuts

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