mock_client

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGithubClient

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

MockGithubClient is a mock of GithubClient interface.

func NewMockGithubClient

func NewMockGithubClient(ctrl *gomock.Controller) *MockGithubClient

NewMockGithubClient creates a new mock instance.

func (*MockGithubClient) EXPECT

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

func (*MockGithubClient) GetChangedFiles

func (m *MockGithubClient) GetChangedFiles(arg0 context.Context, arg1 int) ([]*github.CommitFile, error)

GetChangedFiles mocks base method.

func (*MockGithubClient) GetFileContent

func (m *MockGithubClient) GetFileContent(arg0 context.Context, arg1 string) (*github.RepositoryContent, error)

GetFileContent mocks base method.

type MockGithubClientMockRecorder

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

MockGithubClientMockRecorder is the mock recorder for MockGithubClient.

func (*MockGithubClientMockRecorder) GetChangedFiles

func (mr *MockGithubClientMockRecorder) GetChangedFiles(arg0, arg1 interface{}) *gomock.Call

GetChangedFiles indicates an expected call of GetChangedFiles.

func (*MockGithubClientMockRecorder) GetFileContent

func (mr *MockGithubClientMockRecorder) GetFileContent(arg0, arg1 interface{}) *gomock.Call

GetFileContent indicates an expected call of GetFileContent.

type MockPullRequestService

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

MockPullRequestService is a mock of PullRequestService interface.

func NewMockPullRequestService

func NewMockPullRequestService(ctrl *gomock.Controller) *MockPullRequestService

NewMockPullRequestService creates a new mock instance.

func (*MockPullRequestService) EXPECT

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

func (*MockPullRequestService) ListFiles

func (m *MockPullRequestService) ListFiles(arg0 context.Context, arg1, arg2 string, arg3 int, arg4 *github.ListOptions) ([]*github.CommitFile, *github.Response, error)

ListFiles mocks base method.

type MockPullRequestServiceMockRecorder

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

MockPullRequestServiceMockRecorder is the mock recorder for MockPullRequestService.

func (*MockPullRequestServiceMockRecorder) ListFiles

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

ListFiles indicates an expected call of ListFiles.

type MockRepositoryService

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

MockRepositoryService is a mock of RepositoryService interface.

func NewMockRepositoryService

func NewMockRepositoryService(ctrl *gomock.Controller) *MockRepositoryService

NewMockRepositoryService creates a new mock instance.

func (*MockRepositoryService) EXPECT

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

func (*MockRepositoryService) GetContents

GetContents mocks base method.

type MockRepositoryServiceMockRecorder

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

MockRepositoryServiceMockRecorder is the mock recorder for MockRepositoryService.

func (*MockRepositoryServiceMockRecorder) GetContents

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

GetContents indicates an expected call of GetContents.

Jump to

Keyboard shortcuts

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