mocks

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

CreateBranch mocks base method.

func (*MockClient) CreatePullRequest

func (m *MockClient) CreatePullRequest(arg0 context.Context, arg1 legacy.CreatePRRequest) (*github.PullRequest, *github.Response, error)

CreatePullRequest 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) GetBranch

GetBranch mocks base method.

func (*MockClient) GetRepositoryContents

GetRepositoryContents mocks base method.

func (*MockClient) GetRepositoryReleases

func (m *MockClient) GetRepositoryReleases(arg0 context.Context, arg1 legacy.CommonRequest) ([]*github.RepositoryRelease, *github.Response, error)

GetRepositoryReleases mocks base method.

func (*MockClient) UpdateFile

UpdateFile mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateBranch

func (mr *MockClientMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call

CreateBranch indicates an expected call of CreateBranch.

func (*MockClientMockRecorder) CreatePullRequest

func (mr *MockClientMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call

CreatePullRequest indicates an expected call of CreatePullRequest.

func (*MockClientMockRecorder) GetBranch

func (mr *MockClientMockRecorder) GetBranch(arg0, arg1 interface{}) *gomock.Call

GetBranch indicates an expected call of GetBranch.

func (*MockClientMockRecorder) GetRepositoryContents

func (mr *MockClientMockRecorder) GetRepositoryContents(arg0, arg1 interface{}) *gomock.Call

GetRepositoryContents indicates an expected call of GetRepositoryContents.

func (*MockClientMockRecorder) GetRepositoryReleases

func (mr *MockClientMockRecorder) GetRepositoryReleases(arg0, arg1 interface{}) *gomock.Call

GetRepositoryReleases indicates an expected call of GetRepositoryReleases.

func (*MockClientMockRecorder) UpdateFile

func (mr *MockClientMockRecorder) UpdateFile(arg0, arg1 interface{}) *gomock.Call

UpdateFile indicates an expected call of UpdateFile.

Jump to

Keyboard shortcuts

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