Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAppsAPI
- func (fake *FakeAppsAPI) CreateInstallationToken(arg1 context.Context, arg2 int64, arg3 *githuba.InstallationTokenOptions) (*githuba.InstallationToken, *githuba.Response, error)
- func (fake *FakeAppsAPI) CreateInstallationTokenArgsForCall(i int) (context.Context, int64, *githuba.InstallationTokenOptions)
- func (fake *FakeAppsAPI) CreateInstallationTokenCallCount() int
- func (fake *FakeAppsAPI) CreateInstallationTokenCalls(...)
- func (fake *FakeAppsAPI) CreateInstallationTokenReturns(result1 *githuba.InstallationToken, result2 *githuba.Response, result3 error)
- func (fake *FakeAppsAPI) CreateInstallationTokenReturnsOnCall(i int, result1 *githuba.InstallationToken, result2 *githuba.Response, ...)
- func (fake *FakeAppsAPI) Invocations() map[string][][]interface{}
- func (fake *FakeAppsAPI) ListInstallations(arg1 context.Context, arg2 *githuba.ListOptions) ([]*githuba.Installation, *githuba.Response, error)
- func (fake *FakeAppsAPI) ListInstallationsArgsForCall(i int) (context.Context, *githuba.ListOptions)
- func (fake *FakeAppsAPI) ListInstallationsCallCount() int
- func (fake *FakeAppsAPI) ListInstallationsCalls(...)
- func (fake *FakeAppsAPI) ListInstallationsReturns(result1 []*githuba.Installation, result2 *githuba.Response, result3 error)
- func (fake *FakeAppsAPI) ListInstallationsReturnsOnCall(i int, result1 []*githuba.Installation, result2 *githuba.Response, ...)
- type FakeRepositoriesAPI
- func (fake *FakeRepositoriesAPI) CreateKey(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.Key) (*githuba.Key, *githuba.Response, error)
- func (fake *FakeRepositoriesAPI) CreateKeyArgsForCall(i int) (context.Context, string, string, *githuba.Key)
- func (fake *FakeRepositoriesAPI) CreateKeyCallCount() int
- func (fake *FakeRepositoriesAPI) CreateKeyCalls(...)
- func (fake *FakeRepositoriesAPI) CreateKeyReturns(result1 *githuba.Key, result2 *githuba.Response, result3 error)
- func (fake *FakeRepositoriesAPI) CreateKeyReturnsOnCall(i int, result1 *githuba.Key, result2 *githuba.Response, result3 error)
- func (fake *FakeRepositoriesAPI) DeleteKey(arg1 context.Context, arg2 string, arg3 string, arg4 int64) (*githuba.Response, error)
- func (fake *FakeRepositoriesAPI) DeleteKeyArgsForCall(i int) (context.Context, string, string, int64)
- func (fake *FakeRepositoriesAPI) DeleteKeyCallCount() int
- func (fake *FakeRepositoriesAPI) DeleteKeyCalls(stub func(context.Context, string, string, int64) (*githuba.Response, error))
- func (fake *FakeRepositoriesAPI) DeleteKeyReturns(result1 *githuba.Response, result2 error)
- func (fake *FakeRepositoriesAPI) DeleteKeyReturnsOnCall(i int, result1 *githuba.Response, result2 error)
- func (fake *FakeRepositoriesAPI) Invocations() map[string][][]interface{}
- func (fake *FakeRepositoriesAPI) ListKeys(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.ListOptions) ([]*githuba.Key, *githuba.Response, error)
- func (fake *FakeRepositoriesAPI) ListKeysArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)
- func (fake *FakeRepositoriesAPI) ListKeysCallCount() int
- func (fake *FakeRepositoriesAPI) ListKeysCalls(...)
- func (fake *FakeRepositoriesAPI) ListKeysReturns(result1 []*githuba.Key, result2 *githuba.Response, result3 error)
- func (fake *FakeRepositoriesAPI) ListKeysReturnsOnCall(i int, result1 []*githuba.Key, result2 *githuba.Response, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppsAPI ¶
type FakeAppsAPI struct {
CreateInstallationTokenStub func(context.Context, int64, *githuba.InstallationTokenOptions) (*githuba.InstallationToken, *githuba.Response, error)
ListInstallationsStub func(context.Context, *githuba.ListOptions) ([]*githuba.Installation, *githuba.Response, error)
// contains filtered or unexported fields
}
func (*FakeAppsAPI) CreateInstallationToken ¶
func (fake *FakeAppsAPI) CreateInstallationToken(arg1 context.Context, arg2 int64, arg3 *githuba.InstallationTokenOptions) (*githuba.InstallationToken, *githuba.Response, error)
func (*FakeAppsAPI) CreateInstallationTokenArgsForCall ¶
func (fake *FakeAppsAPI) CreateInstallationTokenArgsForCall(i int) (context.Context, int64, *githuba.InstallationTokenOptions)
func (*FakeAppsAPI) CreateInstallationTokenCallCount ¶
func (fake *FakeAppsAPI) CreateInstallationTokenCallCount() int
func (*FakeAppsAPI) CreateInstallationTokenCalls ¶
func (fake *FakeAppsAPI) CreateInstallationTokenCalls(stub func(context.Context, int64, *githuba.InstallationTokenOptions) (*githuba.InstallationToken, *githuba.Response, error))
func (*FakeAppsAPI) CreateInstallationTokenReturns ¶
func (fake *FakeAppsAPI) CreateInstallationTokenReturns(result1 *githuba.InstallationToken, result2 *githuba.Response, result3 error)
func (*FakeAppsAPI) CreateInstallationTokenReturnsOnCall ¶
func (fake *FakeAppsAPI) CreateInstallationTokenReturnsOnCall(i int, result1 *githuba.InstallationToken, result2 *githuba.Response, result3 error)
func (*FakeAppsAPI) Invocations ¶
func (fake *FakeAppsAPI) Invocations() map[string][][]interface{}
func (*FakeAppsAPI) ListInstallations ¶
func (fake *FakeAppsAPI) ListInstallations(arg1 context.Context, arg2 *githuba.ListOptions) ([]*githuba.Installation, *githuba.Response, error)
func (*FakeAppsAPI) ListInstallationsArgsForCall ¶
func (fake *FakeAppsAPI) ListInstallationsArgsForCall(i int) (context.Context, *githuba.ListOptions)
func (*FakeAppsAPI) ListInstallationsCallCount ¶
func (fake *FakeAppsAPI) ListInstallationsCallCount() int
func (*FakeAppsAPI) ListInstallationsCalls ¶
func (fake *FakeAppsAPI) ListInstallationsCalls(stub func(context.Context, *githuba.ListOptions) ([]*githuba.Installation, *githuba.Response, error))
func (*FakeAppsAPI) ListInstallationsReturns ¶
func (fake *FakeAppsAPI) ListInstallationsReturns(result1 []*githuba.Installation, result2 *githuba.Response, result3 error)
func (*FakeAppsAPI) ListInstallationsReturnsOnCall ¶
func (fake *FakeAppsAPI) ListInstallationsReturnsOnCall(i int, result1 []*githuba.Installation, result2 *githuba.Response, result3 error)
type FakeRepositoriesAPI ¶
type FakeRepositoriesAPI struct {
CreateKeyStub func(context.Context, string, string, *githuba.Key) (*githuba.Key, *githuba.Response, error)
DeleteKeyStub func(context.Context, string, string, int64) (*githuba.Response, error)
ListKeysStub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.Key, *githuba.Response, error)
// contains filtered or unexported fields
}
func (*FakeRepositoriesAPI) CreateKeyArgsForCall ¶
func (*FakeRepositoriesAPI) CreateKeyCallCount ¶
func (fake *FakeRepositoriesAPI) CreateKeyCallCount() int
func (*FakeRepositoriesAPI) CreateKeyCalls ¶
func (*FakeRepositoriesAPI) CreateKeyReturns ¶
func (*FakeRepositoriesAPI) CreateKeyReturnsOnCall ¶
func (*FakeRepositoriesAPI) DeleteKeyArgsForCall ¶
func (*FakeRepositoriesAPI) DeleteKeyCallCount ¶
func (fake *FakeRepositoriesAPI) DeleteKeyCallCount() int
func (*FakeRepositoriesAPI) DeleteKeyCalls ¶
func (*FakeRepositoriesAPI) DeleteKeyReturns ¶
func (fake *FakeRepositoriesAPI) DeleteKeyReturns(result1 *githuba.Response, result2 error)
func (*FakeRepositoriesAPI) DeleteKeyReturnsOnCall ¶
func (fake *FakeRepositoriesAPI) DeleteKeyReturnsOnCall(i int, result1 *githuba.Response, result2 error)
func (*FakeRepositoriesAPI) Invocations ¶
func (fake *FakeRepositoriesAPI) Invocations() map[string][][]interface{}
func (*FakeRepositoriesAPI) ListKeysArgsForCall ¶
func (fake *FakeRepositoriesAPI) ListKeysArgsForCall(i int) (context.Context, string, string, *githuba.ListOptions)
func (*FakeRepositoriesAPI) ListKeysCallCount ¶
func (fake *FakeRepositoriesAPI) ListKeysCallCount() int
func (*FakeRepositoriesAPI) ListKeysCalls ¶
func (*FakeRepositoriesAPI) ListKeysReturns ¶
func (*FakeRepositoriesAPI) ListKeysReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.