fakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FakeV1Service

type FakeV1Service struct {
	BlockKeyStub func(context.Context, *v1.BlockKeyRequest, ...client.CallOption) (*v1.BlockKeyResponse, error)

	DeleteCustomerStub func(context.Context, *v1.DeleteCustomerRequest, ...client.CallOption) (*v1.DeleteCustomerResponse, error)

	GenerateKeyStub func(context.Context, *v1.GenerateKeyRequest, ...client.CallOption) (*v1.GenerateKeyResponse, error)

	ListKeysStub func(context.Context, *v1.ListRequest, ...client.CallOption) (*v1.ListResponse, error)

	RevokeKeyStub func(context.Context, *v1.RevokeRequest, ...client.CallOption) (*v1.RevokeResponse, error)

	UnblockKeyStub func(context.Context, *v1.UnblockKeyRequest, ...client.CallOption) (*v1.UnblockKeyResponse, error)
	// contains filtered or unexported fields
}

func (*FakeV1Service) BlockKey

func (fake *FakeV1Service) BlockKey(arg1 context.Context, arg2 *v1.BlockKeyRequest, arg3 ...client.CallOption) (*v1.BlockKeyResponse, error)

func (*FakeV1Service) BlockKeyArgsForCall

func (fake *FakeV1Service) BlockKeyArgsForCall(i int) (context.Context, *v1.BlockKeyRequest, []client.CallOption)

func (*FakeV1Service) BlockKeyCallCount

func (fake *FakeV1Service) BlockKeyCallCount() int

func (*FakeV1Service) BlockKeyCalls

func (fake *FakeV1Service) BlockKeyCalls(stub func(context.Context, *v1.BlockKeyRequest, ...client.CallOption) (*v1.BlockKeyResponse, error))

func (*FakeV1Service) BlockKeyReturns

func (fake *FakeV1Service) BlockKeyReturns(result1 *v1.BlockKeyResponse, result2 error)

func (*FakeV1Service) BlockKeyReturnsOnCall

func (fake *FakeV1Service) BlockKeyReturnsOnCall(i int, result1 *v1.BlockKeyResponse, result2 error)

func (*FakeV1Service) DeleteCustomer

func (fake *FakeV1Service) DeleteCustomer(arg1 context.Context, arg2 *v1.DeleteCustomerRequest, arg3 ...client.CallOption) (*v1.DeleteCustomerResponse, error)

func (*FakeV1Service) DeleteCustomerArgsForCall

func (fake *FakeV1Service) DeleteCustomerArgsForCall(i int) (context.Context, *v1.DeleteCustomerRequest, []client.CallOption)

func (*FakeV1Service) DeleteCustomerCallCount

func (fake *FakeV1Service) DeleteCustomerCallCount() int

func (*FakeV1Service) DeleteCustomerCalls

func (fake *FakeV1Service) DeleteCustomerCalls(stub func(context.Context, *v1.DeleteCustomerRequest, ...client.CallOption) (*v1.DeleteCustomerResponse, error))

func (*FakeV1Service) DeleteCustomerReturns

func (fake *FakeV1Service) DeleteCustomerReturns(result1 *v1.DeleteCustomerResponse, result2 error)

func (*FakeV1Service) DeleteCustomerReturnsOnCall

func (fake *FakeV1Service) DeleteCustomerReturnsOnCall(i int, result1 *v1.DeleteCustomerResponse, result2 error)

func (*FakeV1Service) GenerateKey

func (fake *FakeV1Service) GenerateKey(arg1 context.Context, arg2 *v1.GenerateKeyRequest, arg3 ...client.CallOption) (*v1.GenerateKeyResponse, error)

func (*FakeV1Service) GenerateKeyArgsForCall

func (fake *FakeV1Service) GenerateKeyArgsForCall(i int) (context.Context, *v1.GenerateKeyRequest, []client.CallOption)

func (*FakeV1Service) GenerateKeyCallCount

func (fake *FakeV1Service) GenerateKeyCallCount() int

func (*FakeV1Service) GenerateKeyCalls

func (fake *FakeV1Service) GenerateKeyCalls(stub func(context.Context, *v1.GenerateKeyRequest, ...client.CallOption) (*v1.GenerateKeyResponse, error))

func (*FakeV1Service) GenerateKeyReturns

func (fake *FakeV1Service) GenerateKeyReturns(result1 *v1.GenerateKeyResponse, result2 error)

func (*FakeV1Service) GenerateKeyReturnsOnCall

func (fake *FakeV1Service) GenerateKeyReturnsOnCall(i int, result1 *v1.GenerateKeyResponse, result2 error)

func (*FakeV1Service) Invocations

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

func (*FakeV1Service) ListKeys

func (fake *FakeV1Service) ListKeys(arg1 context.Context, arg2 *v1.ListRequest, arg3 ...client.CallOption) (*v1.ListResponse, error)

func (*FakeV1Service) ListKeysArgsForCall

func (fake *FakeV1Service) ListKeysArgsForCall(i int) (context.Context, *v1.ListRequest, []client.CallOption)

func (*FakeV1Service) ListKeysCallCount

func (fake *FakeV1Service) ListKeysCallCount() int

func (*FakeV1Service) ListKeysCalls

func (fake *FakeV1Service) ListKeysCalls(stub func(context.Context, *v1.ListRequest, ...client.CallOption) (*v1.ListResponse, error))

func (*FakeV1Service) ListKeysReturns

func (fake *FakeV1Service) ListKeysReturns(result1 *v1.ListResponse, result2 error)

func (*FakeV1Service) ListKeysReturnsOnCall

func (fake *FakeV1Service) ListKeysReturnsOnCall(i int, result1 *v1.ListResponse, result2 error)

func (*FakeV1Service) RevokeKey

func (fake *FakeV1Service) RevokeKey(arg1 context.Context, arg2 *v1.RevokeRequest, arg3 ...client.CallOption) (*v1.RevokeResponse, error)

func (*FakeV1Service) RevokeKeyArgsForCall

func (fake *FakeV1Service) RevokeKeyArgsForCall(i int) (context.Context, *v1.RevokeRequest, []client.CallOption)

func (*FakeV1Service) RevokeKeyCallCount

func (fake *FakeV1Service) RevokeKeyCallCount() int

func (*FakeV1Service) RevokeKeyCalls

func (fake *FakeV1Service) RevokeKeyCalls(stub func(context.Context, *v1.RevokeRequest, ...client.CallOption) (*v1.RevokeResponse, error))

func (*FakeV1Service) RevokeKeyReturns

func (fake *FakeV1Service) RevokeKeyReturns(result1 *v1.RevokeResponse, result2 error)

func (*FakeV1Service) RevokeKeyReturnsOnCall

func (fake *FakeV1Service) RevokeKeyReturnsOnCall(i int, result1 *v1.RevokeResponse, result2 error)

func (*FakeV1Service) UnblockKey

func (fake *FakeV1Service) UnblockKey(arg1 context.Context, arg2 *v1.UnblockKeyRequest, arg3 ...client.CallOption) (*v1.UnblockKeyResponse, error)

func (*FakeV1Service) UnblockKeyArgsForCall

func (fake *FakeV1Service) UnblockKeyArgsForCall(i int) (context.Context, *v1.UnblockKeyRequest, []client.CallOption)

func (*FakeV1Service) UnblockKeyCallCount

func (fake *FakeV1Service) UnblockKeyCallCount() int

func (*FakeV1Service) UnblockKeyCalls

func (fake *FakeV1Service) UnblockKeyCalls(stub func(context.Context, *v1.UnblockKeyRequest, ...client.CallOption) (*v1.UnblockKeyResponse, error))

func (*FakeV1Service) UnblockKeyReturns

func (fake *FakeV1Service) UnblockKeyReturns(result1 *v1.UnblockKeyResponse, result2 error)

func (*FakeV1Service) UnblockKeyReturnsOnCall

func (fake *FakeV1Service) UnblockKeyReturnsOnCall(i int, result1 *v1.UnblockKeyResponse, result2 error)

Jump to

Keyboard shortcuts

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