fakes_internal

package
v0.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseByTagGetterAssetDownloader added in v0.74.0

type ReleaseByTagGetterAssetDownloader struct {
	DownloadReleaseAssetStub func(context.Context, string, string, int64, *http.Client) (io.ReadCloser, string, error)

	GetReleaseByTagStub func(context.Context, string, string, string) (*github.RepositoryRelease, *github.Response, error)
	// contains filtered or unexported fields
}

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAsset added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAsset(arg1 context.Context, arg2 string, arg3 string, arg4 int64, arg5 *http.Client) (io.ReadCloser, string, error)

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetArgsForCall added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetArgsForCall(i int) (context.Context, string, string, int64, *http.Client)

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetCallCount added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetCallCount() int

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetCalls added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetCalls(stub func(context.Context, string, string, int64, *http.Client) (io.ReadCloser, string, error))

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetReturns added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetReturns(result1 io.ReadCloser, result2 string, result3 error)

func (*ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetReturnsOnCall added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) DownloadReleaseAssetReturnsOnCall(i int, result1 io.ReadCloser, result2 string, result3 error)

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTag added in v0.74.0

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTagArgsForCall added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) GetReleaseByTagArgsForCall(i int) (context.Context, string, string, string)

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTagCallCount added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) GetReleaseByTagCallCount() int

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTagCalls added in v0.74.0

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTagReturns added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) GetReleaseByTagReturns(result1 *github.RepositoryRelease, result2 *github.Response, result3 error)

func (*ReleaseByTagGetterAssetDownloader) GetReleaseByTagReturnsOnCall added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) GetReleaseByTagReturnsOnCall(i int, result1 *github.RepositoryRelease, result2 *github.Response, result3 error)

func (*ReleaseByTagGetterAssetDownloader) Invocations added in v0.74.0

func (fake *ReleaseByTagGetterAssetDownloader) Invocations() map[string][][]any

type RepositoryReleaseLister

type RepositoryReleaseLister struct {
	ListReleasesStub func(context.Context, string, string, *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
	// contains filtered or unexported fields
}

func (*RepositoryReleaseLister) Invocations

func (fake *RepositoryReleaseLister) Invocations() map[string][][]any

func (*RepositoryReleaseLister) ListReleases

func (fake *RepositoryReleaseLister) ListReleases(arg1 context.Context, arg2 string, arg3 string, arg4 *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)

func (*RepositoryReleaseLister) ListReleasesArgsForCall

func (fake *RepositoryReleaseLister) ListReleasesArgsForCall(i int) (context.Context, string, string, *github.ListOptions)

func (*RepositoryReleaseLister) ListReleasesCallCount

func (fake *RepositoryReleaseLister) ListReleasesCallCount() int

func (*RepositoryReleaseLister) ListReleasesCalls

func (*RepositoryReleaseLister) ListReleasesReturns

func (fake *RepositoryReleaseLister) ListReleasesReturns(result1 []*github.RepositoryRelease, result2 *github.Response, result3 error)

func (*RepositoryReleaseLister) ListReleasesReturnsOnCall

func (fake *RepositoryReleaseLister) ListReleasesReturnsOnCall(i int, result1 []*github.RepositoryRelease, result2 *github.Response, result3 error)

Jump to

Keyboard shortcuts

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