githubfakes

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT 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 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 (fake *FakeIGithub) CreateBranch(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) (*githuba.Reference, error)

func (*FakeIGithub) CreateBranchArgsForCall

func (fake *FakeIGithub) CreateBranchArgsForCall(i int) (context.Context, string, string, string, string, string)

func (*FakeIGithub) CreateBranchCallCount

func (fake *FakeIGithub) CreateBranchCallCount() int

func (*FakeIGithub) CreateBranchCalls

func (fake *FakeIGithub) CreateBranchCalls(stub func(context.Context, string, string, string, string, string) (*githuba.Reference, error))

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 (fake *FakeIGithub) CreateCommit(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string, arg7 *githuba.Commit) (*githuba.Commit, error)

func (*FakeIGithub) CreateCommitArgsForCall

func (fake *FakeIGithub) CreateCommitArgsForCall(i int) (context.Context, string, string, string, string, string, *githuba.Commit)

func (*FakeIGithub) CreateCommitCallCount

func (fake *FakeIGithub) CreateCommitCallCount() int

func (*FakeIGithub) CreateCommitCalls

func (fake *FakeIGithub) CreateCommitCalls(stub func(context.Context, string, string, string, string, string, *githuba.Commit) (*githuba.Commit, error))

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 (fake *FakeIGithub) CreateTree(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, arg6 []*githuba.TreeEntry) (*githuba.Tree, error)

func (*FakeIGithub) CreateTreeArgsForCall

func (fake *FakeIGithub) CreateTreeArgsForCall(i int) (context.Context, string, string, string, string, []*githuba.TreeEntry)

func (*FakeIGithub) CreateTreeCallCount

func (fake *FakeIGithub) CreateTreeCallCount() int

func (*FakeIGithub) CreateTreeCalls

func (fake *FakeIGithub) CreateTreeCalls(stub func(context.Context, string, string, string, string, []*githuba.TreeEntry) (*githuba.Tree, error))

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 (fake *FakeIGithub) GetRepoArchive(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]byte, error)

func (*FakeIGithub) GetRepoArchiveArgsForCall

func (fake *FakeIGithub) GetRepoArchiveArgsForCall(i int) (context.Context, string, string, string)

func (*FakeIGithub) GetRepoArchiveCallCount

func (fake *FakeIGithub) GetRepoArchiveCallCount() int

func (*FakeIGithub) GetRepoArchiveCalls

func (fake *FakeIGithub) GetRepoArchiveCalls(stub func(context.Context, string, string, string) ([]byte, error))

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 (fake *FakeIGithub) GetRepoFile(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)

func (*FakeIGithub) GetRepoFileArgsForCall

func (fake *FakeIGithub) GetRepoFileArgsForCall(i int) (context.Context, string, string, string, string)

func (*FakeIGithub) GetRepoFileCallCount

func (fake *FakeIGithub) GetRepoFileCallCount() int

func (*FakeIGithub) GetRepoFileCalls

func (fake *FakeIGithub) GetRepoFileCalls(stub func(context.Context, string, string, string, string) ([]byte, error))

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 (fake *FakeIGithub) GetRepoList(arg1 context.Context, arg2 int64, arg3 string) ([]string, error)

func (*FakeIGithub) GetRepoListArgsForCall

func (fake *FakeIGithub) GetRepoListArgsForCall(i int) (context.Context, int64, string)

func (*FakeIGithub) GetRepoListCallCount

func (fake *FakeIGithub) GetRepoListCallCount() int

func (*FakeIGithub) GetRepoListCalls

func (fake *FakeIGithub) GetRepoListCalls(stub func(context.Context, int64, string) ([]string, error))

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 (fake *FakeIGithub) GetRepoTree(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Tree, error)

func (*FakeIGithub) GetRepoTreeArgsForCall

func (fake *FakeIGithub) GetRepoTreeArgsForCall(i int) (context.Context, string, string, string)

func (*FakeIGithub) GetRepoTreeCallCount

func (fake *FakeIGithub) GetRepoTreeCallCount() int

func (*FakeIGithub) GetRepoTreeCalls

func (fake *FakeIGithub) GetRepoTreeCalls(stub func(context.Context, string, string, string) (*githuba.Tree, error))

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) Post

func (fake *FakeIGithub) Post(arg1 string, arg2 url.Values) ([]byte, int, error)

func (*FakeIGithub) PostArgsForCall

func (fake *FakeIGithub) PostArgsForCall(i int) (string, url.Values)

func (*FakeIGithub) PostCallCount

func (fake *FakeIGithub) PostCallCount() int

func (*FakeIGithub) PostCalls

func (fake *FakeIGithub) PostCalls(stub func(string, url.Values) ([]byte, int, error))

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 (fake *FakeIGithub) UpdateBranch(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) (*githuba.Reference, error)

func (*FakeIGithub) UpdateBranchArgsForCall

func (fake *FakeIGithub) UpdateBranchArgsForCall(i int) (context.Context, string, string, string, string, string)

func (*FakeIGithub) UpdateBranchCallCount

func (fake *FakeIGithub) UpdateBranchCallCount() int

func (*FakeIGithub) UpdateBranchCalls

func (fake *FakeIGithub) UpdateBranchCalls(stub func(context.Context, string, string, string, string, string) (*githuba.Reference, error))

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)

Jump to

Keyboard shortcuts

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