mocks

package
v0.4.18 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockRepository added in v0.3.1

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

MockRepository is a mock of Repository interface.

func NewMockRepository added in v0.3.1

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) BlobObject added in v0.3.1

func (m *MockRepository) BlobObject(arg0 plumbing.Hash) (*object.Blob, error)

BlobObject mocks base method.

func (*MockRepository) BlobObjects added in v0.3.1

func (m *MockRepository) BlobObjects() (*object.BlobIter, error)

BlobObjects mocks base method.

func (*MockRepository) Branch added in v0.3.1

func (m *MockRepository) Branch(arg0 string) (*config.Branch, error)

Branch mocks base method.

func (*MockRepository) Branches added in v0.3.1

func (m *MockRepository) Branches() (storer.ReferenceIter, error)

Branches mocks base method.

func (*MockRepository) CommitObject added in v0.3.1

func (m *MockRepository) CommitObject(arg0 plumbing.Hash) (*object.Commit, error)

CommitObject mocks base method.

func (*MockRepository) CommitObjects added in v0.3.1

func (m *MockRepository) CommitObjects() (object.CommitIter, error)

CommitObjects mocks base method.

func (*MockRepository) Config added in v0.3.1

func (m *MockRepository) Config() (*config.Config, error)

Config mocks base method.

func (*MockRepository) ConfigScoped added in v0.3.1

func (m *MockRepository) ConfigScoped(arg0 config.Scope) (*config.Config, error)

ConfigScoped mocks base method.

func (*MockRepository) CreateBranch added in v0.3.1

func (m *MockRepository) CreateBranch(arg0 *config.Branch) error

CreateBranch mocks base method.

func (*MockRepository) CreateRemote added in v0.3.1

func (m *MockRepository) CreateRemote(arg0 *config.RemoteConfig) (*git.Remote, error)

CreateRemote mocks base method.

func (*MockRepository) CreateRemoteAnonymous added in v0.3.1

func (m *MockRepository) CreateRemoteAnonymous(arg0 *config.RemoteConfig) (*git.Remote, error)

CreateRemoteAnonymous mocks base method.

func (*MockRepository) CreateTag added in v0.3.1

func (m *MockRepository) CreateTag(arg0 string, arg1 plumbing.Hash, arg2 *git.CreateTagOptions) (*plumbing.Reference, error)

CreateTag mocks base method.

func (*MockRepository) DeleteBranch added in v0.3.1

func (m *MockRepository) DeleteBranch(arg0 string) error

DeleteBranch mocks base method.

func (*MockRepository) DeleteObject added in v0.3.1

func (m *MockRepository) DeleteObject(arg0 plumbing.Hash) error

DeleteObject mocks base method.

func (*MockRepository) DeleteRemote added in v0.3.1

func (m *MockRepository) DeleteRemote(arg0 string) error

DeleteRemote mocks base method.

func (*MockRepository) DeleteTag added in v0.3.1

func (m *MockRepository) DeleteTag(arg0 string) error

DeleteTag mocks base method.

func (*MockRepository) EXPECT added in v0.3.1

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

func (*MockRepository) Fetch added in v0.3.1

func (m *MockRepository) Fetch(arg0 *git.FetchOptions) error

Fetch mocks base method.

func (*MockRepository) FetchContext added in v0.3.1

func (m *MockRepository) FetchContext(arg0 context.Context, arg1 *git.FetchOptions) error

FetchContext mocks base method.

func (*MockRepository) Head added in v0.3.1

func (m *MockRepository) Head() (*plumbing.Reference, error)

Head mocks base method.

func (*MockRepository) Log added in v0.3.1

Log mocks base method.

func (*MockRepository) Notes added in v0.3.1

func (m *MockRepository) Notes() (storer.ReferenceIter, error)

Notes mocks base method.

func (*MockRepository) Object added in v0.3.1

func (m *MockRepository) Object(arg0 plumbing.ObjectType, arg1 plumbing.Hash) (object.Object, error)

Object mocks base method.

func (*MockRepository) Objects added in v0.3.1

func (m *MockRepository) Objects() (*object.ObjectIter, error)

Objects mocks base method.

func (*MockRepository) Prune added in v0.3.1

func (m *MockRepository) Prune(arg0 git.PruneOptions) error

Prune mocks base method.

func (*MockRepository) Push added in v0.3.1

func (m *MockRepository) Push(arg0 *git.PushOptions) error

Push mocks base method.

func (*MockRepository) PushContext added in v0.3.1

func (m *MockRepository) PushContext(arg0 context.Context, arg1 *git.PushOptions) error

PushContext mocks base method.

func (*MockRepository) Reference added in v0.3.1

func (m *MockRepository) Reference(arg0 plumbing.ReferenceName, arg1 bool) (*plumbing.Reference, error)

Reference mocks base method.

func (*MockRepository) References added in v0.3.1

func (m *MockRepository) References() (storer.ReferenceIter, error)

References mocks base method.

func (*MockRepository) Remote added in v0.3.1

func (m *MockRepository) Remote(arg0 string) (*git.Remote, error)

Remote mocks base method.

func (*MockRepository) Remotes added in v0.3.1

func (m *MockRepository) Remotes() ([]*git.Remote, error)

Remotes mocks base method.

func (*MockRepository) RepackObjects added in v0.3.1

func (m *MockRepository) RepackObjects(arg0 *git.RepackConfig) error

RepackObjects mocks base method.

func (*MockRepository) ResolveRevision added in v0.3.1

func (m *MockRepository) ResolveRevision(arg0 plumbing.Revision) (*plumbing.Hash, error)

ResolveRevision mocks base method.

func (*MockRepository) SetConfig added in v0.3.1

func (m *MockRepository) SetConfig(arg0 *config.Config) error

SetConfig mocks base method.

func (*MockRepository) Tag added in v0.3.1

func (m *MockRepository) Tag(arg0 string) (*plumbing.Reference, error)

Tag mocks base method.

func (*MockRepository) TagObject added in v0.3.1

func (m *MockRepository) TagObject(arg0 plumbing.Hash) (*object.Tag, error)

TagObject mocks base method.

func (*MockRepository) TagObjects added in v0.3.1

func (m *MockRepository) TagObjects() (*object.TagIter, error)

TagObjects mocks base method.

func (*MockRepository) Tags added in v0.3.1

Tags mocks base method.

func (*MockRepository) TreeObject added in v0.3.1

func (m *MockRepository) TreeObject(arg0 plumbing.Hash) (*object.Tree, error)

TreeObject mocks base method.

func (*MockRepository) TreeObjects added in v0.3.1

func (m *MockRepository) TreeObjects() (*object.TreeIter, error)

TreeObjects mocks base method.

func (*MockRepository) Worktree added in v0.3.1

func (m *MockRepository) Worktree() (*git.Worktree, error)

Worktree mocks base method.

type MockRepositoryMockRecorder added in v0.3.1

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) BlobObject added in v0.3.1

func (mr *MockRepositoryMockRecorder) BlobObject(arg0 interface{}) *gomock.Call

BlobObject indicates an expected call of BlobObject.

func (*MockRepositoryMockRecorder) BlobObjects added in v0.3.1

func (mr *MockRepositoryMockRecorder) BlobObjects() *gomock.Call

BlobObjects indicates an expected call of BlobObjects.

func (*MockRepositoryMockRecorder) Branch added in v0.3.1

func (mr *MockRepositoryMockRecorder) Branch(arg0 interface{}) *gomock.Call

Branch indicates an expected call of Branch.

func (*MockRepositoryMockRecorder) Branches added in v0.3.1

func (mr *MockRepositoryMockRecorder) Branches() *gomock.Call

Branches indicates an expected call of Branches.

func (*MockRepositoryMockRecorder) CommitObject added in v0.3.1

func (mr *MockRepositoryMockRecorder) CommitObject(arg0 interface{}) *gomock.Call

CommitObject indicates an expected call of CommitObject.

func (*MockRepositoryMockRecorder) CommitObjects added in v0.3.1

func (mr *MockRepositoryMockRecorder) CommitObjects() *gomock.Call

CommitObjects indicates an expected call of CommitObjects.

func (*MockRepositoryMockRecorder) Config added in v0.3.1

func (mr *MockRepositoryMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config.

func (*MockRepositoryMockRecorder) ConfigScoped added in v0.3.1

func (mr *MockRepositoryMockRecorder) ConfigScoped(arg0 interface{}) *gomock.Call

ConfigScoped indicates an expected call of ConfigScoped.

func (*MockRepositoryMockRecorder) CreateBranch added in v0.3.1

func (mr *MockRepositoryMockRecorder) CreateBranch(arg0 interface{}) *gomock.Call

CreateBranch indicates an expected call of CreateBranch.

func (*MockRepositoryMockRecorder) CreateRemote added in v0.3.1

func (mr *MockRepositoryMockRecorder) CreateRemote(arg0 interface{}) *gomock.Call

CreateRemote indicates an expected call of CreateRemote.

func (*MockRepositoryMockRecorder) CreateRemoteAnonymous added in v0.3.1

func (mr *MockRepositoryMockRecorder) CreateRemoteAnonymous(arg0 interface{}) *gomock.Call

CreateRemoteAnonymous indicates an expected call of CreateRemoteAnonymous.

func (*MockRepositoryMockRecorder) CreateTag added in v0.3.1

func (mr *MockRepositoryMockRecorder) CreateTag(arg0, arg1, arg2 interface{}) *gomock.Call

CreateTag indicates an expected call of CreateTag.

func (*MockRepositoryMockRecorder) DeleteBranch added in v0.3.1

func (mr *MockRepositoryMockRecorder) DeleteBranch(arg0 interface{}) *gomock.Call

DeleteBranch indicates an expected call of DeleteBranch.

func (*MockRepositoryMockRecorder) DeleteObject added in v0.3.1

func (mr *MockRepositoryMockRecorder) DeleteObject(arg0 interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockRepositoryMockRecorder) DeleteRemote added in v0.3.1

func (mr *MockRepositoryMockRecorder) DeleteRemote(arg0 interface{}) *gomock.Call

DeleteRemote indicates an expected call of DeleteRemote.

func (*MockRepositoryMockRecorder) DeleteTag added in v0.3.1

func (mr *MockRepositoryMockRecorder) DeleteTag(arg0 interface{}) *gomock.Call

DeleteTag indicates an expected call of DeleteTag.

func (*MockRepositoryMockRecorder) Fetch added in v0.3.1

func (mr *MockRepositoryMockRecorder) Fetch(arg0 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

func (*MockRepositoryMockRecorder) FetchContext added in v0.3.1

func (mr *MockRepositoryMockRecorder) FetchContext(arg0, arg1 interface{}) *gomock.Call

FetchContext indicates an expected call of FetchContext.

func (*MockRepositoryMockRecorder) Head added in v0.3.1

Head indicates an expected call of Head.

func (*MockRepositoryMockRecorder) Log added in v0.3.1

func (mr *MockRepositoryMockRecorder) Log(arg0 interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockRepositoryMockRecorder) Notes added in v0.3.1

func (mr *MockRepositoryMockRecorder) Notes() *gomock.Call

Notes indicates an expected call of Notes.

func (*MockRepositoryMockRecorder) Object added in v0.3.1

func (mr *MockRepositoryMockRecorder) Object(arg0, arg1 interface{}) *gomock.Call

Object indicates an expected call of Object.

func (*MockRepositoryMockRecorder) Objects added in v0.3.1

func (mr *MockRepositoryMockRecorder) Objects() *gomock.Call

Objects indicates an expected call of Objects.

func (*MockRepositoryMockRecorder) Prune added in v0.3.1

func (mr *MockRepositoryMockRecorder) Prune(arg0 interface{}) *gomock.Call

Prune indicates an expected call of Prune.

func (*MockRepositoryMockRecorder) Push added in v0.3.1

func (mr *MockRepositoryMockRecorder) Push(arg0 interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockRepositoryMockRecorder) PushContext added in v0.3.1

func (mr *MockRepositoryMockRecorder) PushContext(arg0, arg1 interface{}) *gomock.Call

PushContext indicates an expected call of PushContext.

func (*MockRepositoryMockRecorder) Reference added in v0.3.1

func (mr *MockRepositoryMockRecorder) Reference(arg0, arg1 interface{}) *gomock.Call

Reference indicates an expected call of Reference.

func (*MockRepositoryMockRecorder) References added in v0.3.1

func (mr *MockRepositoryMockRecorder) References() *gomock.Call

References indicates an expected call of References.

func (*MockRepositoryMockRecorder) Remote added in v0.3.1

func (mr *MockRepositoryMockRecorder) Remote(arg0 interface{}) *gomock.Call

Remote indicates an expected call of Remote.

func (*MockRepositoryMockRecorder) Remotes added in v0.3.1

func (mr *MockRepositoryMockRecorder) Remotes() *gomock.Call

Remotes indicates an expected call of Remotes.

func (*MockRepositoryMockRecorder) RepackObjects added in v0.3.1

func (mr *MockRepositoryMockRecorder) RepackObjects(arg0 interface{}) *gomock.Call

RepackObjects indicates an expected call of RepackObjects.

func (*MockRepositoryMockRecorder) ResolveRevision added in v0.3.1

func (mr *MockRepositoryMockRecorder) ResolveRevision(arg0 interface{}) *gomock.Call

ResolveRevision indicates an expected call of ResolveRevision.

func (*MockRepositoryMockRecorder) SetConfig added in v0.3.1

func (mr *MockRepositoryMockRecorder) SetConfig(arg0 interface{}) *gomock.Call

SetConfig indicates an expected call of SetConfig.

func (*MockRepositoryMockRecorder) Tag added in v0.3.1

func (mr *MockRepositoryMockRecorder) Tag(arg0 interface{}) *gomock.Call

Tag indicates an expected call of Tag.

func (*MockRepositoryMockRecorder) TagObject added in v0.3.1

func (mr *MockRepositoryMockRecorder) TagObject(arg0 interface{}) *gomock.Call

TagObject indicates an expected call of TagObject.

func (*MockRepositoryMockRecorder) TagObjects added in v0.3.1

func (mr *MockRepositoryMockRecorder) TagObjects() *gomock.Call

TagObjects indicates an expected call of TagObjects.

func (*MockRepositoryMockRecorder) Tags added in v0.3.1

Tags indicates an expected call of Tags.

func (*MockRepositoryMockRecorder) TreeObject added in v0.3.1

func (mr *MockRepositoryMockRecorder) TreeObject(arg0 interface{}) *gomock.Call

TreeObject indicates an expected call of TreeObject.

func (*MockRepositoryMockRecorder) TreeObjects added in v0.3.1

func (mr *MockRepositoryMockRecorder) TreeObjects() *gomock.Call

TreeObjects indicates an expected call of TreeObjects.

func (*MockRepositoryMockRecorder) Worktree added in v0.3.1

func (mr *MockRepositoryMockRecorder) Worktree() *gomock.Call

Worktree indicates an expected call of Worktree.

type MockWorktree added in v0.3.1

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

MockWorktree is a mock of Worktree interface.

func NewMockWorktree added in v0.3.1

func NewMockWorktree(ctrl *gomock.Controller) *MockWorktree

NewMockWorktree creates a new mock instance.

func (*MockWorktree) Add added in v0.3.1

func (m *MockWorktree) Add(arg0 string) (plumbing.Hash, error)

Add mocks base method.

func (*MockWorktree) AddGlob added in v0.3.1

func (m *MockWorktree) AddGlob(arg0 string) error

AddGlob mocks base method.

func (*MockWorktree) AddWithOptions added in v0.3.1

func (m *MockWorktree) AddWithOptions(arg0 *git.AddOptions) error

AddWithOptions mocks base method.

func (*MockWorktree) Checkout added in v0.3.1

func (m *MockWorktree) Checkout(arg0 *git.CheckoutOptions) error

Checkout mocks base method.

func (*MockWorktree) Clean added in v0.3.1

func (m *MockWorktree) Clean(arg0 *git.CleanOptions) error

Clean mocks base method.

func (*MockWorktree) Commit added in v0.3.1

func (m *MockWorktree) Commit(arg0 string, arg1 *git.CommitOptions) (plumbing.Hash, error)

Commit mocks base method.

func (*MockWorktree) EXPECT added in v0.3.1

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

func (*MockWorktree) Grep added in v0.3.1

func (m *MockWorktree) Grep(arg0 *git.GrepOptions) ([]git.GrepResult, error)

Grep mocks base method.

func (*MockWorktree) Move added in v0.3.1

func (m *MockWorktree) Move(arg0, arg1 string) (plumbing.Hash, error)

Move mocks base method.

func (*MockWorktree) Pull added in v0.3.1

func (m *MockWorktree) Pull(arg0 *git.PullOptions) error

Pull mocks base method.

func (*MockWorktree) PullContext added in v0.3.1

func (m *MockWorktree) PullContext(arg0 context.Context, arg1 *git.PullOptions) error

PullContext mocks base method.

func (*MockWorktree) Remove added in v0.3.1

func (m *MockWorktree) Remove(arg0 string) (plumbing.Hash, error)

Remove mocks base method.

func (*MockWorktree) RemoveGlob added in v0.3.1

func (m *MockWorktree) RemoveGlob(arg0 string) error

RemoveGlob mocks base method.

func (*MockWorktree) Reset added in v0.3.1

func (m *MockWorktree) Reset(arg0 *git.ResetOptions) error

Reset mocks base method.

func (*MockWorktree) Status added in v0.3.1

func (m *MockWorktree) Status() (git.Status, error)

Status mocks base method.

func (*MockWorktree) Submodule added in v0.3.1

func (m *MockWorktree) Submodule(arg0 string) (*git.Submodule, error)

Submodule mocks base method.

func (*MockWorktree) Submodules added in v0.3.1

func (m *MockWorktree) Submodules() (git.Submodules, error)

Submodules mocks base method.

type MockWorktreeMockRecorder added in v0.3.1

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

MockWorktreeMockRecorder is the mock recorder for MockWorktree.

func (*MockWorktreeMockRecorder) Add added in v0.3.1

func (mr *MockWorktreeMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockWorktreeMockRecorder) AddGlob added in v0.3.1

func (mr *MockWorktreeMockRecorder) AddGlob(arg0 interface{}) *gomock.Call

AddGlob indicates an expected call of AddGlob.

func (*MockWorktreeMockRecorder) AddWithOptions added in v0.3.1

func (mr *MockWorktreeMockRecorder) AddWithOptions(arg0 interface{}) *gomock.Call

AddWithOptions indicates an expected call of AddWithOptions.

func (*MockWorktreeMockRecorder) Checkout added in v0.3.1

func (mr *MockWorktreeMockRecorder) Checkout(arg0 interface{}) *gomock.Call

Checkout indicates an expected call of Checkout.

func (*MockWorktreeMockRecorder) Clean added in v0.3.1

func (mr *MockWorktreeMockRecorder) Clean(arg0 interface{}) *gomock.Call

Clean indicates an expected call of Clean.

func (*MockWorktreeMockRecorder) Commit added in v0.3.1

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

Commit indicates an expected call of Commit.

func (*MockWorktreeMockRecorder) Grep added in v0.3.1

func (mr *MockWorktreeMockRecorder) Grep(arg0 interface{}) *gomock.Call

Grep indicates an expected call of Grep.

func (*MockWorktreeMockRecorder) Move added in v0.3.1

func (mr *MockWorktreeMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call

Move indicates an expected call of Move.

func (*MockWorktreeMockRecorder) Pull added in v0.3.1

func (mr *MockWorktreeMockRecorder) Pull(arg0 interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockWorktreeMockRecorder) PullContext added in v0.3.1

func (mr *MockWorktreeMockRecorder) PullContext(arg0, arg1 interface{}) *gomock.Call

PullContext indicates an expected call of PullContext.

func (*MockWorktreeMockRecorder) Remove added in v0.3.1

func (mr *MockWorktreeMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockWorktreeMockRecorder) RemoveGlob added in v0.3.1

func (mr *MockWorktreeMockRecorder) RemoveGlob(arg0 interface{}) *gomock.Call

RemoveGlob indicates an expected call of RemoveGlob.

func (*MockWorktreeMockRecorder) Reset added in v0.3.1

func (mr *MockWorktreeMockRecorder) Reset(arg0 interface{}) *gomock.Call

Reset indicates an expected call of Reset.

func (*MockWorktreeMockRecorder) Status added in v0.3.1

func (mr *MockWorktreeMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockWorktreeMockRecorder) Submodule added in v0.3.1

func (mr *MockWorktreeMockRecorder) Submodule(arg0 interface{}) *gomock.Call

Submodule indicates an expected call of Submodule.

func (*MockWorktreeMockRecorder) Submodules added in v0.3.1

func (mr *MockWorktreeMockRecorder) Submodules() *gomock.Call

Submodules indicates an expected call of Submodules.

Jump to

Keyboard shortcuts

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