githubfakes

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 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 {
	CreateOrUpdateSecretStub func(context.Context, string, string, *githuba.EncryptedSecret) (*githuba.Response, error)

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

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

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

func (*FakeActionsAPI) CreateOrUpdateSecret

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

func (*FakeActionsAPI) CreateOrUpdateSecretArgsForCall

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

func (*FakeActionsAPI) CreateOrUpdateSecretCallCount

func (fake *FakeActionsAPI) CreateOrUpdateSecretCallCount() int

func (*FakeActionsAPI) CreateOrUpdateSecretCalls

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

func (*FakeActionsAPI) CreateOrUpdateSecretReturns

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

func (*FakeActionsAPI) CreateOrUpdateSecretReturnsOnCall

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

func (*FakeActionsAPI) DeleteSecret

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

func (*FakeActionsAPI) DeleteSecretArgsForCall

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

func (*FakeActionsAPI) DeleteSecretCallCount

func (fake *FakeActionsAPI) DeleteSecretCallCount() int

func (*FakeActionsAPI) DeleteSecretCalls

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

func (*FakeActionsAPI) DeleteSecretReturns

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

func (*FakeActionsAPI) DeleteSecretReturnsOnCall

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

func (*FakeActionsAPI) GetPublicKey

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

func (*FakeActionsAPI) GetPublicKeyArgsForCall

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

func (*FakeActionsAPI) GetPublicKeyCallCount

func (fake *FakeActionsAPI) GetPublicKeyCallCount() int

func (*FakeActionsAPI) GetPublicKeyCalls

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

func (*FakeActionsAPI) GetPublicKeyReturns

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

func (*FakeActionsAPI) GetPublicKeyReturnsOnCall

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

func (*FakeActionsAPI) GetSecret

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

func (*FakeActionsAPI) GetSecretArgsForCall

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

func (*FakeActionsAPI) GetSecretCallCount

func (fake *FakeActionsAPI) GetSecretCallCount() int

func (*FakeActionsAPI) GetSecretCalls

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

func (*FakeActionsAPI) GetSecretReturns

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

func (*FakeActionsAPI) GetSecretReturnsOnCall

func (fake *FakeActionsAPI) GetSecretReturnsOnCall(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