mocks

package
v2.5.19 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Checkout

func (_m *Client) Checkout(revision string, submoduleEnabled bool) error

Checkout provides a mock function with given fields: revision, submoduleEnabled

func (*Client) CommitSHA

func (_m *Client) CommitSHA() (string, error)

CommitSHA provides a mock function with given fields:

func (*Client) Fetch

func (_m *Client) Fetch(revision string) error

Fetch provides a mock function with given fields: revision

func (*Client) Init

func (_m *Client) Init() error

Init provides a mock function with given fields:

func (*Client) LsFiles

func (_m *Client) LsFiles(path string) ([]string, error)

LsFiles provides a mock function with given fields: path

func (*Client) LsLargeFiles

func (_m *Client) LsLargeFiles() ([]string, error)

LsLargeFiles provides a mock function with given fields:

func (*Client) LsRefs

func (_m *Client) LsRefs() (*git.Refs, error)

LsRefs provides a mock function with given fields:

func (*Client) LsRemote

func (_m *Client) LsRemote(revision string) (string, error)

LsRemote provides a mock function with given fields: revision

func (*Client) RevisionMetadata

func (_m *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)

RevisionMetadata provides a mock function with given fields: revision

func (*Client) Root

func (_m *Client) Root() string

Root provides a mock function with given fields:

func (*Client) Submodule added in v2.4.6

func (_m *Client) Submodule() error

Submodule provides a mock function with given fields:

func (*Client) VerifyCommitSignature

func (_m *Client) VerifyCommitSignature(_a0 string) (string, error)

VerifyCommitSignature provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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