mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 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 MockGoGitClient

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

MockGoGitClient is a mock of GoGitClient interface.

func NewMockGoGitClient

func NewMockGoGitClient(ctrl *gomock.Controller) *MockGoGitClient

NewMockGoGitClient creates a new mock instance.

func (*MockGoGitClient) AddGlob

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

AddGlob mocks base method.

func (*MockGoGitClient) Checkout

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

Checkout mocks base method.

func (*MockGoGitClient) Clone

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

Clone mocks base method.

func (*MockGoGitClient) Commit

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

Commit mocks base method.

func (*MockGoGitClient) CommitObject

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

CommitObject mocks base method.

func (*MockGoGitClient) Create

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

Create mocks base method.

func (*MockGoGitClient) CreateBranch

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

CreateBranch mocks base method.

func (*MockGoGitClient) EXPECT

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

func (*MockGoGitClient) Head

Head mocks base method.

func (*MockGoGitClient) Init

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

Init mocks base method.

func (*MockGoGitClient) ListRemotes

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

ListRemotes mocks base method.

func (*MockGoGitClient) OpenDir

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

OpenDir mocks base method.

func (*MockGoGitClient) OpenWorktree

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

OpenWorktree mocks base method.

func (*MockGoGitClient) PullWithContext

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

PullWithContext mocks base method.

func (*MockGoGitClient) PushWithContext

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

PushWithContext mocks base method.

func (*MockGoGitClient) Remove

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

Remove mocks base method.

func (*MockGoGitClient) SetRepositoryReference

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

SetRepositoryReference mocks base method.

type MockGoGitClientMockRecorder

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

MockGoGitClientMockRecorder is the mock recorder for MockGoGitClient.

func (*MockGoGitClientMockRecorder) AddGlob

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

AddGlob indicates an expected call of AddGlob.

func (*MockGoGitClientMockRecorder) Checkout

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

Checkout indicates an expected call of Checkout.

func (*MockGoGitClientMockRecorder) Clone

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

Clone indicates an expected call of Clone.

func (*MockGoGitClientMockRecorder) Commit

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

Commit indicates an expected call of Commit.

func (*MockGoGitClientMockRecorder) CommitObject

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

CommitObject indicates an expected call of CommitObject.

func (*MockGoGitClientMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockGoGitClientMockRecorder) CreateBranch

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

CreateBranch indicates an expected call of CreateBranch.

func (*MockGoGitClientMockRecorder) Head

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

Head indicates an expected call of Head.

func (*MockGoGitClientMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockGoGitClientMockRecorder) ListRemotes

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

ListRemotes indicates an expected call of ListRemotes.

func (*MockGoGitClientMockRecorder) OpenDir

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

OpenDir indicates an expected call of OpenDir.

func (*MockGoGitClientMockRecorder) OpenWorktree

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

OpenWorktree indicates an expected call of OpenWorktree.

func (*MockGoGitClientMockRecorder) PullWithContext

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

PullWithContext indicates an expected call of PullWithContext.

func (*MockGoGitClientMockRecorder) PushWithContext

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

PushWithContext indicates an expected call of PushWithContext.

func (*MockGoGitClientMockRecorder) Remove

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

Remove indicates an expected call of Remove.

func (*MockGoGitClientMockRecorder) SetRepositoryReference

func (mr *MockGoGitClientMockRecorder) 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