fakes

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeAccountsService

type FakeAccountsService struct {
	ChangeSecretStub func(context.Context, *auth.ChangeSecretRequest, ...client.CallOption) (*auth.ChangeSecretResponse, error)

	DeleteStub func(context.Context, *auth.DeleteAccountRequest, ...client.CallOption) (*auth.DeleteAccountResponse, error)

	ListStub func(context.Context, *auth.ListAccountsRequest, ...client.CallOption) (*auth.ListAccountsResponse, error)
	// contains filtered or unexported fields
}

func (*FakeAccountsService) ChangeSecret

func (*FakeAccountsService) ChangeSecretArgsForCall

func (fake *FakeAccountsService) ChangeSecretArgsForCall(i int) (context.Context, *auth.ChangeSecretRequest, []client.CallOption)

func (*FakeAccountsService) ChangeSecretCallCount

func (fake *FakeAccountsService) ChangeSecretCallCount() int

func (*FakeAccountsService) ChangeSecretCalls

func (*FakeAccountsService) ChangeSecretReturns

func (fake *FakeAccountsService) ChangeSecretReturns(result1 *auth.ChangeSecretResponse, result2 error)

func (*FakeAccountsService) ChangeSecretReturnsOnCall

func (fake *FakeAccountsService) ChangeSecretReturnsOnCall(i int, result1 *auth.ChangeSecretResponse, result2 error)

func (*FakeAccountsService) Delete

func (*FakeAccountsService) DeleteArgsForCall

func (*FakeAccountsService) DeleteCallCount

func (fake *FakeAccountsService) DeleteCallCount() int

func (*FakeAccountsService) DeleteCalls

func (*FakeAccountsService) DeleteReturns

func (fake *FakeAccountsService) DeleteReturns(result1 *auth.DeleteAccountResponse, result2 error)

func (*FakeAccountsService) DeleteReturnsOnCall

func (fake *FakeAccountsService) DeleteReturnsOnCall(i int, result1 *auth.DeleteAccountResponse, result2 error)

func (*FakeAccountsService) Invocations

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

func (*FakeAccountsService) List

func (*FakeAccountsService) ListArgsForCall

func (*FakeAccountsService) ListCallCount

func (fake *FakeAccountsService) ListCallCount() int

func (*FakeAccountsService) ListCalls

func (*FakeAccountsService) ListReturns

func (fake *FakeAccountsService) ListReturns(result1 *auth.ListAccountsResponse, result2 error)

func (*FakeAccountsService) ListReturnsOnCall

func (fake *FakeAccountsService) ListReturnsOnCall(i int, result1 *auth.ListAccountsResponse, result2 error)

type FakeStore

type FakeStore struct {
	CloseStub func() error

	DeleteStub func(string, ...store.DeleteOption) error

	InitStub func(...store.StoreOption) error

	ListStub func(...store.ListOption) ([]string, error)

	OptionsStub func() store.StoreOptions

	ReadStub func(string, ...store.ReadOption) ([]*store.Record, error)

	StringStub func() string

	WriteStub func(*store.Record, ...store.WriteOption) error
	// contains filtered or unexported fields
}

func (*FakeStore) Close

func (fake *FakeStore) Close() error

func (*FakeStore) CloseCallCount

func (fake *FakeStore) CloseCallCount() int

func (*FakeStore) CloseCalls

func (fake *FakeStore) CloseCalls(stub func() error)

func (*FakeStore) CloseReturns

func (fake *FakeStore) CloseReturns(result1 error)

func (*FakeStore) CloseReturnsOnCall

func (fake *FakeStore) CloseReturnsOnCall(i int, result1 error)

func (*FakeStore) Delete

func (fake *FakeStore) Delete(arg1 string, arg2 ...store.DeleteOption) error

func (*FakeStore) DeleteArgsForCall

func (fake *FakeStore) DeleteArgsForCall(i int) (string, []store.DeleteOption)

func (*FakeStore) DeleteCallCount

func (fake *FakeStore) DeleteCallCount() int

func (*FakeStore) DeleteCalls

func (fake *FakeStore) DeleteCalls(stub func(string, ...store.DeleteOption) error)

func (*FakeStore) DeleteReturns

func (fake *FakeStore) DeleteReturns(result1 error)

func (*FakeStore) DeleteReturnsOnCall

func (fake *FakeStore) DeleteReturnsOnCall(i int, result1 error)

func (*FakeStore) Init

func (fake *FakeStore) Init(arg1 ...store.StoreOption) error

func (*FakeStore) InitArgsForCall

func (fake *FakeStore) InitArgsForCall(i int) []store.StoreOption

func (*FakeStore) InitCallCount

func (fake *FakeStore) InitCallCount() int

func (*FakeStore) InitCalls

func (fake *FakeStore) InitCalls(stub func(...store.StoreOption) error)

func (*FakeStore) InitReturns

func (fake *FakeStore) InitReturns(result1 error)

func (*FakeStore) InitReturnsOnCall

func (fake *FakeStore) InitReturnsOnCall(i int, result1 error)

func (*FakeStore) Invocations

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

func (*FakeStore) List

func (fake *FakeStore) List(arg1 ...store.ListOption) ([]string, error)

func (*FakeStore) ListArgsForCall

func (fake *FakeStore) ListArgsForCall(i int) []store.ListOption

func (*FakeStore) ListCallCount

func (fake *FakeStore) ListCallCount() int

func (*FakeStore) ListCalls

func (fake *FakeStore) ListCalls(stub func(...store.ListOption) ([]string, error))

func (*FakeStore) ListReturns

func (fake *FakeStore) ListReturns(result1 []string, result2 error)

func (*FakeStore) ListReturnsOnCall

func (fake *FakeStore) ListReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeStore) Options

func (fake *FakeStore) Options() store.StoreOptions

func (*FakeStore) OptionsCallCount

func (fake *FakeStore) OptionsCallCount() int

func (*FakeStore) OptionsCalls

func (fake *FakeStore) OptionsCalls(stub func() store.StoreOptions)

func (*FakeStore) OptionsReturns

func (fake *FakeStore) OptionsReturns(result1 store.StoreOptions)

func (*FakeStore) OptionsReturnsOnCall

func (fake *FakeStore) OptionsReturnsOnCall(i int, result1 store.StoreOptions)

func (*FakeStore) Read

func (fake *FakeStore) Read(arg1 string, arg2 ...store.ReadOption) ([]*store.Record, error)

func (*FakeStore) ReadArgsForCall

func (fake *FakeStore) ReadArgsForCall(i int) (string, []store.ReadOption)

func (*FakeStore) ReadCallCount

func (fake *FakeStore) ReadCallCount() int

func (*FakeStore) ReadCalls

func (fake *FakeStore) ReadCalls(stub func(string, ...store.ReadOption) ([]*store.Record, error))

func (*FakeStore) ReadReturns

func (fake *FakeStore) ReadReturns(result1 []*store.Record, result2 error)

func (*FakeStore) ReadReturnsOnCall

func (fake *FakeStore) ReadReturnsOnCall(i int, result1 []*store.Record, result2 error)

func (*FakeStore) String

func (fake *FakeStore) String() string

func (*FakeStore) StringCallCount

func (fake *FakeStore) StringCallCount() int

func (*FakeStore) StringCalls

func (fake *FakeStore) StringCalls(stub func() string)

func (*FakeStore) StringReturns

func (fake *FakeStore) StringReturns(result1 string)

func (*FakeStore) StringReturnsOnCall

func (fake *FakeStore) StringReturnsOnCall(i int, result1 string)

func (*FakeStore) Write

func (fake *FakeStore) Write(arg1 *store.Record, arg2 ...store.WriteOption) error

func (*FakeStore) WriteArgsForCall

func (fake *FakeStore) WriteArgsForCall(i int) (*store.Record, []store.WriteOption)

func (*FakeStore) WriteCallCount

func (fake *FakeStore) WriteCallCount() int

func (*FakeStore) WriteCalls

func (fake *FakeStore) WriteCalls(stub func(*store.Record, ...store.WriteOption) error)

func (*FakeStore) WriteReturns

func (fake *FakeStore) WriteReturns(result1 error)

func (*FakeStore) WriteReturnsOnCall

func (fake *FakeStore) WriteReturnsOnCall(i int, result1 error)

type FakeStream

type FakeStream struct {
	ConsumeStub func(string, ...events.ConsumeOption) (<-chan events.Event, error)

	PublishStub func(string, interface{}, ...events.PublishOption) error
	// contains filtered or unexported fields
}

func (*FakeStream) Consume

func (fake *FakeStream) Consume(arg1 string, arg2 ...events.ConsumeOption) (<-chan events.Event, error)

func (*FakeStream) ConsumeArgsForCall

func (fake *FakeStream) ConsumeArgsForCall(i int) (string, []events.ConsumeOption)

func (*FakeStream) ConsumeCallCount

func (fake *FakeStream) ConsumeCallCount() int

func (*FakeStream) ConsumeCalls

func (fake *FakeStream) ConsumeCalls(stub func(string, ...events.ConsumeOption) (<-chan events.Event, error))

func (*FakeStream) ConsumeReturns

func (fake *FakeStream) ConsumeReturns(result1 <-chan events.Event, result2 error)

func (*FakeStream) ConsumeReturnsOnCall

func (fake *FakeStream) ConsumeReturnsOnCall(i int, result1 <-chan events.Event, result2 error)

func (*FakeStream) Invocations

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

func (*FakeStream) Publish

func (fake *FakeStream) Publish(arg1 string, arg2 interface{}, arg3 ...events.PublishOption) error

func (*FakeStream) PublishArgsForCall

func (fake *FakeStream) PublishArgsForCall(i int) (string, interface{}, []events.PublishOption)

func (*FakeStream) PublishCallCount

func (fake *FakeStream) PublishCallCount() int

func (*FakeStream) PublishCalls

func (fake *FakeStream) PublishCalls(stub func(string, interface{}, ...events.PublishOption) error)

func (*FakeStream) PublishReturns

func (fake *FakeStream) PublishReturns(result1 error)

func (*FakeStream) PublishReturnsOnCall

func (fake *FakeStream) PublishReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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