githubfakes

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 FakeClient

type FakeClient struct {
	CreatePullRequestStub func(context.Context, string, string, string, string, string, string) (*githuba.PullRequest, error)

	DownloadReleaseAssetStub func(context.Context, string, string, int64) (io.ReadCloser, string, error)

	GetCommitStub func(context.Context, string, string, string) (*githuba.Commit, *githuba.Response, error)

	GetPullRequestStub func(context.Context, string, string, int) (*githuba.PullRequest, *githuba.Response, error)

	GetReleaseByTagStub func(context.Context, string, string, string) (*githuba.RepositoryRelease, *githuba.Response, error)

	GetRepoCommitStub func(context.Context, string, string, string) (*githuba.RepositoryCommit, *githuba.Response, error)

	GetRepositoryStub func(context.Context, string, string) (*githuba.Repository, *githuba.Response, error)

	ListBranchesStub func(context.Context, string, string, *githuba.BranchListOptions) ([]*githuba.Branch, *githuba.Response, error)

	ListCommitsStub func(context.Context, string, string, *githuba.CommitsListOptions) ([]*githuba.RepositoryCommit, *githuba.Response, error)

	ListPullRequestsWithCommitStub func(context.Context, string, string, string, *githuba.PullRequestListOptions) ([]*githuba.PullRequest, *githuba.Response, error)

	ListReleasesStub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.RepositoryRelease, *githuba.Response, error)

	ListTagsStub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.RepositoryTag, *githuba.Response, error)
	// contains filtered or unexported fields
}

func (*FakeClient) CreatePullRequest added in v0.3.1

func (fake *FakeClient) CreatePullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 string) (*githuba.PullRequest, error)

func (*FakeClient) CreatePullRequestArgsForCall added in v0.3.3

func (fake *FakeClient) CreatePullRequestArgsForCall(i int) (context.Context, string, string, string, string, string, string)

func (*FakeClient) CreatePullRequestCallCount added in v0.3.3

func (fake *FakeClient) CreatePullRequestCallCount() int

func (*FakeClient) CreatePullRequestCalls added in v0.3.3

func (fake *FakeClient) CreatePullRequestCalls(stub func(context.Context, string, string, string, string, string, string) (*githuba.PullRequest, error))

func (*FakeClient) CreatePullRequestReturns added in v0.3.1

func (fake *FakeClient) CreatePullRequestReturns(result1 *githuba.PullRequest, result2 error)

func (*FakeClient) CreatePullRequestReturnsOnCall added in v0.3.3

func (fake *FakeClient) CreatePullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 error)

func (*FakeClient) DownloadReleaseAsset added in v0.3.3

func (fake *FakeClient) DownloadReleaseAsset(arg1 context.Context, arg2 string, arg3 string, arg4 int64) (io.ReadCloser, string, error)

func (*FakeClient) DownloadReleaseAssetArgsForCall added in v0.3.3

func (fake *FakeClient) DownloadReleaseAssetArgsForCall(i int) (context.Context, string, string, int64)

func (*FakeClient) DownloadReleaseAssetCallCount added in v0.3.3

func (fake *FakeClient) DownloadReleaseAssetCallCount() int

func (*FakeClient) DownloadReleaseAssetCalls added in v0.3.3

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

func (*FakeClient) DownloadReleaseAssetReturns added in v0.3.3

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

func (*FakeClient) DownloadReleaseAssetReturnsOnCall added in v0.3.3

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

func (*FakeClient) GetCommit added in v0.2.7

func (fake *FakeClient) GetCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Commit, *githuba.Response, error)

func (*FakeClient) GetCommitArgsForCall added in v0.2.7

func (fake *FakeClient) GetCommitArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClient) GetCommitCallCount added in v0.2.7

func (fake *FakeClient) GetCommitCallCount() int

func (*FakeClient) GetCommitCalls added in v0.2.7

func (fake *FakeClient) GetCommitCalls(stub func(context.Context, string, string, string) (*githuba.Commit, *githuba.Response, error))

func (*FakeClient) GetCommitReturns added in v0.2.7

func (fake *FakeClient) GetCommitReturns(result1 *githuba.Commit, result2 *githuba.Response, result3 error)

func (*FakeClient) GetCommitReturnsOnCall added in v0.2.7

func (fake *FakeClient) GetCommitReturnsOnCall(i int, result1 *githuba.Commit, result2 *githuba.Response, result3 error)

func (*FakeClient) GetPullRequest added in v0.2.7

func (fake *FakeClient) GetPullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 int) (*githuba.PullRequest, *githuba.Response, error)

func (*FakeClient) GetPullRequestArgsForCall added in v0.2.7

func (fake *FakeClient) GetPullRequestArgsForCall(i int) (context.Context, string, string, int)

func (*FakeClient) GetPullRequestCallCount added in v0.2.7

func (fake *FakeClient) GetPullRequestCallCount() int

func (*FakeClient) GetPullRequestCalls added in v0.2.7

func (fake *FakeClient) GetPullRequestCalls(stub func(context.Context, string, string, int) (*githuba.PullRequest, *githuba.Response, error))

func (*FakeClient) GetPullRequestReturns added in v0.2.7

func (fake *FakeClient) GetPullRequestReturns(result1 *githuba.PullRequest, result2 *githuba.Response, result3 error)

func (*FakeClient) GetPullRequestReturnsOnCall added in v0.2.7

func (fake *FakeClient) GetPullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 *githuba.Response, result3 error)

func (*FakeClient) GetReleaseByTag added in v0.3.3

func (fake *FakeClient) GetReleaseByTag(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.RepositoryRelease, *githuba.Response, error)

func (*FakeClient) GetReleaseByTagArgsForCall added in v0.3.3

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

func (*FakeClient) GetReleaseByTagCallCount added in v0.3.3

func (fake *FakeClient) GetReleaseByTagCallCount() int

func (*FakeClient) GetReleaseByTagCalls added in v0.3.3

func (fake *FakeClient) GetReleaseByTagCalls(stub func(context.Context, string, string, string) (*githuba.RepositoryRelease, *githuba.Response, error))

func (*FakeClient) GetReleaseByTagReturns added in v0.3.3

func (fake *FakeClient) GetReleaseByTagReturns(result1 *githuba.RepositoryRelease, result2 *githuba.Response, result3 error)

func (*FakeClient) GetReleaseByTagReturnsOnCall added in v0.3.3

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

func (*FakeClient) GetRepoCommit added in v0.2.7

func (fake *FakeClient) GetRepoCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.RepositoryCommit, *githuba.Response, error)

func (*FakeClient) GetRepoCommitArgsForCall added in v0.2.7

func (fake *FakeClient) GetRepoCommitArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClient) GetRepoCommitCallCount added in v0.2.7

func (fake *FakeClient) GetRepoCommitCallCount() int

func (*FakeClient) GetRepoCommitCalls added in v0.2.7

func (fake *FakeClient) GetRepoCommitCalls(stub func(context.Context, string, string, string) (*githuba.RepositoryCommit, *githuba.Response, error))

func (*FakeClient) GetRepoCommitReturns added in v0.2.7

func (fake *FakeClient) GetRepoCommitReturns(result1 *githuba.RepositoryCommit, result2 *githuba.Response, result3 error)

func (*FakeClient) GetRepoCommitReturnsOnCall added in v0.2.7

func (fake *FakeClient) GetRepoCommitReturnsOnCall(i int, result1 *githuba.RepositoryCommit, result2 *githuba.Response, result3 error)

func (*FakeClient) GetRepository added in v0.3.2

func (fake *FakeClient) GetRepository(arg1 context.Context, arg2 string, arg3 string) (*githuba.Repository, *githuba.Response, error)

func (*FakeClient) GetRepositoryArgsForCall added in v0.3.3

func (fake *FakeClient) GetRepositoryArgsForCall(i int) (context.Context, string, string)

func (*FakeClient) GetRepositoryCallCount added in v0.3.3

func (fake *FakeClient) GetRepositoryCallCount() int

func (*FakeClient) GetRepositoryCalls added in v0.3.3

func (fake *FakeClient) GetRepositoryCalls(stub func(context.Context, string, string) (*githuba.Repository, *githuba.Response, error))

func (*FakeClient) GetRepositoryReturns added in v0.3.3

func (fake *FakeClient) GetRepositoryReturns(result1 *githuba.Repository, result2 *githuba.Response, result3 error)

func (*FakeClient) GetRepositoryReturnsOnCall added in v0.3.3

func (fake *FakeClient) GetRepositoryReturnsOnCall(i int, result1 *githuba.Repository, result2 *githuba.Response, result3 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

func (*FakeClient) ListBranches added in v0.3.3

func (fake *FakeClient) ListBranches(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.BranchListOptions) ([]*githuba.Branch, *githuba.Response, error)

func (*FakeClient) ListBranchesArgsForCall added in v0.3.3

func (fake *FakeClient) ListBranchesArgsForCall(i int) (context.Context, string, string, *githuba.BranchListOptions)

func (*FakeClient) ListBranchesCallCount added in v0.3.3

func (fake *FakeClient) ListBranchesCallCount() int

func (*FakeClient) ListBranchesCalls added in v0.3.3

func (fake *FakeClient) ListBranchesCalls(stub func(context.Context, string, string, *githuba.BranchListOptions) ([]*githuba.Branch, *githuba.Response, error))

func (*FakeClient) ListBranchesReturns added in v0.3.3

func (fake *FakeClient) ListBranchesReturns(result1 []*githuba.Branch, result2 *githuba.Response, result3 error)

func (*FakeClient) ListBranchesReturnsOnCall added in v0.3.3

func (fake *FakeClient) ListBranchesReturnsOnCall(i int, result1 []*githuba.Branch, result2 *githuba.Response, result3 error)

func (*FakeClient) ListCommits added in v0.2.7

func (fake *FakeClient) ListCommits(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.CommitsListOptions) ([]*githuba.RepositoryCommit, *githuba.Response, error)

func (*FakeClient) ListCommitsArgsForCall added in v0.2.7

func (fake *FakeClient) ListCommitsArgsForCall(i int) (context.Context, string, string, *githuba.CommitsListOptions)

func (*FakeClient) ListCommitsCallCount added in v0.2.7

func (fake *FakeClient) ListCommitsCallCount() int

func (*FakeClient) ListCommitsCalls added in v0.2.7

func (*FakeClient) ListCommitsReturns added in v0.2.7

func (fake *FakeClient) ListCommitsReturns(result1 []*githuba.RepositoryCommit, result2 *githuba.Response, result3 error)

func (*FakeClient) ListCommitsReturnsOnCall added in v0.2.7

func (fake *FakeClient) ListCommitsReturnsOnCall(i int, result1 []*githuba.RepositoryCommit, result2 *githuba.Response, result3 error)

func (*FakeClient) ListPullRequestsWithCommit added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 *githuba.PullRequestListOptions) ([]*githuba.PullRequest, *githuba.Response, error)

func (*FakeClient) ListPullRequestsWithCommitArgsForCall added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommitArgsForCall(i int) (context.Context, string, string, string, *githuba.PullRequestListOptions)

func (*FakeClient) ListPullRequestsWithCommitCallCount added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommitCallCount() int

func (*FakeClient) ListPullRequestsWithCommitCalls added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommitCalls(stub func(context.Context, string, string, string, *githuba.PullRequestListOptions) ([]*githuba.PullRequest, *githuba.Response, error))

func (*FakeClient) ListPullRequestsWithCommitReturns added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommitReturns(result1 []*githuba.PullRequest, result2 *githuba.Response, result3 error)

func (*FakeClient) ListPullRequestsWithCommitReturnsOnCall added in v0.2.7

func (fake *FakeClient) ListPullRequestsWithCommitReturnsOnCall(i int, result1 []*githuba.PullRequest, result2 *githuba.Response, result3 error)

func (*FakeClient) ListReleases

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

func (*FakeClient) ListReleasesArgsForCall

func (fake *FakeClient) ListReleasesArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)

func (*FakeClient) ListReleasesCallCount

func (fake *FakeClient) ListReleasesCallCount() int

func (*FakeClient) ListReleasesCalls

func (fake *FakeClient) ListReleasesCalls(stub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.RepositoryRelease, *githuba.Response, error))

func (*FakeClient) ListReleasesReturns

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

func (*FakeClient) ListReleasesReturnsOnCall

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

func (*FakeClient) ListTags

func (fake *FakeClient) ListTags(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.ListOptions) ([]*githuba.RepositoryTag, *githuba.Response, error)

func (*FakeClient) ListTagsArgsForCall

func (fake *FakeClient) ListTagsArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)

func (*FakeClient) ListTagsCallCount

func (fake *FakeClient) ListTagsCallCount() int

func (*FakeClient) ListTagsCalls

func (fake *FakeClient) ListTagsCalls(stub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.RepositoryTag, *githuba.Response, error))

func (*FakeClient) ListTagsReturns

func (fake *FakeClient) ListTagsReturns(result1 []*githuba.RepositoryTag, result2 *githuba.Response, result3 error)

func (*FakeClient) ListTagsReturnsOnCall

func (fake *FakeClient) ListTagsReturnsOnCall(i int, result1 []*githuba.RepositoryTag, result2 *githuba.Response, result3 error)

Jump to

Keyboard shortcuts

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