Documentation ¶
Index ¶
- type GHRepoService
- func (_m *GHRepoService) GetCommitSHA1(ctx context.Context, owner string, repo string, ref string, lastSHA string) (string, *github.Response, error)
- func (_m *GHRepoService) GetLatestRelease(ctx context.Context, owner string, repo string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *GHRepoService) GetReleaseByTag(ctx context.Context, owner string, repo string, tag string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *GHRepoService) ListReleases(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
- func (_m *GHRepoService) OnGetCommitSHA1(ctx context.Context, owner string, repo string, ref string, lastSHA string) *GHRepoService_GetCommitSHA1
- func (_m *GHRepoService) OnGetCommitSHA1Match(matchers ...interface{}) *GHRepoService_GetCommitSHA1
- func (_m *GHRepoService) OnGetLatestRelease(ctx context.Context, owner string, repo string) *GHRepoService_GetLatestRelease
- func (_m *GHRepoService) OnGetLatestReleaseMatch(matchers ...interface{}) *GHRepoService_GetLatestRelease
- func (_m *GHRepoService) OnGetReleaseByTag(ctx context.Context, owner string, repo string, tag string) *GHRepoService_GetReleaseByTag
- func (_m *GHRepoService) OnGetReleaseByTagMatch(matchers ...interface{}) *GHRepoService_GetReleaseByTag
- func (_m *GHRepoService) OnListReleases(ctx context.Context, owner string, repo string, opts *github.ListOptions) *GHRepoService_ListReleases
- func (_m *GHRepoService) OnListReleasesMatch(matchers ...interface{}) *GHRepoService_ListReleases
- type GHRepoService_GetCommitSHA1
- type GHRepoService_GetLatestRelease
- type GHRepoService_GetReleaseByTag
- type GHRepoService_ListReleases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GHRepoService ¶
GHRepoService is an autogenerated mock type for the GHRepoService type
func (*GHRepoService) GetCommitSHA1 ¶
func (_m *GHRepoService) GetCommitSHA1(ctx context.Context, owner string, repo string, ref string, lastSHA string) (string, *github.Response, error)
GetCommitSHA1 provides a mock function with given fields: ctx, owner, repo, ref, lastSHA
func (*GHRepoService) GetLatestRelease ¶
func (_m *GHRepoService) GetLatestRelease(ctx context.Context, owner string, repo string) (*github.RepositoryRelease, *github.Response, error)
GetLatestRelease provides a mock function with given fields: ctx, owner, repo
func (*GHRepoService) GetReleaseByTag ¶
func (_m *GHRepoService) GetReleaseByTag(ctx context.Context, owner string, repo string, tag string) (*github.RepositoryRelease, *github.Response, error)
GetReleaseByTag provides a mock function with given fields: ctx, owner, repo, tag
func (*GHRepoService) ListReleases ¶
func (_m *GHRepoService) ListReleases(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
ListReleases provides a mock function with given fields: ctx, owner, repo, opts
func (*GHRepoService) OnGetCommitSHA1 ¶
func (_m *GHRepoService) OnGetCommitSHA1(ctx context.Context, owner string, repo string, ref string, lastSHA string) *GHRepoService_GetCommitSHA1
func (*GHRepoService) OnGetCommitSHA1Match ¶
func (_m *GHRepoService) OnGetCommitSHA1Match(matchers ...interface{}) *GHRepoService_GetCommitSHA1
func (*GHRepoService) OnGetLatestRelease ¶
func (_m *GHRepoService) OnGetLatestRelease(ctx context.Context, owner string, repo string) *GHRepoService_GetLatestRelease
func (*GHRepoService) OnGetLatestReleaseMatch ¶
func (_m *GHRepoService) OnGetLatestReleaseMatch(matchers ...interface{}) *GHRepoService_GetLatestRelease
func (*GHRepoService) OnGetReleaseByTag ¶
func (_m *GHRepoService) OnGetReleaseByTag(ctx context.Context, owner string, repo string, tag string) *GHRepoService_GetReleaseByTag
func (*GHRepoService) OnGetReleaseByTagMatch ¶
func (_m *GHRepoService) OnGetReleaseByTagMatch(matchers ...interface{}) *GHRepoService_GetReleaseByTag
func (*GHRepoService) OnListReleases ¶
func (_m *GHRepoService) OnListReleases(ctx context.Context, owner string, repo string, opts *github.ListOptions) *GHRepoService_ListReleases
func (*GHRepoService) OnListReleasesMatch ¶
func (_m *GHRepoService) OnListReleasesMatch(matchers ...interface{}) *GHRepoService_ListReleases
type GHRepoService_GetCommitSHA1 ¶
func (GHRepoService_GetCommitSHA1) Return ¶
func (_m GHRepoService_GetCommitSHA1) Return(_a0 string, _a1 *github.Response, _a2 error) *GHRepoService_GetCommitSHA1
type GHRepoService_GetLatestRelease ¶
func (GHRepoService_GetLatestRelease) Return ¶
func (_m GHRepoService_GetLatestRelease) Return(_a0 *github.RepositoryRelease, _a1 *github.Response, _a2 error) *GHRepoService_GetLatestRelease
type GHRepoService_GetReleaseByTag ¶
func (GHRepoService_GetReleaseByTag) Return ¶
func (_m GHRepoService_GetReleaseByTag) Return(_a0 *github.RepositoryRelease, _a1 *github.Response, _a2 error) *GHRepoService_GetReleaseByTag
type GHRepoService_ListReleases ¶
func (GHRepoService_ListReleases) Return ¶
func (_m GHRepoService_ListReleases) Return(_a0 []*github.RepositoryRelease, _a1 *github.Response, _a2 error) *GHRepoService_ListReleases
Click to show internal directories.
Click to hide internal directories.