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: 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 MockGitCommandClient

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

MockGitCommandClient is a mock of GitCommandClient interface.

func NewMockGitCommandClient

func NewMockGitCommandClient(ctrl *gomock.Controller) *MockGitCommandClient

NewMockGitCommandClient creates a new mock instance.

func (*MockGitCommandClient) Clone

func (m *MockGitCommandClient) Clone(ctx context.Context, org, repo string, opt gitcommand.CloneOpt) (string, error)

Clone mocks base method.

func (*MockGitCommandClient) CommitAll

func (m *MockGitCommandClient) CommitAll(ctx context.Context, dirPath, commitMsg string) error

CommitAll mocks base method.

func (*MockGitCommandClient) CommitAllAmend

func (m *MockGitCommandClient) CommitAllAmend(ctx context.Context, dirPath string) error

CommitAllAmend mocks base method.

func (*MockGitCommandClient) EXPECT

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

func (*MockGitCommandClient) HealthCheck

func (m *MockGitCommandClient) HealthCheck() error

HealthCheck mocks base method.

func (*MockGitCommandClient) Push

func (m *MockGitCommandClient) Push(ctx context.Context, dirPath string) error

Push mocks base method.

func (*MockGitCommandClient) Remove

func (m *MockGitCommandClient) Remove(ctx context.Context, dirPath string) error

Remove mocks base method.

func (*MockGitCommandClient) Restore

func (m *MockGitCommandClient) Restore(ctx context.Context, dirPath, sourceBranch string, filePaths []string) error

Restore mocks base method.

func (*MockGitCommandClient) SwitchNewBranch

func (m *MockGitCommandClient) SwitchNewBranch(ctx context.Context, dirPath, branch string) error

SwitchNewBranch mocks base method.

type MockGitCommandClientMockRecorder

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

MockGitCommandClientMockRecorder is the mock recorder for MockGitCommandClient.

func (*MockGitCommandClientMockRecorder) Clone

func (mr *MockGitCommandClientMockRecorder) Clone(ctx, org, repo, opt interface{}) *gomock.Call

Clone indicates an expected call of Clone.

func (*MockGitCommandClientMockRecorder) CommitAll

func (mr *MockGitCommandClientMockRecorder) CommitAll(ctx, dirPath, commitMsg interface{}) *gomock.Call

CommitAll indicates an expected call of CommitAll.

func (*MockGitCommandClientMockRecorder) CommitAllAmend

func (mr *MockGitCommandClientMockRecorder) CommitAllAmend(ctx, dirPath interface{}) *gomock.Call

CommitAllAmend indicates an expected call of CommitAllAmend.

func (*MockGitCommandClientMockRecorder) HealthCheck

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

HealthCheck indicates an expected call of HealthCheck.

func (*MockGitCommandClientMockRecorder) Push

func (mr *MockGitCommandClientMockRecorder) Push(ctx, dirPath interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockGitCommandClientMockRecorder) Remove

func (mr *MockGitCommandClientMockRecorder) Remove(ctx, dirPath interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockGitCommandClientMockRecorder) Restore

func (mr *MockGitCommandClientMockRecorder) Restore(ctx, dirPath, sourceBranch, filePaths interface{}) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockGitCommandClientMockRecorder) SwitchNewBranch

func (mr *MockGitCommandClientMockRecorder) SwitchNewBranch(ctx, dirPath, branch interface{}) *gomock.Call

SwitchNewBranch indicates an expected call of SwitchNewBranch.

Jump to

Keyboard shortcuts

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