Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeApp
- func (fake *FakeApp) CreateInstallationToken(arg1 string, arg2 []string, arg3 *githubapp.Permissions) (*githubapp.Token, error)
- func (fake *FakeApp) CreateInstallationTokenArgsForCall(i int) (string, []string, *githubapp.Permissions)
- func (fake *FakeApp) CreateInstallationTokenCallCount() int
- func (fake *FakeApp) CreateInstallationTokenCalls(stub func(string, []string, *githubapp.Permissions) (*githubapp.Token, error))
- func (fake *FakeApp) CreateInstallationTokenReturns(result1 *githubapp.Token, result2 error)
- func (fake *FakeApp) CreateInstallationTokenReturnsOnCall(i int, result1 *githubapp.Token, result2 error)
- func (fake *FakeApp) Invocations() map[string][][]interface{}
- type FakeAppFactory
- func (fake *FakeAppFactory) Create(arg1 string, arg2 string) (githubrotator.App, error)
- func (fake *FakeAppFactory) CreateArgsForCall(i int) (string, string)
- func (fake *FakeAppFactory) CreateCallCount() int
- func (fake *FakeAppFactory) CreateCalls(stub func(string, string) (githubrotator.App, error))
- func (fake *FakeAppFactory) CreateReturns(result1 githubrotator.App, result2 error)
- func (fake *FakeAppFactory) CreateReturnsOnCall(i int, result1 githubrotator.App, result2 error)
- func (fake *FakeAppFactory) Invocations() map[string][][]interface{}
- type FakeRateLimits
- func (fake *FakeRateLimits) GetTokenRateLimits(arg1 context.Context, arg2 string) (*github.RateLimits, *github.Response, error)
- func (fake *FakeRateLimits) GetTokenRateLimitsArgsForCall(i int) (context.Context, string)
- func (fake *FakeRateLimits) GetTokenRateLimitsCallCount() int
- func (fake *FakeRateLimits) GetTokenRateLimitsCalls(...)
- func (fake *FakeRateLimits) GetTokenRateLimitsReturns(result1 *github.RateLimits, result2 *github.Response, result3 error)
- func (fake *FakeRateLimits) GetTokenRateLimitsReturnsOnCall(i int, result1 *github.RateLimits, result2 *github.Response, result3 error)
- func (fake *FakeRateLimits) Invocations() map[string][][]interface{}
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 (*FakeApp) CreateInstallationTokenArgsForCall ¶
func (*FakeApp) CreateInstallationTokenCallCount ¶
func (*FakeApp) CreateInstallationTokenCalls ¶
func (*FakeApp) CreateInstallationTokenReturns ¶
func (*FakeApp) CreateInstallationTokenReturnsOnCall ¶
func (*FakeApp) Invocations ¶
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{}
Click to show internal directories.
Click to hide internal directories.