Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) CompareCommits(ctx context.Context, owner string, repo string, base string, head string, ...) (*github.CommitsComparison, *github.Response, error)
- func (_m *Repository) 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 Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. 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 (*Repository) CompareCommits ¶
func (_m *Repository) CompareCommits(ctx context.Context, owner string, repo string, base string, head string, opts *github.ListOptions) (*github.CommitsComparison, *github.Response, error)
CompareCommits provides a mock function with given fields: ctx, owner, repo, base, head, opts
func (*Repository) GetContents ¶
func (_m *Repository) GetContents(ctx context.Context, owner string, repo string, path string, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents provides a mock function with given fields: ctx, owner, repo, path, opts
Click to show internal directories.
Click to hide internal directories.