mocks

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHRepoService

type GHRepoService struct {
	mock.Mock
}

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

type GHRepoService_GetCommitSHA1 struct {
	*mock.Call
}

func (GHRepoService_GetCommitSHA1) Return

type GHRepoService_GetLatestRelease

type GHRepoService_GetLatestRelease struct {
	*mock.Call
}

func (GHRepoService_GetLatestRelease) Return

type GHRepoService_GetReleaseByTag

type GHRepoService_GetReleaseByTag struct {
	*mock.Call
}

func (GHRepoService_GetReleaseByTag) Return

type GHRepoService_ListReleases

type GHRepoService_ListReleases struct {
	*mock.Call
}

func (GHRepoService_ListReleases) Return

Jump to

Keyboard shortcuts

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