Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIGithub
- func (fake *FakeIGithub) CreateBranch(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*githuba.Reference, error)
- func (fake *FakeIGithub) CreateBranchArgsForCall(i int) (context.Context, string, string, string, string, string)
- func (fake *FakeIGithub) CreateBranchCallCount() int
- func (fake *FakeIGithub) CreateBranchCalls(...)
- func (fake *FakeIGithub) CreateBranchReturns(result1 *githuba.Reference, result2 error)
- func (fake *FakeIGithub) CreateBranchReturnsOnCall(i int, result1 *githuba.Reference, result2 error)
- func (fake *FakeIGithub) CreateCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*githuba.Commit, error)
- func (fake *FakeIGithub) CreateCommitArgsForCall(i int) (context.Context, string, string, string, string, string, *githuba.Commit)
- func (fake *FakeIGithub) CreateCommitCallCount() int
- func (fake *FakeIGithub) CreateCommitCalls(...)
- func (fake *FakeIGithub) CreateCommitReturns(result1 *githuba.Commit, result2 error)
- func (fake *FakeIGithub) CreateCommitReturnsOnCall(i int, result1 *githuba.Commit, result2 error)
- func (fake *FakeIGithub) CreatePullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 string, ...) (*githuba.PullRequest, error)
- func (fake *FakeIGithub) CreatePullRequestArgsForCall(i int) (context.Context, string, string, string, *github.PullRequestOpts)
- func (fake *FakeIGithub) CreatePullRequestCallCount() int
- func (fake *FakeIGithub) CreatePullRequestCalls(...)
- func (fake *FakeIGithub) CreatePullRequestReturns(result1 *githuba.PullRequest, result2 error)
- func (fake *FakeIGithub) CreatePullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 error)
- func (fake *FakeIGithub) CreateTree(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*githuba.Tree, error)
- func (fake *FakeIGithub) CreateTreeArgsForCall(i int) (context.Context, string, string, string, string, []*githuba.TreeEntry)
- func (fake *FakeIGithub) CreateTreeCallCount() int
- func (fake *FakeIGithub) CreateTreeCalls(...)
- func (fake *FakeIGithub) CreateTreeReturns(result1 *githuba.Tree, result2 error)
- func (fake *FakeIGithub) CreateTreeReturnsOnCall(i int, result1 *githuba.Tree, result2 error)
- func (fake *FakeIGithub) GetRepoArchive(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]byte, error)
- func (fake *FakeIGithub) GetRepoArchiveArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeIGithub) GetRepoArchiveCallCount() int
- func (fake *FakeIGithub) GetRepoArchiveCalls(stub func(context.Context, string, string, string) ([]byte, error))
- func (fake *FakeIGithub) GetRepoArchiveReturns(result1 []byte, result2 error)
- func (fake *FakeIGithub) GetRepoArchiveReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeIGithub) GetRepoFile(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)
- func (fake *FakeIGithub) GetRepoFileArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *FakeIGithub) GetRepoFileCallCount() int
- func (fake *FakeIGithub) GetRepoFileCalls(stub func(context.Context, string, string, string, string) ([]byte, error))
- func (fake *FakeIGithub) GetRepoFileReturns(result1 []byte, result2 error)
- func (fake *FakeIGithub) GetRepoFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeIGithub) GetRepoList(arg1 context.Context, arg2 int64, arg3 string) ([]string, error)
- func (fake *FakeIGithub) GetRepoListArgsForCall(i int) (context.Context, int64, string)
- func (fake *FakeIGithub) GetRepoListCallCount() int
- func (fake *FakeIGithub) GetRepoListCalls(stub func(context.Context, int64, string) ([]string, error))
- func (fake *FakeIGithub) GetRepoListReturns(result1 []string, result2 error)
- func (fake *FakeIGithub) GetRepoListReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeIGithub) GetRepoTree(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Tree, error)
- func (fake *FakeIGithub) GetRepoTreeArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeIGithub) GetRepoTreeCallCount() int
- func (fake *FakeIGithub) GetRepoTreeCalls(stub func(context.Context, string, string, string) (*githuba.Tree, error))
- func (fake *FakeIGithub) GetRepoTreeReturns(result1 *githuba.Tree, result2 error)
- func (fake *FakeIGithub) GetRepoTreeReturnsOnCall(i int, result1 *githuba.Tree, result2 error)
- func (fake *FakeIGithub) Invocations() map[string][][]interface{}
- func (fake *FakeIGithub) Post(arg1 string, arg2 url.Values) ([]byte, int, error)
- func (fake *FakeIGithub) PostArgsForCall(i int) (string, url.Values)
- func (fake *FakeIGithub) PostCallCount() int
- func (fake *FakeIGithub) PostCalls(stub func(string, url.Values) ([]byte, int, error))
- func (fake *FakeIGithub) PostReturns(result1 []byte, result2 int, result3 error)
- func (fake *FakeIGithub) PostReturnsOnCall(i int, result1 []byte, result2 int, result3 error)
- func (fake *FakeIGithub) UpdateBranch(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*githuba.Reference, error)
- func (fake *FakeIGithub) UpdateBranchArgsForCall(i int) (context.Context, string, string, string, string, string)
- func (fake *FakeIGithub) UpdateBranchCallCount() int
- func (fake *FakeIGithub) UpdateBranchCalls(...)
- func (fake *FakeIGithub) UpdateBranchReturns(result1 *githuba.Reference, result2 error)
- func (fake *FakeIGithub) UpdateBranchReturnsOnCall(i int, result1 *githuba.Reference, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIGithub ¶
type FakeIGithub struct { CreateBranchStub func(context.Context, string, string, string, string, string) (*githuba.Reference, error) CreateCommitStub func(context.Context, string, string, string, string, string, *githuba.Commit) (*githuba.Commit, error) CreatePullRequestStub func(context.Context, string, string, string, *github.PullRequestOpts) (*githuba.PullRequest, error) CreateTreeStub func(context.Context, string, string, string, string, []*githuba.TreeEntry) (*githuba.Tree, error) GetRepoArchiveStub func(context.Context, string, string, string) ([]byte, error) GetRepoFileStub func(context.Context, string, string, string, string) ([]byte, error) GetRepoListStub func(context.Context, int64, string) ([]string, error) GetRepoTreeStub func(context.Context, string, string, string) (*githuba.Tree, error) PostStub func(string, url.Values) ([]byte, int, error) UpdateBranchStub func(context.Context, string, string, string, string, string) (*githuba.Reference, error) // contains filtered or unexported fields }
func (*FakeIGithub) CreateBranch ¶
func (*FakeIGithub) CreateBranchArgsForCall ¶
func (*FakeIGithub) CreateBranchCallCount ¶
func (fake *FakeIGithub) CreateBranchCallCount() int
func (*FakeIGithub) CreateBranchCalls ¶
func (*FakeIGithub) CreateBranchReturns ¶
func (fake *FakeIGithub) CreateBranchReturns(result1 *githuba.Reference, result2 error)
func (*FakeIGithub) CreateBranchReturnsOnCall ¶
func (fake *FakeIGithub) CreateBranchReturnsOnCall(i int, result1 *githuba.Reference, result2 error)
func (*FakeIGithub) CreateCommit ¶
func (*FakeIGithub) CreateCommitArgsForCall ¶
func (*FakeIGithub) CreateCommitCallCount ¶
func (fake *FakeIGithub) CreateCommitCallCount() int
func (*FakeIGithub) CreateCommitCalls ¶
func (*FakeIGithub) CreateCommitReturns ¶
func (fake *FakeIGithub) CreateCommitReturns(result1 *githuba.Commit, result2 error)
func (*FakeIGithub) CreateCommitReturnsOnCall ¶
func (fake *FakeIGithub) CreateCommitReturnsOnCall(i int, result1 *githuba.Commit, result2 error)
func (*FakeIGithub) CreatePullRequest ¶
func (fake *FakeIGithub) CreatePullRequest(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 *github.PullRequestOpts) (*githuba.PullRequest, error)
func (*FakeIGithub) CreatePullRequestArgsForCall ¶
func (fake *FakeIGithub) CreatePullRequestArgsForCall(i int) (context.Context, string, string, string, *github.PullRequestOpts)
func (*FakeIGithub) CreatePullRequestCallCount ¶
func (fake *FakeIGithub) CreatePullRequestCallCount() int
func (*FakeIGithub) CreatePullRequestCalls ¶
func (fake *FakeIGithub) CreatePullRequestCalls(stub func(context.Context, string, string, string, *github.PullRequestOpts) (*githuba.PullRequest, error))
func (*FakeIGithub) CreatePullRequestReturns ¶
func (fake *FakeIGithub) CreatePullRequestReturns(result1 *githuba.PullRequest, result2 error)
func (*FakeIGithub) CreatePullRequestReturnsOnCall ¶
func (fake *FakeIGithub) CreatePullRequestReturnsOnCall(i int, result1 *githuba.PullRequest, result2 error)
func (*FakeIGithub) CreateTree ¶
func (*FakeIGithub) CreateTreeArgsForCall ¶
func (*FakeIGithub) CreateTreeCallCount ¶
func (fake *FakeIGithub) CreateTreeCallCount() int
func (*FakeIGithub) CreateTreeCalls ¶
func (*FakeIGithub) CreateTreeReturns ¶
func (fake *FakeIGithub) CreateTreeReturns(result1 *githuba.Tree, result2 error)
func (*FakeIGithub) CreateTreeReturnsOnCall ¶
func (fake *FakeIGithub) CreateTreeReturnsOnCall(i int, result1 *githuba.Tree, result2 error)
func (*FakeIGithub) GetRepoArchive ¶
func (*FakeIGithub) GetRepoArchiveArgsForCall ¶
func (*FakeIGithub) GetRepoArchiveCallCount ¶
func (fake *FakeIGithub) GetRepoArchiveCallCount() int
func (*FakeIGithub) GetRepoArchiveCalls ¶
func (*FakeIGithub) GetRepoArchiveReturns ¶
func (fake *FakeIGithub) GetRepoArchiveReturns(result1 []byte, result2 error)
func (*FakeIGithub) GetRepoArchiveReturnsOnCall ¶
func (fake *FakeIGithub) GetRepoArchiveReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeIGithub) GetRepoFile ¶
func (*FakeIGithub) GetRepoFileArgsForCall ¶
func (*FakeIGithub) GetRepoFileCallCount ¶
func (fake *FakeIGithub) GetRepoFileCallCount() int
func (*FakeIGithub) GetRepoFileCalls ¶
func (*FakeIGithub) GetRepoFileReturns ¶
func (fake *FakeIGithub) GetRepoFileReturns(result1 []byte, result2 error)
func (*FakeIGithub) GetRepoFileReturnsOnCall ¶
func (fake *FakeIGithub) GetRepoFileReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeIGithub) GetRepoList ¶
func (*FakeIGithub) GetRepoListArgsForCall ¶
func (*FakeIGithub) GetRepoListCallCount ¶
func (fake *FakeIGithub) GetRepoListCallCount() int
func (*FakeIGithub) GetRepoListCalls ¶
func (*FakeIGithub) GetRepoListReturns ¶
func (fake *FakeIGithub) GetRepoListReturns(result1 []string, result2 error)
func (*FakeIGithub) GetRepoListReturnsOnCall ¶
func (fake *FakeIGithub) GetRepoListReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeIGithub) GetRepoTree ¶
func (*FakeIGithub) GetRepoTreeArgsForCall ¶
func (*FakeIGithub) GetRepoTreeCallCount ¶
func (fake *FakeIGithub) GetRepoTreeCallCount() int
func (*FakeIGithub) GetRepoTreeCalls ¶
func (*FakeIGithub) GetRepoTreeReturns ¶
func (fake *FakeIGithub) GetRepoTreeReturns(result1 *githuba.Tree, result2 error)
func (*FakeIGithub) GetRepoTreeReturnsOnCall ¶
func (fake *FakeIGithub) GetRepoTreeReturnsOnCall(i int, result1 *githuba.Tree, result2 error)
func (*FakeIGithub) Invocations ¶
func (fake *FakeIGithub) Invocations() map[string][][]interface{}
func (*FakeIGithub) PostArgsForCall ¶
func (fake *FakeIGithub) PostArgsForCall(i int) (string, url.Values)
func (*FakeIGithub) PostCallCount ¶
func (fake *FakeIGithub) PostCallCount() int
func (*FakeIGithub) PostReturns ¶
func (fake *FakeIGithub) PostReturns(result1 []byte, result2 int, result3 error)
func (*FakeIGithub) PostReturnsOnCall ¶
func (fake *FakeIGithub) PostReturnsOnCall(i int, result1 []byte, result2 int, result3 error)
func (*FakeIGithub) UpdateBranch ¶
func (*FakeIGithub) UpdateBranchArgsForCall ¶
func (*FakeIGithub) UpdateBranchCallCount ¶
func (fake *FakeIGithub) UpdateBranchCallCount() int
func (*FakeIGithub) UpdateBranchCalls ¶
func (*FakeIGithub) UpdateBranchReturns ¶
func (fake *FakeIGithub) UpdateBranchReturns(result1 *githuba.Reference, result2 error)
func (*FakeIGithub) UpdateBranchReturnsOnCall ¶
func (fake *FakeIGithub) UpdateBranchReturnsOnCall(i int, result1 *githuba.Reference, result2 error)
Click to show internal directories.
Click to hide internal directories.