Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGitProvider
- func (fake *FakeGitProvider) CreatePullRequest(arg1 context.Context, arg2 gitproviders.RepoURL, ...) (gitprovider.PullRequest, error)
- func (fake *FakeGitProvider) CreatePullRequestArgsForCall(i int) (context.Context, gitproviders.RepoURL, gitproviders.PullRequestInfo)
- func (fake *FakeGitProvider) CreatePullRequestCallCount() int
- func (fake *FakeGitProvider) CreatePullRequestCalls(...)
- func (fake *FakeGitProvider) CreatePullRequestReturns(result1 gitprovider.PullRequest, result2 error)
- func (fake *FakeGitProvider) CreatePullRequestReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
- func (fake *FakeGitProvider) DeployKeyExists(arg1 context.Context, arg2 gitproviders.RepoURL) (bool, error)
- func (fake *FakeGitProvider) DeployKeyExistsArgsForCall(i int) (context.Context, gitproviders.RepoURL)
- func (fake *FakeGitProvider) DeployKeyExistsCallCount() int
- func (fake *FakeGitProvider) DeployKeyExistsCalls(stub func(context.Context, gitproviders.RepoURL) (bool, error))
- func (fake *FakeGitProvider) DeployKeyExistsReturns(result1 bool, result2 error)
- func (fake *FakeGitProvider) DeployKeyExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeGitProvider) GetCommits(arg1 context.Context, arg2 gitproviders.RepoURL, arg3 string, arg4 int, ...) ([]gitprovider.Commit, error)
- func (fake *FakeGitProvider) GetCommitsArgsForCall(i int) (context.Context, gitproviders.RepoURL, string, int, int)
- func (fake *FakeGitProvider) GetCommitsCallCount() int
- func (fake *FakeGitProvider) GetCommitsCalls(...)
- func (fake *FakeGitProvider) GetCommitsReturns(result1 []gitprovider.Commit, result2 error)
- func (fake *FakeGitProvider) GetCommitsReturnsOnCall(i int, result1 []gitprovider.Commit, result2 error)
- func (fake *FakeGitProvider) GetDefaultBranch(arg1 context.Context, arg2 gitproviders.RepoURL) (string, error)
- func (fake *FakeGitProvider) GetDefaultBranchArgsForCall(i int) (context.Context, gitproviders.RepoURL)
- func (fake *FakeGitProvider) GetDefaultBranchCallCount() int
- func (fake *FakeGitProvider) GetDefaultBranchCalls(stub func(context.Context, gitproviders.RepoURL) (string, error))
- func (fake *FakeGitProvider) GetDefaultBranchReturns(result1 string, result2 error)
- func (fake *FakeGitProvider) GetDefaultBranchReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGitProvider) GetProviderDomain() string
- func (fake *FakeGitProvider) GetProviderDomainCallCount() int
- func (fake *FakeGitProvider) GetProviderDomainCalls(stub func() string)
- func (fake *FakeGitProvider) GetProviderDomainReturns(result1 string)
- func (fake *FakeGitProvider) GetProviderDomainReturnsOnCall(i int, result1 string)
- func (fake *FakeGitProvider) GetRepoVisibility(arg1 context.Context, arg2 gitproviders.RepoURL) (*gitprovider.RepositoryVisibility, error)
- func (fake *FakeGitProvider) GetRepoVisibilityArgsForCall(i int) (context.Context, gitproviders.RepoURL)
- func (fake *FakeGitProvider) GetRepoVisibilityCallCount() int
- func (fake *FakeGitProvider) GetRepoVisibilityCalls(...)
- func (fake *FakeGitProvider) GetRepoVisibilityReturns(result1 *gitprovider.RepositoryVisibility, result2 error)
- func (fake *FakeGitProvider) GetRepoVisibilityReturnsOnCall(i int, result1 *gitprovider.RepositoryVisibility, result2 error)
- func (fake *FakeGitProvider) Invocations() map[string][][]interface{}
- func (fake *FakeGitProvider) RepositoryExists(arg1 context.Context, arg2 gitproviders.RepoURL) (bool, error)
- func (fake *FakeGitProvider) RepositoryExistsArgsForCall(i int) (context.Context, gitproviders.RepoURL)
- func (fake *FakeGitProvider) RepositoryExistsCallCount() int
- func (fake *FakeGitProvider) RepositoryExistsCalls(stub func(context.Context, gitproviders.RepoURL) (bool, error))
- func (fake *FakeGitProvider) RepositoryExistsReturns(result1 bool, result2 error)
- func (fake *FakeGitProvider) RepositoryExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeGitProvider) UploadDeployKey(arg1 context.Context, arg2 gitproviders.RepoURL, arg3 []byte) error
- func (fake *FakeGitProvider) UploadDeployKeyArgsForCall(i int) (context.Context, gitproviders.RepoURL, []byte)
- func (fake *FakeGitProvider) UploadDeployKeyCallCount() int
- func (fake *FakeGitProvider) UploadDeployKeyCalls(stub func(context.Context, gitproviders.RepoURL, []byte) error)
- func (fake *FakeGitProvider) UploadDeployKeyReturns(result1 error)
- func (fake *FakeGitProvider) UploadDeployKeyReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGitProvider ¶ added in v0.2.2
type FakeGitProvider struct { CreatePullRequestStub func(context.Context, gitproviders.RepoURL, gitproviders.PullRequestInfo) (gitprovider.PullRequest, error) DeployKeyExistsStub func(context.Context, gitproviders.RepoURL) (bool, error) GetCommitsStub func(context.Context, gitproviders.RepoURL, string, int, int) ([]gitprovider.Commit, error) GetDefaultBranchStub func(context.Context, gitproviders.RepoURL) (string, error) GetProviderDomainStub func() string GetRepoVisibilityStub func(context.Context, gitproviders.RepoURL) (*gitprovider.RepositoryVisibility, error) RepositoryExistsStub func(context.Context, gitproviders.RepoURL) (bool, error) UploadDeployKeyStub func(context.Context, gitproviders.RepoURL, []byte) error // contains filtered or unexported fields }
func (*FakeGitProvider) CreatePullRequest ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequest(arg1 context.Context, arg2 gitproviders.RepoURL, arg3 gitproviders.PullRequestInfo) (gitprovider.PullRequest, error)
func (*FakeGitProvider) CreatePullRequestArgsForCall ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequestArgsForCall(i int) (context.Context, gitproviders.RepoURL, gitproviders.PullRequestInfo)
func (*FakeGitProvider) CreatePullRequestCallCount ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequestCallCount() int
func (*FakeGitProvider) CreatePullRequestCalls ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequestCalls(stub func(context.Context, gitproviders.RepoURL, gitproviders.PullRequestInfo) (gitprovider.PullRequest, error))
func (*FakeGitProvider) CreatePullRequestReturns ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequestReturns(result1 gitprovider.PullRequest, result2 error)
func (*FakeGitProvider) CreatePullRequestReturnsOnCall ¶ added in v0.3.1
func (fake *FakeGitProvider) CreatePullRequestReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
func (*FakeGitProvider) DeployKeyExists ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExists(arg1 context.Context, arg2 gitproviders.RepoURL) (bool, error)
func (*FakeGitProvider) DeployKeyExistsArgsForCall ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExistsArgsForCall(i int) (context.Context, gitproviders.RepoURL)
func (*FakeGitProvider) DeployKeyExistsCallCount ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExistsCallCount() int
func (*FakeGitProvider) DeployKeyExistsCalls ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExistsCalls(stub func(context.Context, gitproviders.RepoURL) (bool, error))
func (*FakeGitProvider) DeployKeyExistsReturns ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExistsReturns(result1 bool, result2 error)
func (*FakeGitProvider) DeployKeyExistsReturnsOnCall ¶ added in v0.2.2
func (fake *FakeGitProvider) DeployKeyExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeGitProvider) GetCommits ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommits(arg1 context.Context, arg2 gitproviders.RepoURL, arg3 string, arg4 int, arg5 int) ([]gitprovider.Commit, error)
func (*FakeGitProvider) GetCommitsArgsForCall ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommitsArgsForCall(i int) (context.Context, gitproviders.RepoURL, string, int, int)
func (*FakeGitProvider) GetCommitsCallCount ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommitsCallCount() int
func (*FakeGitProvider) GetCommitsCalls ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommitsCalls(stub func(context.Context, gitproviders.RepoURL, string, int, int) ([]gitprovider.Commit, error))
func (*FakeGitProvider) GetCommitsReturns ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommitsReturns(result1 []gitprovider.Commit, result2 error)
func (*FakeGitProvider) GetCommitsReturnsOnCall ¶ added in v0.3.1
func (fake *FakeGitProvider) GetCommitsReturnsOnCall(i int, result1 []gitprovider.Commit, result2 error)
func (*FakeGitProvider) GetDefaultBranch ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranch(arg1 context.Context, arg2 gitproviders.RepoURL) (string, error)
func (*FakeGitProvider) GetDefaultBranchArgsForCall ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranchArgsForCall(i int) (context.Context, gitproviders.RepoURL)
func (*FakeGitProvider) GetDefaultBranchCallCount ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranchCallCount() int
func (*FakeGitProvider) GetDefaultBranchCalls ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranchCalls(stub func(context.Context, gitproviders.RepoURL) (string, error))
func (*FakeGitProvider) GetDefaultBranchReturns ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranchReturns(result1 string, result2 error)
func (*FakeGitProvider) GetDefaultBranchReturnsOnCall ¶ added in v0.2.3
func (fake *FakeGitProvider) GetDefaultBranchReturnsOnCall(i int, result1 string, result2 error)
func (*FakeGitProvider) GetProviderDomain ¶ added in v0.3.0
func (fake *FakeGitProvider) GetProviderDomain() string
func (*FakeGitProvider) GetProviderDomainCallCount ¶ added in v0.3.0
func (fake *FakeGitProvider) GetProviderDomainCallCount() int
func (*FakeGitProvider) GetProviderDomainCalls ¶ added in v0.3.0
func (fake *FakeGitProvider) GetProviderDomainCalls(stub func() string)
func (*FakeGitProvider) GetProviderDomainReturns ¶ added in v0.3.0
func (fake *FakeGitProvider) GetProviderDomainReturns(result1 string)
func (*FakeGitProvider) GetProviderDomainReturnsOnCall ¶ added in v0.3.0
func (fake *FakeGitProvider) GetProviderDomainReturnsOnCall(i int, result1 string)
func (*FakeGitProvider) GetRepoVisibility ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibility(arg1 context.Context, arg2 gitproviders.RepoURL) (*gitprovider.RepositoryVisibility, error)
func (*FakeGitProvider) GetRepoVisibilityArgsForCall ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibilityArgsForCall(i int) (context.Context, gitproviders.RepoURL)
func (*FakeGitProvider) GetRepoVisibilityCallCount ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibilityCallCount() int
func (*FakeGitProvider) GetRepoVisibilityCalls ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibilityCalls(stub func(context.Context, gitproviders.RepoURL) (*gitprovider.RepositoryVisibility, error))
func (*FakeGitProvider) GetRepoVisibilityReturns ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibilityReturns(result1 *gitprovider.RepositoryVisibility, result2 error)
func (*FakeGitProvider) GetRepoVisibilityReturnsOnCall ¶ added in v0.2.5
func (fake *FakeGitProvider) GetRepoVisibilityReturnsOnCall(i int, result1 *gitprovider.RepositoryVisibility, result2 error)
func (*FakeGitProvider) Invocations ¶ added in v0.2.2
func (fake *FakeGitProvider) Invocations() map[string][][]interface{}
func (*FakeGitProvider) RepositoryExists ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExists(arg1 context.Context, arg2 gitproviders.RepoURL) (bool, error)
func (*FakeGitProvider) RepositoryExistsArgsForCall ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExistsArgsForCall(i int) (context.Context, gitproviders.RepoURL)
func (*FakeGitProvider) RepositoryExistsCallCount ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExistsCallCount() int
func (*FakeGitProvider) RepositoryExistsCalls ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExistsCalls(stub func(context.Context, gitproviders.RepoURL) (bool, error))
func (*FakeGitProvider) RepositoryExistsReturns ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExistsReturns(result1 bool, result2 error)
func (*FakeGitProvider) RepositoryExistsReturnsOnCall ¶ added in v0.2.2
func (fake *FakeGitProvider) RepositoryExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeGitProvider) UploadDeployKey ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKey(arg1 context.Context, arg2 gitproviders.RepoURL, arg3 []byte) error
func (*FakeGitProvider) UploadDeployKeyArgsForCall ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKeyArgsForCall(i int) (context.Context, gitproviders.RepoURL, []byte)
func (*FakeGitProvider) UploadDeployKeyCallCount ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKeyCallCount() int
func (*FakeGitProvider) UploadDeployKeyCalls ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKeyCalls(stub func(context.Context, gitproviders.RepoURL, []byte) error)
func (*FakeGitProvider) UploadDeployKeyReturns ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKeyReturns(result1 error)
func (*FakeGitProvider) UploadDeployKeyReturnsOnCall ¶ added in v0.2.2
func (fake *FakeGitProvider) UploadDeployKeyReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.