githubfakes

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApp added in v0.5.0

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

func (*FakeApp) CreateInstallationToken added in v0.5.0

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

func (*FakeApp) CreateInstallationTokenArgsForCall added in v0.5.0

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

func (*FakeApp) CreateInstallationTokenCallCount added in v0.5.0

func (fake *FakeApp) CreateInstallationTokenCallCount() int

func (*FakeApp) CreateInstallationTokenCalls added in v0.5.0

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

func (*FakeApp) CreateInstallationTokenReturns added in v0.5.0

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

func (*FakeApp) CreateInstallationTokenReturnsOnCall added in v0.5.0

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

func (*FakeApp) Invocations added in v0.5.0

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

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