mocks

package
v1.21.0-cadence-v1.0.0... Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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 GitHubRepositoriesService

type GitHubRepositoriesService struct {
	mock.Mock
}

GitHubRepositoriesService is an autogenerated mock type for the GitHubRepositoriesService type

func NewGitHubRepositoriesService

func NewGitHubRepositoriesService(t interface {
	mock.TestingT
	Cleanup(func())
}) *GitHubRepositoriesService

NewGitHubRepositoriesService creates a new instance of GitHubRepositoriesService. 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 (*GitHubRepositoriesService) DownloadContents

func (_m *GitHubRepositoriesService) DownloadContents(ctx context.Context, owner string, repo string, filepath string, opt *github.RepositoryContentGetOptions) (io.ReadCloser, error)

DownloadContents provides a mock function with given fields: ctx, owner, repo, filepath, opt

func (*GitHubRepositoriesService) GetContents

GetContents provides a mock function with given fields: ctx, owner, repo, path, opt

Jump to

Keyboard shortcuts

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