fakes

package
v0.0.0-...-aa6650d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more 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 FakeClient

type FakeClient struct {
	PublishStub func(string, []byte) error

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

func (*FakeClient) Invocations

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

func (*FakeClient) Publish

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

func (*FakeClient) PublishArgsForCall

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

func (*FakeClient) PublishCallCount

func (fake *FakeClient) PublishCallCount() int

func (*FakeClient) PublishCalls

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

func (*FakeClient) PublishReturns

func (fake *FakeClient) PublishReturns(result1 error)

func (*FakeClient) PublishReturnsOnCall

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

func (*FakeClient) Subscribe

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

func (*FakeClient) SubscribeArgsForCall

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

func (*FakeClient) SubscribeCallCount

func (fake *FakeClient) SubscribeCallCount() int

func (*FakeClient) SubscribeCalls

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

func (*FakeClient) SubscribeReturns

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

func (*FakeClient) SubscribeReturnsOnCall

func (fake *FakeClient) 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