Documentation ¶
Index ¶
- type GitHubRepositoriesService
- func (_m *GitHubRepositoriesService) DownloadContents(ctx context.Context, owner string, repo string, filepath string, ...) (io.ReadCloser, error)
- func (_m *GitHubRepositoriesService) GetContents(ctx context.Context, owner string, repo string, path string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubRepositoriesService ¶
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 ¶
func (_m *GitHubRepositoriesService) GetContents(ctx context.Context, owner string, repo string, path string, opt *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents provides a mock function with given fields: ctx, owner, repo, path, opt
Click to show internal directories.
Click to hide internal directories.