githubfakes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 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) CreateKey

func (fake *FakeRepositoriesAPI) CreateKey(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.Key) (*githuba.Key, *githuba.Response, error)

func (*FakeRepositoriesAPI) CreateKeyArgsForCall

func (fake *FakeRepositoriesAPI) CreateKeyArgsForCall(i int) (context.Context, string, string, *githuba.Key)

func (*FakeRepositoriesAPI) CreateKeyCallCount

func (fake *FakeRepositoriesAPI) CreateKeyCallCount() int

func (*FakeRepositoriesAPI) CreateKeyCalls

func (fake *FakeRepositoriesAPI) CreateKeyCalls(stub func(context.Context, string, string, *githuba.Key) (*githuba.Key, *githuba.Response, error))

func (*FakeRepositoriesAPI) CreateKeyReturns

func (fake *FakeRepositoriesAPI) CreateKeyReturns(result1 *githuba.Key, result2 *githuba.Response, result3 error)

func (*FakeRepositoriesAPI) CreateKeyReturnsOnCall

func (fake *FakeRepositoriesAPI) CreateKeyReturnsOnCall(i int, result1 *githuba.Key, result2 *githuba.Response, result3 error)

func (*FakeRepositoriesAPI) DeleteKey

func (fake *FakeRepositoriesAPI) DeleteKey(arg1 context.Context, arg2 string, arg3 string, arg4 int64) (*githuba.Response, error)

func (*FakeRepositoriesAPI) DeleteKeyArgsForCall

func (fake *FakeRepositoriesAPI) DeleteKeyArgsForCall(i int) (context.Context, string, string, int64)

func (*FakeRepositoriesAPI) DeleteKeyCallCount

func (fake *FakeRepositoriesAPI) DeleteKeyCallCount() int

func (*FakeRepositoriesAPI) DeleteKeyCalls

func (fake *FakeRepositoriesAPI) DeleteKeyCalls(stub func(context.Context, string, string, int64) (*githuba.Response, error))

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) ListKeys

func (fake *FakeRepositoriesAPI) ListKeys(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.ListOptions) ([]*githuba.Key, *githuba.Response, error)

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 (fake *FakeRepositoriesAPI) ListKeysCalls(stub func(context.Context, string, string, *githuba.ListOptions) ([]*githuba.Key, *githuba.Response, error))

func (*FakeRepositoriesAPI) ListKeysReturns

func (fake *FakeRepositoriesAPI) ListKeysReturns(result1 []*githuba.Key, result2 *githuba.Response, result3 error)

func (*FakeRepositoriesAPI) ListKeysReturnsOnCall

func (fake *FakeRepositoriesAPI) ListKeysReturnsOnCall(i int, result1 []*githuba.Key, result2 *githuba.Response, result3 error)

Jump to

Keyboard shortcuts

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