gittest

package
v0.49.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gittest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepo

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

MockRepo is a mock of Repo interface.

func NewMockRepo

func NewMockRepo(ctrl *gomock.Controller) *MockRepo

NewMockRepo creates a new mock instance.

func (*MockRepo) ChangedFiles

func (m *MockRepo) ChangedFiles(arg0 context.Context, arg1, arg2 string) ([]string, error)

ChangedFiles mocks base method.

func (*MockRepo) Checkout

func (m *MockRepo) Checkout(arg0 context.Context, arg1 string) error

Checkout mocks base method.

func (*MockRepo) CheckoutPullRequest

func (m *MockRepo) CheckoutPullRequest(arg0 context.Context, arg1 int, arg2 string) error

CheckoutPullRequest mocks base method.

func (*MockRepo) Clean

func (m *MockRepo) Clean() error

Clean mocks base method.

func (*MockRepo) CleanPath added in v0.49.3

func (m *MockRepo) CleanPath(arg0 context.Context, arg1 string) error

CleanPath mocks base method.

func (*MockRepo) CommitChanges

func (m *MockRepo) CommitChanges(arg0 context.Context, arg1, arg2 string, arg3 bool, arg4 map[string][]byte, arg5 map[string]string) error

CommitChanges mocks base method.

func (*MockRepo) Copy

func (m *MockRepo) Copy(arg0 string) (git.Repo, error)

Copy mocks base method.

func (*MockRepo) EXPECT

func (m *MockRepo) EXPECT() *MockRepoMockRecorder

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

func (*MockRepo) GetClonedBranch

func (m *MockRepo) GetClonedBranch() string

GetClonedBranch mocks base method.

func (*MockRepo) GetCommitForRev added in v0.48.0

func (m *MockRepo) GetCommitForRev(arg0 context.Context, arg1 string) (git.Commit, error)

GetCommitForRev mocks base method.

func (*MockRepo) GetLatestCommit

func (m *MockRepo) GetLatestCommit(arg0 context.Context) (git.Commit, error)

GetLatestCommit mocks base method.

func (*MockRepo) GetPath

func (m *MockRepo) GetPath() string

GetPath mocks base method.

func (*MockRepo) ListCommits

func (m *MockRepo) ListCommits(arg0 context.Context, arg1 string) ([]git.Commit, error)

ListCommits mocks base method.

func (*MockRepo) MergeRemoteBranch

func (m *MockRepo) MergeRemoteBranch(arg0 context.Context, arg1, arg2, arg3 string) error

MergeRemoteBranch mocks base method.

func (*MockRepo) Pull

func (m *MockRepo) Pull(arg0 context.Context, arg1 string) error

Pull mocks base method.

func (*MockRepo) Push

func (m *MockRepo) Push(arg0 context.Context, arg1 string) error

Push mocks base method.

type MockRepoMockRecorder

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

MockRepoMockRecorder is the mock recorder for MockRepo.

func (*MockRepoMockRecorder) ChangedFiles

func (mr *MockRepoMockRecorder) ChangedFiles(arg0, arg1, arg2 interface{}) *gomock.Call

ChangedFiles indicates an expected call of ChangedFiles.

func (*MockRepoMockRecorder) Checkout

func (mr *MockRepoMockRecorder) Checkout(arg0, arg1 interface{}) *gomock.Call

Checkout indicates an expected call of Checkout.

func (*MockRepoMockRecorder) CheckoutPullRequest

func (mr *MockRepoMockRecorder) CheckoutPullRequest(arg0, arg1, arg2 interface{}) *gomock.Call

CheckoutPullRequest indicates an expected call of CheckoutPullRequest.

func (*MockRepoMockRecorder) Clean

func (mr *MockRepoMockRecorder) Clean() *gomock.Call

Clean indicates an expected call of Clean.

func (*MockRepoMockRecorder) CleanPath added in v0.49.3

func (mr *MockRepoMockRecorder) CleanPath(arg0, arg1 interface{}) *gomock.Call

CleanPath indicates an expected call of CleanPath.

func (*MockRepoMockRecorder) CommitChanges

func (mr *MockRepoMockRecorder) CommitChanges(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CommitChanges indicates an expected call of CommitChanges.

func (*MockRepoMockRecorder) Copy

func (mr *MockRepoMockRecorder) Copy(arg0 interface{}) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockRepoMockRecorder) GetClonedBranch

func (mr *MockRepoMockRecorder) GetClonedBranch() *gomock.Call

GetClonedBranch indicates an expected call of GetClonedBranch.

func (*MockRepoMockRecorder) GetCommitForRev added in v0.48.0

func (mr *MockRepoMockRecorder) GetCommitForRev(arg0, arg1 interface{}) *gomock.Call

GetCommitForRev indicates an expected call of GetCommitForRev.

func (*MockRepoMockRecorder) GetLatestCommit

func (mr *MockRepoMockRecorder) GetLatestCommit(arg0 interface{}) *gomock.Call

GetLatestCommit indicates an expected call of GetLatestCommit.

func (*MockRepoMockRecorder) GetPath

func (mr *MockRepoMockRecorder) GetPath() *gomock.Call

GetPath indicates an expected call of GetPath.

func (*MockRepoMockRecorder) ListCommits

func (mr *MockRepoMockRecorder) ListCommits(arg0, arg1 interface{}) *gomock.Call

ListCommits indicates an expected call of ListCommits.

func (*MockRepoMockRecorder) MergeRemoteBranch

func (mr *MockRepoMockRecorder) MergeRemoteBranch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

MergeRemoteBranch indicates an expected call of MergeRemoteBranch.

func (*MockRepoMockRecorder) Pull

func (mr *MockRepoMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockRepoMockRecorder) Push

func (mr *MockRepoMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call

Push indicates an expected call of Push.

Jump to

Keyboard shortcuts

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