automock

package
v0.0.0-...-782204f Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: MIT Imports: 3 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 NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) GetCommitContentDiff

func (_m *Client) GetCommitContentDiff(_a0 *github.RepositoryCommit, _a1 string, _a2 string) (string, error)

GetCommitContentDiff provides a mock function with given fields: _a0, _a1, _a2

func (*Client) GetLatestReleaseOrZero

func (_m *Client) GetLatestReleaseOrZero(_a0 string, _a1 string) (string, error)

GetLatestReleaseOrZero provides a mock function with given fields: _a0, _a1

func (*Client) GetUserSignatures

func (_m *Client) GetUserSignatures(_a0 string) ([]string, error)

GetUserSignatures provides a mock function with given fields: _a0

func (*Client) ListRepoBranches

func (_m *Client) ListRepoBranches(_a0 string, _a1 string) (*pkggithub.BranchList, error)

ListRepoBranches provides a mock function with given fields: _a0, _a1

func (*Client) ListRepoCommits

func (_m *Client) ListRepoCommits(_a0 pkggithub.ListRepoCommitsOpts) (*pkggithub.CommitList, error)

ListRepoCommits provides a mock function with given fields: _a0

func (*Client) ListRepos

func (_m *Client) ListRepos(_a0 string) ([]string, error)

ListRepos 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