Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGit
- func (fake *FakeGit) GetBlobRaw(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]byte, *github.Response, error)
- func (fake *FakeGit) GetBlobRawArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeGit) GetBlobRawCallCount() int
- func (fake *FakeGit) GetBlobRawCalls(...)
- func (fake *FakeGit) GetBlobRawReturns(result1 []byte, result2 *github.Response, result3 error)
- func (fake *FakeGit) GetBlobRawReturnsOnCall(i int, result1 []byte, result2 *github.Response, result3 error)
- func (fake *FakeGit) GetTree(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 bool) (*github.Tree, *github.Response, error)
- func (fake *FakeGit) GetTreeArgsForCall(i int) (context.Context, string, string, string, bool)
- func (fake *FakeGit) GetTreeCallCount() int
- func (fake *FakeGit) GetTreeCalls(...)
- func (fake *FakeGit) GetTreeReturns(result1 *github.Tree, result2 *github.Response, result3 error)
- func (fake *FakeGit) GetTreeReturnsOnCall(i int, result1 *github.Tree, result2 *github.Response, result3 error)
- func (fake *FakeGit) Invocations() map[string][][]interface{}
- type FakeRateLimitSource
- func (fake *FakeRateLimitSource) Invocations() map[string][][]interface{}
- func (fake *FakeRateLimitSource) RateLimits(arg1 context.Context) (*github.RateLimits, *github.Response, error)
- func (fake *FakeRateLimitSource) RateLimitsArgsForCall(i int) context.Context
- func (fake *FakeRateLimitSource) RateLimitsCallCount() int
- func (fake *FakeRateLimitSource) RateLimitsCalls(stub func(context.Context) (*github.RateLimits, *github.Response, error))
- func (fake *FakeRateLimitSource) RateLimitsReturns(result1 *github.RateLimits, result2 *github.Response, result3 error)
- func (fake *FakeRateLimitSource) RateLimitsReturnsOnCall(i int, result1 *github.RateLimits, result2 *github.Response, result3 error)
- type FakeRepositories
- func (fake *FakeRepositories) Get(arg1 context.Context, arg2 string, arg3 string) (*github.Repository, *github.Response, error)
- func (fake *FakeRepositories) GetArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeRepositories) GetCallCount() int
- func (fake *FakeRepositories) GetCalls(...)
- func (fake *FakeRepositories) GetContents(arg1 context.Context, arg2 string, arg3 string, arg4 string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
- func (fake *FakeRepositories) GetContentsArgsForCall(i int) (context.Context, string, string, string, *github.RepositoryContentGetOptions)
- func (fake *FakeRepositories) GetContentsCallCount() int
- func (fake *FakeRepositories) GetContentsCalls(...)
- func (fake *FakeRepositories) GetContentsReturns(result1 *github.RepositoryContent, result2 []*github.RepositoryContent, ...)
- func (fake *FakeRepositories) GetContentsReturnsOnCall(i int, result1 *github.RepositoryContent, result2 []*github.RepositoryContent, ...)
- func (fake *FakeRepositories) GetReturns(result1 *github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeRepositories) GetReturnsOnCall(i int, result1 *github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeRepositories) Invocations() map[string][][]interface{}
- func (fake *FakeRepositories) ListCommits(arg1 context.Context, arg2 string, arg3 string, ...) ([]*github.RepositoryCommit, *github.Response, error)
- func (fake *FakeRepositories) ListCommitsArgsForCall(i int) (context.Context, string, string, *github.CommitsListOptions)
- func (fake *FakeRepositories) ListCommitsCallCount() int
- func (fake *FakeRepositories) ListCommitsCalls(...)
- func (fake *FakeRepositories) ListCommitsReturns(result1 []*github.RepositoryCommit, result2 *github.Response, result3 error)
- func (fake *FakeRepositories) ListCommitsReturnsOnCall(i int, result1 []*github.RepositoryCommit, result2 *github.Response, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGit ¶
type FakeGit struct { GetBlobRawStub func(context.Context, string, string, string) ([]byte, *github.Response, error) GetTreeStub func(context.Context, string, string, string, bool) (*github.Tree, *github.Response, error) // contains filtered or unexported fields }
func (*FakeGit) GetBlobRaw ¶
func (*FakeGit) GetBlobRawArgsForCall ¶
func (*FakeGit) GetBlobRawCallCount ¶
func (*FakeGit) GetBlobRawCalls ¶
func (*FakeGit) GetBlobRawReturns ¶
func (*FakeGit) GetBlobRawReturnsOnCall ¶
func (*FakeGit) GetTreeArgsForCall ¶
func (*FakeGit) GetTreeCallCount ¶
func (*FakeGit) GetTreeCalls ¶
func (*FakeGit) GetTreeReturns ¶
func (*FakeGit) GetTreeReturnsOnCall ¶
func (*FakeGit) Invocations ¶
type FakeRateLimitSource ¶
type FakeRateLimitSource struct { RateLimitsStub func(context.Context) (*github.RateLimits, *github.Response, error) // contains filtered or unexported fields }
func (*FakeRateLimitSource) Invocations ¶
func (fake *FakeRateLimitSource) Invocations() map[string][][]interface{}
func (*FakeRateLimitSource) RateLimits ¶
func (fake *FakeRateLimitSource) RateLimits(arg1 context.Context) (*github.RateLimits, *github.Response, error)
func (*FakeRateLimitSource) RateLimitsArgsForCall ¶
func (fake *FakeRateLimitSource) RateLimitsArgsForCall(i int) context.Context
func (*FakeRateLimitSource) RateLimitsCallCount ¶
func (fake *FakeRateLimitSource) RateLimitsCallCount() int
func (*FakeRateLimitSource) RateLimitsCalls ¶
func (fake *FakeRateLimitSource) RateLimitsCalls(stub func(context.Context) (*github.RateLimits, *github.Response, error))
func (*FakeRateLimitSource) RateLimitsReturns ¶
func (fake *FakeRateLimitSource) RateLimitsReturns(result1 *github.RateLimits, result2 *github.Response, result3 error)
func (*FakeRateLimitSource) RateLimitsReturnsOnCall ¶
func (fake *FakeRateLimitSource) RateLimitsReturnsOnCall(i int, result1 *github.RateLimits, result2 *github.Response, result3 error)
type FakeRepositories ¶
type FakeRepositories struct { GetStub func(context.Context, string, string) (*github.Repository, *github.Response, error) GetContentsStub func(context.Context, string, string, string, *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error) ListCommitsStub func(context.Context, string, string, *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) // contains filtered or unexported fields }
func (*FakeRepositories) Get ¶
func (fake *FakeRepositories) Get(arg1 context.Context, arg2 string, arg3 string) (*github.Repository, *github.Response, error)
func (*FakeRepositories) GetArgsForCall ¶
func (*FakeRepositories) GetCallCount ¶
func (fake *FakeRepositories) GetCallCount() int
func (*FakeRepositories) GetCalls ¶
func (fake *FakeRepositories) GetCalls(stub func(context.Context, string, string) (*github.Repository, *github.Response, error))
func (*FakeRepositories) GetContents ¶
func (fake *FakeRepositories) GetContents(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
func (*FakeRepositories) GetContentsArgsForCall ¶
func (fake *FakeRepositories) GetContentsArgsForCall(i int) (context.Context, string, string, string, *github.RepositoryContentGetOptions)
func (*FakeRepositories) GetContentsCallCount ¶
func (fake *FakeRepositories) GetContentsCallCount() int
func (*FakeRepositories) GetContentsCalls ¶
func (fake *FakeRepositories) GetContentsCalls(stub func(context.Context, string, string, string, *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error))
func (*FakeRepositories) GetContentsReturns ¶
func (fake *FakeRepositories) GetContentsReturns(result1 *github.RepositoryContent, result2 []*github.RepositoryContent, result3 *github.Response, result4 error)
func (*FakeRepositories) GetContentsReturnsOnCall ¶
func (fake *FakeRepositories) GetContentsReturnsOnCall(i int, result1 *github.RepositoryContent, result2 []*github.RepositoryContent, result3 *github.Response, result4 error)
func (*FakeRepositories) GetReturns ¶
func (fake *FakeRepositories) GetReturns(result1 *github.Repository, result2 *github.Response, result3 error)
func (*FakeRepositories) GetReturnsOnCall ¶
func (fake *FakeRepositories) GetReturnsOnCall(i int, result1 *github.Repository, result2 *github.Response, result3 error)
func (*FakeRepositories) Invocations ¶
func (fake *FakeRepositories) Invocations() map[string][][]interface{}
func (*FakeRepositories) ListCommits ¶
func (fake *FakeRepositories) ListCommits(arg1 context.Context, arg2 string, arg3 string, arg4 *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
func (*FakeRepositories) ListCommitsArgsForCall ¶
func (fake *FakeRepositories) ListCommitsArgsForCall(i int) (context.Context, string, string, *github.CommitsListOptions)
func (*FakeRepositories) ListCommitsCallCount ¶
func (fake *FakeRepositories) ListCommitsCallCount() int
func (*FakeRepositories) ListCommitsCalls ¶
func (fake *FakeRepositories) ListCommitsCalls(stub func(context.Context, string, string, *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error))
func (*FakeRepositories) ListCommitsReturns ¶
func (fake *FakeRepositories) ListCommitsReturns(result1 []*github.RepositoryCommit, result2 *github.Response, result3 error)
func (*FakeRepositories) ListCommitsReturnsOnCall ¶
func (fake *FakeRepositories) ListCommitsReturnsOnCall(i int, result1 []*github.RepositoryCommit, result2 *github.Response, result3 error)
Click to show internal directories.
Click to hide internal directories.