mocks

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 8 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 MockGoGit

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

MockGoGit is a mock of GoGit interface.

func NewMockGoGit

func NewMockGoGit(ctrl *gomock.Controller) *MockGoGit

NewMockGoGit creates a new mock instance.

func (*MockGoGit) AddGlob

func (m *MockGoGit) AddGlob(arg0 string, arg1 *git.Worktree) error

AddGlob mocks base method.

func (*MockGoGit) Checkout

func (m *MockGoGit) Checkout(arg0 *git.Worktree, arg1 *git.CheckoutOptions) error

Checkout mocks base method.

func (*MockGoGit) Clone

func (m *MockGoGit) Clone(arg0 context.Context, arg1, arg2 string, arg3 transport.AuthMethod) (*git.Repository, error)

Clone mocks base method.

func (*MockGoGit) Commit

func (m *MockGoGit) Commit(arg0 string, arg1 *object.Signature, arg2 *git.Worktree) (plumbing.Hash, error)

Commit mocks base method.

func (*MockGoGit) CommitObject

func (m *MockGoGit) CommitObject(arg0 *git.Repository, arg1 plumbing.Hash) (*object.Commit, error)

CommitObject mocks base method.

func (*MockGoGit) Create

func (m *MockGoGit) Create(arg0 *git.Repository, arg1 string) (*git.Remote, error)

Create mocks base method.

func (*MockGoGit) CreateBranch

func (m *MockGoGit) CreateBranch(arg0 *git.Repository, arg1 *config.Branch) error

CreateBranch mocks base method.

func (*MockGoGit) EXPECT

func (m *MockGoGit) EXPECT() *MockGoGitMockRecorder

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

func (*MockGoGit) Head

func (m *MockGoGit) Head(arg0 *git.Repository) (*plumbing.Reference, error)

Head mocks base method.

func (*MockGoGit) Init

func (m *MockGoGit) Init(arg0 string) (*git.Repository, error)

Init mocks base method.

func (*MockGoGit) ListRemotes

func (m *MockGoGit) ListRemotes(arg0 *git.Repository, arg1 transport.AuthMethod) ([]*plumbing.Reference, error)

ListRemotes mocks base method.

func (*MockGoGit) ListWithContext

func (m *MockGoGit) ListWithContext(arg0 context.Context, arg1 *git.Remote, arg2 transport.AuthMethod) ([]*plumbing.Reference, error)

ListWithContext mocks base method.

func (*MockGoGit) NewRemote

func (m *MockGoGit) NewRemote(arg0, arg1 string) *git.Remote

NewRemote mocks base method.

func (*MockGoGit) OpenDir

func (m *MockGoGit) OpenDir(arg0 string) (*git.Repository, error)

OpenDir mocks base method.

func (*MockGoGit) OpenWorktree

func (m *MockGoGit) OpenWorktree(arg0 *git.Repository) (*git.Worktree, error)

OpenWorktree mocks base method.

func (*MockGoGit) PullWithContext

func (m *MockGoGit) PullWithContext(arg0 context.Context, arg1 *git.Worktree, arg2 transport.AuthMethod, arg3 plumbing.ReferenceName) error

PullWithContext mocks base method.

func (*MockGoGit) PushWithContext

func (m *MockGoGit) PushWithContext(arg0 context.Context, arg1 *git.Repository, arg2 transport.AuthMethod) error

PushWithContext mocks base method.

func (*MockGoGit) Remove

func (m *MockGoGit) Remove(arg0 string, arg1 *git.Worktree) (plumbing.Hash, error)

Remove mocks base method.

func (*MockGoGit) SetRepositoryReference

func (m *MockGoGit) SetRepositoryReference(arg0 *git.Repository, arg1 *plumbing.Reference) error

SetRepositoryReference mocks base method.

type MockGoGitMockRecorder

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

MockGoGitMockRecorder is the mock recorder for MockGoGit.

func (*MockGoGitMockRecorder) AddGlob

func (mr *MockGoGitMockRecorder) AddGlob(arg0, arg1 interface{}) *gomock.Call

AddGlob indicates an expected call of AddGlob.

func (*MockGoGitMockRecorder) Checkout

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

Checkout indicates an expected call of Checkout.

func (*MockGoGitMockRecorder) Clone

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

Clone indicates an expected call of Clone.

func (*MockGoGitMockRecorder) Commit

func (mr *MockGoGitMockRecorder) Commit(arg0, arg1, arg2 interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockGoGitMockRecorder) CommitObject

func (mr *MockGoGitMockRecorder) CommitObject(arg0, arg1 interface{}) *gomock.Call

CommitObject indicates an expected call of CommitObject.

func (*MockGoGitMockRecorder) Create

func (mr *MockGoGitMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockGoGitMockRecorder) CreateBranch

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

CreateBranch indicates an expected call of CreateBranch.

func (*MockGoGitMockRecorder) Head

func (mr *MockGoGitMockRecorder) Head(arg0 interface{}) *gomock.Call

Head indicates an expected call of Head.

func (*MockGoGitMockRecorder) Init

func (mr *MockGoGitMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockGoGitMockRecorder) ListRemotes

func (mr *MockGoGitMockRecorder) ListRemotes(arg0, arg1 interface{}) *gomock.Call

ListRemotes indicates an expected call of ListRemotes.

func (*MockGoGitMockRecorder) ListWithContext

func (mr *MockGoGitMockRecorder) ListWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

ListWithContext indicates an expected call of ListWithContext.

func (*MockGoGitMockRecorder) NewRemote

func (mr *MockGoGitMockRecorder) NewRemote(arg0, arg1 interface{}) *gomock.Call

NewRemote indicates an expected call of NewRemote.

func (*MockGoGitMockRecorder) OpenDir

func (mr *MockGoGitMockRecorder) OpenDir(arg0 interface{}) *gomock.Call

OpenDir indicates an expected call of OpenDir.

func (*MockGoGitMockRecorder) OpenWorktree

func (mr *MockGoGitMockRecorder) OpenWorktree(arg0 interface{}) *gomock.Call

OpenWorktree indicates an expected call of OpenWorktree.

func (*MockGoGitMockRecorder) PullWithContext

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

PullWithContext indicates an expected call of PullWithContext.

func (*MockGoGitMockRecorder) PushWithContext

func (mr *MockGoGitMockRecorder) PushWithContext(arg0, arg1, arg2 interface{}) *gomock.Call

PushWithContext indicates an expected call of PushWithContext.

func (*MockGoGitMockRecorder) Remove

func (mr *MockGoGitMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockGoGitMockRecorder) SetRepositoryReference

func (mr *MockGoGitMockRecorder) SetRepositoryReference(arg0, arg1 interface{}) *gomock.Call

SetRepositoryReference indicates an expected call of SetRepositoryReference.

Jump to

Keyboard shortcuts

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