mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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 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

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

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

func (*PubSub) PublishWithOptsArgsForCall

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

func (*PubSub) PublishWithOptsCallCount

func (fake *PubSub) PublishWithOptsCallCount() int

func (*PubSub) PublishWithOptsCalls

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

func (*PubSub) PublishWithOptsReturns

func (fake *PubSub) PublishWithOptsReturns(result1 error)

func (*PubSub) PublishWithOptsReturnsOnCall

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

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