githubfakes

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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 FakeActionsAPI

type FakeActionsAPI struct {
	CreateOrUpdateRepoSecretStub func(context.Context, string, string, *githuba.EncryptedSecret) (*githuba.Response, error)

	DeleteRepoSecretStub func(context.Context, string, string, string) (*githuba.Response, error)

	GetRepoPublicKeyStub func(context.Context, string, string) (*githuba.PublicKey, *githuba.Response, error)

	GetRepoSecretStub func(context.Context, string, string, string) (*githuba.Secret, *githuba.Response, error)
	// contains filtered or unexported fields
}

func (*FakeActionsAPI) CreateOrUpdateRepoSecret added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecret(arg1 context.Context, arg2 string, arg3 string, arg4 *githuba.EncryptedSecret) (*githuba.Response, error)

func (*FakeActionsAPI) CreateOrUpdateRepoSecretArgsForCall added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecretArgsForCall(i int) (context.Context, string, string, *githuba.EncryptedSecret)

func (*FakeActionsAPI) CreateOrUpdateRepoSecretCallCount added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecretCallCount() int

func (*FakeActionsAPI) CreateOrUpdateRepoSecretCalls added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecretCalls(stub func(context.Context, string, string, *githuba.EncryptedSecret) (*githuba.Response, error))

func (*FakeActionsAPI) CreateOrUpdateRepoSecretReturns added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecretReturns(result1 *githuba.Response, result2 error)

func (*FakeActionsAPI) CreateOrUpdateRepoSecretReturnsOnCall added in v0.11.0

func (fake *FakeActionsAPI) CreateOrUpdateRepoSecretReturnsOnCall(i int, result1 *githuba.Response, result2 error)

func (*FakeActionsAPI) DeleteRepoSecret added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecret(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Response, error)

func (*FakeActionsAPI) DeleteRepoSecretArgsForCall added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecretArgsForCall(i int) (context.Context, string, string, string)

func (*FakeActionsAPI) DeleteRepoSecretCallCount added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecretCallCount() int

func (*FakeActionsAPI) DeleteRepoSecretCalls added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecretCalls(stub func(context.Context, string, string, string) (*githuba.Response, error))

func (*FakeActionsAPI) DeleteRepoSecretReturns added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecretReturns(result1 *githuba.Response, result2 error)

func (*FakeActionsAPI) DeleteRepoSecretReturnsOnCall added in v0.11.0

func (fake *FakeActionsAPI) DeleteRepoSecretReturnsOnCall(i int, result1 *githuba.Response, result2 error)

func (*FakeActionsAPI) GetRepoPublicKey added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKey(arg1 context.Context, arg2 string, arg3 string) (*githuba.PublicKey, *githuba.Response, error)

func (*FakeActionsAPI) GetRepoPublicKeyArgsForCall added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKeyArgsForCall(i int) (context.Context, string, string)

func (*FakeActionsAPI) GetRepoPublicKeyCallCount added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKeyCallCount() int

func (*FakeActionsAPI) GetRepoPublicKeyCalls added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKeyCalls(stub func(context.Context, string, string) (*githuba.PublicKey, *githuba.Response, error))

func (*FakeActionsAPI) GetRepoPublicKeyReturns added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKeyReturns(result1 *githuba.PublicKey, result2 *githuba.Response, result3 error)

func (*FakeActionsAPI) GetRepoPublicKeyReturnsOnCall added in v0.11.0

func (fake *FakeActionsAPI) GetRepoPublicKeyReturnsOnCall(i int, result1 *githuba.PublicKey, result2 *githuba.Response, result3 error)

func (*FakeActionsAPI) GetRepoSecret added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecret(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*githuba.Secret, *githuba.Response, error)

func (*FakeActionsAPI) GetRepoSecretArgsForCall added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecretArgsForCall(i int) (context.Context, string, string, string)

func (*FakeActionsAPI) GetRepoSecretCallCount added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecretCallCount() int

func (*FakeActionsAPI) GetRepoSecretCalls added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecretCalls(stub func(context.Context, string, string, string) (*githuba.Secret, *githuba.Response, error))

func (*FakeActionsAPI) GetRepoSecretReturns added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecretReturns(result1 *githuba.Secret, result2 *githuba.Response, result3 error)

func (*FakeActionsAPI) GetRepoSecretReturnsOnCall added in v0.11.0

func (fake *FakeActionsAPI) GetRepoSecretReturnsOnCall(i int, result1 *githuba.Secret, result2 *githuba.Response, result3 error)

func (*FakeActionsAPI) Invocations

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

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{}

Jump to

Keyboard shortcuts

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