mocks

package
v0.0.0-...-54d0854 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoClient

type RepoClient struct {
	mock.Mock
}

RepoClient is an autogenerated mock type for the RepoClient type

func (*RepoClient) Clone

func (_m *RepoClient) Clone(ctx context.Context, path string, isBare bool, o *git.CloneOptions) (*git.Repository, error)

Clone provides a mock function with given fields: ctx, path, isBare, o

func (*RepoClient) DefaultBranch

func (_m *RepoClient) DefaultBranch() (*plumbing.Reference, error)

DefaultBranch provides a mock function with given fields:

func (*RepoClient) Fetch

func (_m *RepoClient) Fetch(o *git.FetchOptions) error

Fetch provides a mock function with given fields: o

func (*RepoClient) PlainCheckout

func (_m *RepoClient) PlainCheckout(o *git.CheckoutOptions) error

PlainCheckout provides a mock function with given fields: o

func (*RepoClient) ResolveRevisionOrBranchHead

func (_m *RepoClient) ResolveRevisionOrBranchHead(rev plumbing.Revision) (*plumbing.Hash, error)

ResolveRevisionOrBranchHead provides a mock function with given fields: rev

func (*RepoClient) Worktree

func (_m *RepoClient) Worktree() (*git.Worktree, error)

Worktree provides a mock function with given fields:

Jump to

Keyboard shortcuts

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