githubhttpcachefakes

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func (*FakeGit) GetBlobRawArgsForCall

func (fake *FakeGit) GetBlobRawArgsForCall(i int) (context.Context, string, string, string)

func (*FakeGit) GetBlobRawCallCount

func (fake *FakeGit) GetBlobRawCallCount() int

func (*FakeGit) GetBlobRawCalls

func (fake *FakeGit) GetBlobRawCalls(stub func(context.Context, string, string, string) ([]byte, *github.Response, error))

func (*FakeGit) GetBlobRawReturns

func (fake *FakeGit) GetBlobRawReturns(result1 []byte, result2 *github.Response, result3 error)

func (*FakeGit) GetBlobRawReturnsOnCall

func (fake *FakeGit) GetBlobRawReturnsOnCall(i int, result1 []byte, result2 *github.Response, result3 error)

func (*FakeGit) GetTree

func (fake *FakeGit) GetTree(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 bool) (*github.Tree, *github.Response, error)

func (*FakeGit) GetTreeArgsForCall

func (fake *FakeGit) GetTreeArgsForCall(i int) (context.Context, string, string, string, bool)

func (*FakeGit) GetTreeCallCount

func (fake *FakeGit) GetTreeCallCount() int

func (*FakeGit) GetTreeCalls

func (fake *FakeGit) GetTreeCalls(stub func(context.Context, string, string, string, bool) (*github.Tree, *github.Response, error))

func (*FakeGit) GetTreeReturns

func (fake *FakeGit) GetTreeReturns(result1 *github.Tree, result2 *github.Response, result3 error)

func (*FakeGit) GetTreeReturnsOnCall

func (fake *FakeGit) GetTreeReturnsOnCall(i int, result1 *github.Tree, result2 *github.Response, result3 error)

func (*FakeGit) Invocations

func (fake *FakeGit) Invocations() map[string][][]interface{}

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 (*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 (fake *FakeRepositories) GetArgsForCall(i int) (context.Context, string, string)

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 (*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) 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 (*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 (*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)

Jump to

Keyboard shortcuts

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