fakes

package
v0.15.7-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeApp

type FakeApp struct {
	CreateInstallationTokenStub func(string, []string, *githubapp.Permissions) (*githubapp.Token, error)
	// contains filtered or unexported fields
}

func (*FakeApp) CreateInstallationToken

func (fake *FakeApp) CreateInstallationToken(arg1 string, arg2 []string, arg3 *githubapp.Permissions) (*githubapp.Token, error)

func (*FakeApp) CreateInstallationTokenArgsForCall

func (fake *FakeApp) CreateInstallationTokenArgsForCall(i int) (string, []string, *githubapp.Permissions)

func (*FakeApp) CreateInstallationTokenCallCount

func (fake *FakeApp) CreateInstallationTokenCallCount() int

func (*FakeApp) CreateInstallationTokenCalls

func (fake *FakeApp) CreateInstallationTokenCalls(stub func(string, []string, *githubapp.Permissions) (*githubapp.Token, error))

func (*FakeApp) CreateInstallationTokenReturns

func (fake *FakeApp) CreateInstallationTokenReturns(result1 *githubapp.Token, result2 error)

func (*FakeApp) CreateInstallationTokenReturnsOnCall

func (fake *FakeApp) CreateInstallationTokenReturnsOnCall(i int, result1 *githubapp.Token, result2 error)

func (*FakeApp) Invocations

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

type FakeAppFactory

type FakeAppFactory struct {
	CreateStub func(string, string) (githubrotator.App, error)
	// contains filtered or unexported fields
}

func (*FakeAppFactory) Create

func (fake *FakeAppFactory) Create(arg1 string, arg2 string) (githubrotator.App, error)

func (*FakeAppFactory) CreateArgsForCall

func (fake *FakeAppFactory) CreateArgsForCall(i int) (string, string)

func (*FakeAppFactory) CreateCallCount

func (fake *FakeAppFactory) CreateCallCount() int

func (*FakeAppFactory) CreateCalls

func (fake *FakeAppFactory) CreateCalls(stub func(string, string) (githubrotator.App, error))

func (*FakeAppFactory) CreateReturns

func (fake *FakeAppFactory) CreateReturns(result1 githubrotator.App, result2 error)

func (*FakeAppFactory) CreateReturnsOnCall

func (fake *FakeAppFactory) CreateReturnsOnCall(i int, result1 githubrotator.App, result2 error)

func (*FakeAppFactory) Invocations

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

type FakeRateLimits

type FakeRateLimits struct {
	GetTokenRateLimitsStub func(context.Context, string) (*github.RateLimits, *github.Response, error)
	// contains filtered or unexported fields
}

func (*FakeRateLimits) GetTokenRateLimits

func (fake *FakeRateLimits) GetTokenRateLimits(arg1 context.Context, arg2 string) (*github.RateLimits, *github.Response, error)

func (*FakeRateLimits) GetTokenRateLimitsArgsForCall

func (fake *FakeRateLimits) GetTokenRateLimitsArgsForCall(i int) (context.Context, string)

func (*FakeRateLimits) GetTokenRateLimitsCallCount

func (fake *FakeRateLimits) GetTokenRateLimitsCallCount() int

func (*FakeRateLimits) GetTokenRateLimitsCalls

func (fake *FakeRateLimits) GetTokenRateLimitsCalls(stub func(context.Context, string) (*github.RateLimits, *github.Response, error))

func (*FakeRateLimits) GetTokenRateLimitsReturns

func (fake *FakeRateLimits) GetTokenRateLimitsReturns(result1 *github.RateLimits, result2 *github.Response, result3 error)

func (*FakeRateLimits) GetTokenRateLimitsReturnsOnCall

func (fake *FakeRateLimits) GetTokenRateLimitsReturnsOnCall(i int, result1 *github.RateLimits, result2 *github.Response, result3 error)

func (*FakeRateLimits) Invocations

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

Jump to

Keyboard shortcuts

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