mocks

package
v1.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataExpiryService added in v1.0.0

type DataExpiryService struct {
	RegisterStub func(storage.Store, string, string, ...expiry.Option)
	// contains filtered or unexported fields
}

func (*DataExpiryService) Invocations added in v1.0.0

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

func (*DataExpiryService) Register added in v1.0.0

func (fake *DataExpiryService) Register(arg1 storage.Store, arg2 string, arg3 string, arg4 ...expiry.Option)

func (*DataExpiryService) RegisterArgsForCall added in v1.0.0

func (fake *DataExpiryService) RegisterArgsForCall(i int) (storage.Store, string, string, []expiry.Option)

func (*DataExpiryService) RegisterCallCount added in v1.0.0

func (fake *DataExpiryService) RegisterCallCount() int

func (*DataExpiryService) RegisterCalls added in v1.0.0

func (fake *DataExpiryService) RegisterCalls(stub func(storage.Store, string, string, ...expiry.Option))

type PubSub

type PubSub struct {
	CloseStub func() error

	PublishWithOptsStub func(string, *message.Message, ...spi.Option) error

	SubscribeWithOptsStub func(context.Context, string, ...spi.Option) (<-chan *message.Message, error)
	// contains filtered or unexported fields
}

func (*PubSub) Close

func (fake *PubSub) Close() error

func (*PubSub) CloseCallCount

func (fake *PubSub) CloseCallCount() int

func (*PubSub) CloseCalls added in v1.0.0

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

func (*PubSub) CloseReturns

func (fake *PubSub) CloseReturns(result1 error)

func (*PubSub) CloseReturnsOnCall

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

func (*PubSub) Invocations

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

func (*PubSub) PublishWithOpts added in v1.0.0

func (fake *PubSub) PublishWithOpts(arg1 string, arg2 *message.Message, arg3 ...spi.Option) error

func (*PubSub) PublishWithOptsArgsForCall added in v1.0.0

func (fake *PubSub) PublishWithOptsArgsForCall(i int) (string, *message.Message, []spi.Option)

func (*PubSub) PublishWithOptsCallCount added in v1.0.0

func (fake *PubSub) PublishWithOptsCallCount() int

func (*PubSub) PublishWithOptsCalls added in v1.0.0

func (fake *PubSub) PublishWithOptsCalls(stub func(string, *message.Message, ...spi.Option) error)

func (*PubSub) PublishWithOptsReturns added in v1.0.0

func (fake *PubSub) PublishWithOptsReturns(result1 error)

func (*PubSub) PublishWithOptsReturnsOnCall added in v1.0.0

func (fake *PubSub) PublishWithOptsReturnsOnCall(i int, result1 error)

func (*PubSub) SubscribeWithOpts

func (fake *PubSub) SubscribeWithOpts(arg1 context.Context, arg2 string, arg3 ...spi.Option) (<-chan *message.Message, error)

func (*PubSub) SubscribeWithOptsArgsForCall

func (fake *PubSub) SubscribeWithOptsArgsForCall(i int) (context.Context, string, []spi.Option)

func (*PubSub) SubscribeWithOptsCallCount

func (fake *PubSub) SubscribeWithOptsCallCount() int

func (*PubSub) SubscribeWithOptsCalls added in v1.0.0

func (fake *PubSub) SubscribeWithOptsCalls(stub func(context.Context, string, ...spi.Option) (<-chan *message.Message, error))

func (*PubSub) SubscribeWithOptsReturns

func (fake *PubSub) SubscribeWithOptsReturns(result1 <-chan *message.Message, result2 error)

func (*PubSub) SubscribeWithOptsReturnsOnCall

func (fake *PubSub) SubscribeWithOptsReturnsOnCall(i int, result1 <-chan *message.Message, result2 error)

Jump to

Keyboard shortcuts

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