Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type PubSub
- func (fake *PubSub) Close() error
- func (fake *PubSub) CloseCallCount() int
- func (fake *PubSub) CloseCalls(stub func() error)
- func (fake *PubSub) CloseReturns(result1 error)
- func (fake *PubSub) CloseReturnsOnCall(i int, result1 error)
- func (fake *PubSub) Invocations() map[string][][]interface{}
- func (fake *PubSub) IsConnected() bool
- func (fake *PubSub) IsConnectedCallCount() int
- func (fake *PubSub) IsConnectedCalls(stub func() bool)
- func (fake *PubSub) IsConnectedReturns(result1 bool)
- func (fake *PubSub) IsConnectedReturnsOnCall(i int, result1 bool)
- func (fake *PubSub) Publish(arg1 string, arg2 ...*message.Message) error
- func (fake *PubSub) PublishArgsForCall(i int) (string, []*message.Message)
- func (fake *PubSub) PublishCallCount() int
- func (fake *PubSub) PublishCalls(stub func(string, ...*message.Message) error)
- func (fake *PubSub) PublishReturns(result1 error)
- func (fake *PubSub) PublishReturnsOnCall(i int, result1 error)
- func (fake *PubSub) PublishWithOpts(arg1 string, arg2 *message.Message, arg3 ...spi.Option) error
- func (fake *PubSub) PublishWithOptsArgsForCall(i int) (string, *message.Message, []spi.Option)
- func (fake *PubSub) PublishWithOptsCallCount() int
- func (fake *PubSub) PublishWithOptsCalls(stub func(string, *message.Message, ...spi.Option) error)
- func (fake *PubSub) PublishWithOptsReturns(result1 error)
- func (fake *PubSub) PublishWithOptsReturnsOnCall(i int, result1 error)
- func (fake *PubSub) Subscribe(arg1 context.Context, arg2 string) (<-chan *message.Message, error)
- func (fake *PubSub) SubscribeArgsForCall(i int) (context.Context, string)
- func (fake *PubSub) SubscribeCallCount() int
- func (fake *PubSub) SubscribeCalls(stub func(context.Context, string) (<-chan *message.Message, error))
- func (fake *PubSub) SubscribeReturns(result1 <-chan *message.Message, result2 error)
- func (fake *PubSub) SubscribeReturnsOnCall(i int, result1 <-chan *message.Message, result2 error)
- func (fake *PubSub) SubscribeWithOpts(arg1 context.Context, arg2 string, arg3 ...spi.Option) (<-chan *message.Message, error)
- func (fake *PubSub) SubscribeWithOptsArgsForCall(i int) (context.Context, string, []spi.Option)
- func (fake *PubSub) SubscribeWithOptsCallCount() int
- func (fake *PubSub) SubscribeWithOptsCalls(...)
- func (fake *PubSub) SubscribeWithOptsReturns(result1 <-chan *message.Message, result2 error)
- func (fake *PubSub) SubscribeWithOptsReturnsOnCall(i int, result1 <-chan *message.Message, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSub ¶
type PubSub struct { CloseStub func() error IsConnectedStub func() bool PublishStub func(string, ...*message.Message) error PublishWithOptsStub func(string, *message.Message, ...spi.Option) error SubscribeStub func(context.Context, string) (<-chan *message.Message, error) SubscribeWithOptsStub func(context.Context, string, ...spi.Option) (<-chan *message.Message, error) // contains filtered or unexported fields }
func (*PubSub) CloseCallCount ¶
func (*PubSub) CloseCalls ¶
func (*PubSub) CloseReturns ¶
func (*PubSub) CloseReturnsOnCall ¶
func (*PubSub) Invocations ¶
func (*PubSub) IsConnected ¶
func (*PubSub) IsConnectedCallCount ¶
func (*PubSub) IsConnectedCalls ¶
func (*PubSub) IsConnectedReturns ¶
func (*PubSub) IsConnectedReturnsOnCall ¶
func (*PubSub) PublishArgsForCall ¶
func (*PubSub) PublishCallCount ¶
func (*PubSub) PublishCalls ¶
func (*PubSub) PublishReturns ¶
func (*PubSub) PublishReturnsOnCall ¶
func (*PubSub) PublishWithOpts ¶
func (*PubSub) PublishWithOptsArgsForCall ¶
func (*PubSub) PublishWithOptsCallCount ¶
func (*PubSub) PublishWithOptsCalls ¶
func (*PubSub) PublishWithOptsReturns ¶
func (*PubSub) PublishWithOptsReturnsOnCall ¶
func (*PubSub) SubscribeArgsForCall ¶
func (*PubSub) SubscribeCallCount ¶
func (*PubSub) SubscribeCalls ¶
func (*PubSub) SubscribeReturns ¶
func (*PubSub) SubscribeReturnsOnCall ¶
func (*PubSub) SubscribeWithOpts ¶
func (*PubSub) SubscribeWithOptsArgsForCall ¶
func (*PubSub) SubscribeWithOptsCallCount ¶
func (*PubSub) SubscribeWithOptsCalls ¶
func (*PubSub) SubscribeWithOptsReturns ¶
Click to show internal directories.
Click to hide internal directories.