mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 4 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 MockGitRepoClient

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

MockGitRepoClient is a mock of GitRepoClient interface.

func NewMockGitRepoClient

func NewMockGitRepoClient(ctrl *gomock.Controller) *MockGitRepoClient

NewMockGitRepoClient creates a new mock instance.

func (*MockGitRepoClient) CreatePullRequest

func (m *MockGitRepoClient) CreatePullRequest(ctx context.Context, payload gitrepo.GitPullRequestPayload) (int, error)

CreatePullRequest mocks base method.

func (*MockGitRepoClient) EXPECT

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

func (*MockGitRepoClient) HealthCheck

func (m *MockGitRepoClient) HealthCheck() error

HealthCheck mocks base method.

func (*MockGitRepoClient) Kind

func (m *MockGitRepoClient) Kind() string

Kind mocks base method.

type MockGitRepoClientMockRecorder

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

MockGitRepoClientMockRecorder is the mock recorder for MockGitRepoClient.

func (*MockGitRepoClientMockRecorder) CreatePullRequest

func (mr *MockGitRepoClientMockRecorder) CreatePullRequest(ctx, payload interface{}) *gomock.Call

CreatePullRequest indicates an expected call of CreatePullRequest.

func (*MockGitRepoClientMockRecorder) HealthCheck

func (mr *MockGitRepoClientMockRecorder) HealthCheck() *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockGitRepoClientMockRecorder) Kind

Kind indicates an expected call of Kind.

Jump to

Keyboard shortcuts

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