mock

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitHubIface

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

MockGitHubIface is a mock of GitHubIface interface.

func NewMockGitHubIface

func NewMockGitHubIface(ctrl *gomock.Controller) *MockGitHubIface

NewMockGitHubIface creates a new mock instance.

func (*MockGitHubIface) CreatePullRequestWithEmptyCommit

func (m *MockGitHubIface) CreatePullRequestWithEmptyCommit(ctx context.Context, org, repo, level, targetBaseBranch, headBranchSuffix string) (int, error)

CreatePullRequestWithEmptyCommit mocks base method.

func (*MockGitHubIface) EXPECT

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

func (*MockGitHubIface) SeparatePullRequests

func (m *MockGitHubIface) SeparatePullRequests(ctx context.Context, org, repo string, prNum int, targetBaseBranch, prBranch string) (int, int, error)

SeparatePullRequests mocks base method.

type MockGitHubIfaceMockRecorder

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

MockGitHubIfaceMockRecorder is the mock recorder for MockGitHubIface.

func (*MockGitHubIfaceMockRecorder) CreatePullRequestWithEmptyCommit

func (mr *MockGitHubIfaceMockRecorder) CreatePullRequestWithEmptyCommit(ctx, org, repo, level, targetBaseBranch, headBranchSuffix interface{}) *gomock.Call

CreatePullRequestWithEmptyCommit indicates an expected call of CreatePullRequestWithEmptyCommit.

func (*MockGitHubIfaceMockRecorder) SeparatePullRequests

func (mr *MockGitHubIfaceMockRecorder) SeparatePullRequests(ctx, org, repo, prNum, targetBaseBranch, prBranch interface{}) *gomock.Call

SeparatePullRequests indicates an expected call of SeparatePullRequests.

Jump to

Keyboard shortcuts

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