Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- 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) 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) Invocations() map[string][][]interface{}
- 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 { GetCommitStub func(context.Context, string, string, string) (*githuba.Commit, *githuba.Response, error) GetPullRequestStub func(context.Context, string, string, int) (*githuba.PullRequest, *githuba.Response, error) GetRepoCommitStub func(context.Context, string, string, string) (*githuba.RepositoryCommit, *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) 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) 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) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
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.