Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) CreatePullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*githuba.PullRequest, error)
- func (fake *FakeClient) CreatePullRequestArgsForCall(i int) (context.Context, string, string, string, string, string, string)
- func (fake *FakeClient) CreatePullRequestCallCount() int
- func (fake *FakeClient) CreatePullRequestCalls(...)
- func (fake *FakeClient) CreatePullRequestReturns(result1 *githuba.PullRequest, result2 error)
- func (fake *FakeClient) CreatePullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 error)
- func (fake *FakeClient) DownloadReleaseAsset(arg1 context.Context, arg2 string, arg3 string, arg4 int64) (io.ReadCloser, string, error)
- func (fake *FakeClient) DownloadReleaseAssetArgsForCall(i int) (context.Context, string, string, int64)
- func (fake *FakeClient) DownloadReleaseAssetCallCount() int
- func (fake *FakeClient) DownloadReleaseAssetCalls(...)
- func (fake *FakeClient) DownloadReleaseAssetReturns(result1 io.ReadCloser, result2 string, result3 error)
- func (fake *FakeClient) DownloadReleaseAssetReturnsOnCall(i int, result1 io.ReadCloser, result2 string, result3 error)
- func (fake *FakeClient) GetCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Commit, *githuba.Response, error)
- func (fake *FakeClient) GetCommitArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeClient) GetCommitCallCount() int
- func (fake *FakeClient) GetCommitCalls(...)
- func (fake *FakeClient) GetCommitReturns(result1 *githuba.Commit, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetCommitReturnsOnCall(i int, result1 *githuba.Commit, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetPullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 int) (*githuba.PullRequest, *githuba.Response, error)
- func (fake *FakeClient) GetPullRequestArgsForCall(i int) (context.Context, string, string, int)
- func (fake *FakeClient) GetPullRequestCallCount() int
- func (fake *FakeClient) GetPullRequestCalls(...)
- func (fake *FakeClient) GetPullRequestReturns(result1 *githuba.PullRequest, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetPullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetReleaseByTag(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.RepositoryRelease, *githuba.Response, error)
- func (fake *FakeClient) GetReleaseByTagArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeClient) GetReleaseByTagCallCount() int
- func (fake *FakeClient) GetReleaseByTagCalls(...)
- func (fake *FakeClient) GetReleaseByTagReturns(result1 *githuba.RepositoryRelease, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetReleaseByTagReturnsOnCall(i int, result1 *githuba.RepositoryRelease, result2 *githuba.Response, ...)
- func (fake *FakeClient) GetRepoCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.RepositoryCommit, *githuba.Response, error)
- func (fake *FakeClient) GetRepoCommitArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeClient) GetRepoCommitCallCount() int
- func (fake *FakeClient) GetRepoCommitCalls(...)
- func (fake *FakeClient) GetRepoCommitReturns(result1 *githuba.RepositoryCommit, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetRepoCommitReturnsOnCall(i int, result1 *githuba.RepositoryCommit, result2 *githuba.Response, ...)
- func (fake *FakeClient) GetRepository(arg1 context.Context, arg2 string, arg3 string) (*githuba.Repository, *githuba.Response, error)
- func (fake *FakeClient) GetRepositoryArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeClient) GetRepositoryCallCount() int
- func (fake *FakeClient) GetRepositoryCalls(...)
- func (fake *FakeClient) GetRepositoryReturns(result1 *githuba.Repository, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) GetRepositoryReturnsOnCall(i int, result1 *githuba.Repository, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) ListBranches(arg1 context.Context, arg2 string, arg3 string, ...) ([]*githuba.Branch, *githuba.Response, error)
- func (fake *FakeClient) ListBranchesArgsForCall(i int) (context.Context, string, string, *githuba.BranchListOptions)
- func (fake *FakeClient) ListBranchesCallCount() int
- func (fake *FakeClient) ListBranchesCalls(...)
- func (fake *FakeClient) ListBranchesReturns(result1 []*githuba.Branch, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListBranchesReturnsOnCall(i int, result1 []*githuba.Branch, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListCommits(arg1 context.Context, arg2 string, arg3 string, ...) ([]*githuba.RepositoryCommit, *githuba.Response, error)
- func (fake *FakeClient) ListCommitsArgsForCall(i int) (context.Context, string, string, *githuba.CommitsListOptions)
- func (fake *FakeClient) ListCommitsCallCount() int
- func (fake *FakeClient) ListCommitsCalls(...)
- func (fake *FakeClient) ListCommitsReturns(result1 []*githuba.RepositoryCommit, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListCommitsReturnsOnCall(i int, result1 []*githuba.RepositoryCommit, result2 *githuba.Response, ...)
- func (fake *FakeClient) ListPullRequestsWithCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string, ...) ([]*githuba.PullRequest, *githuba.Response, error)
- func (fake *FakeClient) ListPullRequestsWithCommitArgsForCall(i int) (context.Context, string, string, string, *githuba.PullRequestListOptions)
- func (fake *FakeClient) ListPullRequestsWithCommitCallCount() int
- func (fake *FakeClient) ListPullRequestsWithCommitCalls(...)
- func (fake *FakeClient) ListPullRequestsWithCommitReturns(result1 []*githuba.PullRequest, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListPullRequestsWithCommitReturnsOnCall(i int, result1 []*githuba.PullRequest, result2 *githuba.Response, ...)
- func (fake *FakeClient) ListReleases(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.ListOptions) ([]*githuba.RepositoryRelease, *githuba.Response, error)
- func (fake *FakeClient) ListReleasesArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)
- func (fake *FakeClient) ListReleasesCallCount() int
- func (fake *FakeClient) ListReleasesCalls(...)
- func (fake *FakeClient) ListReleasesReturns(result1 []*githuba.RepositoryRelease, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListReleasesReturnsOnCall(i int, result1 []*githuba.RepositoryRelease, result2 *githuba.Response, ...)
- func (fake *FakeClient) ListTags(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.ListOptions) ([]*githuba.RepositoryTag, *githuba.Response, error)
- func (fake *FakeClient) ListTagsArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)
- func (fake *FakeClient) ListTagsCallCount() int
- func (fake *FakeClient) ListTagsCalls(...)
- func (fake *FakeClient) ListTagsReturns(result1 []*githuba.RepositoryTag, result2 *githuba.Response, result3 error)
- func (fake *FakeClient) ListTagsReturnsOnCall(i int, result1 []*githuba.RepositoryTag, result2 *githuba.Response, ...)
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 (*FakeClient) CreatePullRequestArgsForCall ¶ added in v0.3.3
func (*FakeClient) CreatePullRequestCallCount ¶ added in v0.3.3
func (fake *FakeClient) CreatePullRequestCallCount() int
func (*FakeClient) CreatePullRequestCalls ¶ added in v0.3.3
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 (*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) GetCommitArgsForCall ¶ added in v0.2.7
func (*FakeClient) GetCommitCallCount ¶ added in v0.2.7
func (fake *FakeClient) GetCommitCallCount() int
func (*FakeClient) GetCommitCalls ¶ added in v0.2.7
func (*FakeClient) GetCommitReturns ¶ added in v0.2.7
func (*FakeClient) GetCommitReturnsOnCall ¶ added in v0.2.7
func (*FakeClient) GetPullRequest ¶ added in v0.2.7
func (*FakeClient) GetPullRequestArgsForCall ¶ added in v0.2.7
func (*FakeClient) GetPullRequestCallCount ¶ added in v0.2.7
func (fake *FakeClient) GetPullRequestCallCount() int
func (*FakeClient) GetPullRequestCalls ¶ added in v0.2.7
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 (*FakeClient) GetReleaseByTagArgsForCall ¶ added in v0.3.3
func (*FakeClient) GetReleaseByTagCallCount ¶ added in v0.3.3
func (fake *FakeClient) GetReleaseByTagCallCount() int
func (*FakeClient) GetReleaseByTagCalls ¶ added in v0.3.3
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 (*FakeClient) GetRepoCommitArgsForCall ¶ added in v0.2.7
func (*FakeClient) GetRepoCommitCallCount ¶ added in v0.2.7
func (fake *FakeClient) GetRepoCommitCallCount() int
func (*FakeClient) GetRepoCommitCalls ¶ added in v0.2.7
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 (*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 (*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 (*FakeClient) ListBranchesReturns ¶ added in v0.3.3
func (*FakeClient) ListBranchesReturnsOnCall ¶ added in v0.3.3
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 (fake *FakeClient) ListCommitsCalls(stub func(context.Context, string, string, *githuba.CommitsListOptions) ([]*githuba.RepositoryCommit, *githuba.Response, error))
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)
Click to show internal directories.
Click to hide internal directories.