mbusfakes

package
v2.710.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 3 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 FakeNatsConnection

type FakeNatsConnection struct {
	CloseStub func()

	PublishStub func(string, []byte) error

	SubscribeStub func(string, nats.MsgHandler) (*nats.Subscription, error)
	// contains filtered or unexported fields
}

func (*FakeNatsConnection) Close

func (fake *FakeNatsConnection) Close()

func (*FakeNatsConnection) CloseCallCount

func (fake *FakeNatsConnection) CloseCallCount() int

func (*FakeNatsConnection) CloseCalls

func (fake *FakeNatsConnection) CloseCalls(stub func())

func (*FakeNatsConnection) Invocations

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

func (*FakeNatsConnection) Publish

func (fake *FakeNatsConnection) Publish(arg1 string, arg2 []byte) error

func (*FakeNatsConnection) PublishArgsForCall

func (fake *FakeNatsConnection) PublishArgsForCall(i int) (string, []byte)

func (*FakeNatsConnection) PublishCallCount

func (fake *FakeNatsConnection) PublishCallCount() int

func (*FakeNatsConnection) PublishCalls

func (fake *FakeNatsConnection) PublishCalls(stub func(string, []byte) error)

func (*FakeNatsConnection) PublishReturns

func (fake *FakeNatsConnection) PublishReturns(result1 error)

func (*FakeNatsConnection) PublishReturnsOnCall

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

func (*FakeNatsConnection) Subscribe

func (fake *FakeNatsConnection) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)

func (*FakeNatsConnection) SubscribeArgsForCall

func (fake *FakeNatsConnection) SubscribeArgsForCall(i int) (string, nats.MsgHandler)

func (*FakeNatsConnection) SubscribeCallCount

func (fake *FakeNatsConnection) SubscribeCallCount() int

func (*FakeNatsConnection) SubscribeCalls

func (fake *FakeNatsConnection) SubscribeCalls(stub func(string, nats.MsgHandler) (*nats.Subscription, error))

func (*FakeNatsConnection) SubscribeReturns

func (fake *FakeNatsConnection) SubscribeReturns(result1 *nats.Subscription, result2 error)

func (*FakeNatsConnection) SubscribeReturnsOnCall

func (fake *FakeNatsConnection) SubscribeReturnsOnCall(i int, result1 *nats.Subscription, result2 error)

Jump to

Keyboard shortcuts

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