mocks

package
v1.365.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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 GithubRepoClient

type GithubRepoClient struct {
	mock.Mock
}

GithubRepoClient is an autogenerated mock type for the GithubRepoClient type

func (*GithubRepoClient) CreateRelease

func (_m *GithubRepoClient) CreateRelease(ctx context.Context, owner string, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)

CreateRelease provides a mock function with given fields: ctx, owner, repo, release

func (*GithubRepoClient) DeleteReleaseAsset

func (_m *GithubRepoClient) DeleteReleaseAsset(ctx context.Context, owner string, repo string, id int64) (*github.Response, error)

DeleteReleaseAsset provides a mock function with given fields: ctx, owner, repo, id

func (*GithubRepoClient) GetLatestRelease

func (_m *GithubRepoClient) 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 (*GithubRepoClient) ListReleaseAssets

func (_m *GithubRepoClient) ListReleaseAssets(ctx context.Context, owner string, repo string, id int64, opt *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)

ListReleaseAssets provides a mock function with given fields: ctx, owner, repo, id, opt

func (*GithubRepoClient) UploadReleaseAsset

func (_m *GithubRepoClient) UploadReleaseAsset(ctx context.Context, owner string, repo string, id int64, opt *github.UploadOptions, file *os.File) (*github.ReleaseAsset, *github.Response, error)

UploadReleaseAsset provides a mock function with given fields: ctx, owner, repo, id, opt, file

Jump to

Keyboard shortcuts

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