Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConn
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseCalls(stub func() error)
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) NatsConn() *nats.Conn
- func (fake *FakeConn) NatsConnCallCount() int
- func (fake *FakeConn) NatsConnCalls(stub func() *nats.Conn)
- func (fake *FakeConn) NatsConnReturns(result1 *nats.Conn)
- func (fake *FakeConn) NatsConnReturnsOnCall(i int, result1 *nats.Conn)
- func (fake *FakeConn) Publish(arg1 string, arg2 []byte) error
- func (fake *FakeConn) PublishArgsForCall(i int) (string, []byte)
- func (fake *FakeConn) PublishAsync(arg1 string, arg2 []byte, arg3 stan.AckHandler) (string, error)
- func (fake *FakeConn) PublishAsyncArgsForCall(i int) (string, []byte, stan.AckHandler)
- func (fake *FakeConn) PublishAsyncCallCount() int
- func (fake *FakeConn) PublishAsyncCalls(stub func(string, []byte, stan.AckHandler) (string, error))
- func (fake *FakeConn) PublishAsyncReturns(result1 string, result2 error)
- func (fake *FakeConn) PublishAsyncReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeConn) PublishCallCount() int
- func (fake *FakeConn) PublishCalls(stub func(string, []byte) error)
- func (fake *FakeConn) PublishReturns(result1 error)
- func (fake *FakeConn) PublishReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) QueueSubscribe(arg1 string, arg2 string, arg3 stan.MsgHandler, ...) (stan.Subscription, error)
- func (fake *FakeConn) QueueSubscribeArgsForCall(i int) (string, string, stan.MsgHandler, []stan.SubscriptionOption)
- func (fake *FakeConn) QueueSubscribeCallCount() int
- func (fake *FakeConn) QueueSubscribeCalls(...)
- func (fake *FakeConn) QueueSubscribeReturns(result1 stan.Subscription, result2 error)
- func (fake *FakeConn) QueueSubscribeReturnsOnCall(i int, result1 stan.Subscription, result2 error)
- func (fake *FakeConn) Subscribe(arg1 string, arg2 stan.MsgHandler, arg3 ...stan.SubscriptionOption) (stan.Subscription, error)
- func (fake *FakeConn) SubscribeArgsForCall(i int) (string, stan.MsgHandler, []stan.SubscriptionOption)
- func (fake *FakeConn) SubscribeCallCount() int
- func (fake *FakeConn) SubscribeCalls(...)
- func (fake *FakeConn) SubscribeReturns(result1 stan.Subscription, result2 error)
- func (fake *FakeConn) SubscribeReturnsOnCall(i int, result1 stan.Subscription, result2 error)
- type FakeSubscription
- func (fake *FakeSubscription) ClearMaxPending() error
- func (fake *FakeSubscription) ClearMaxPendingCallCount() int
- func (fake *FakeSubscription) ClearMaxPendingCalls(stub func() error)
- func (fake *FakeSubscription) ClearMaxPendingReturns(result1 error)
- func (fake *FakeSubscription) ClearMaxPendingReturnsOnCall(i int, result1 error)
- func (fake *FakeSubscription) Close() error
- func (fake *FakeSubscription) CloseCallCount() int
- func (fake *FakeSubscription) CloseCalls(stub func() error)
- func (fake *FakeSubscription) CloseReturns(result1 error)
- func (fake *FakeSubscription) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSubscription) Delivered() (int64, error)
- func (fake *FakeSubscription) DeliveredCallCount() int
- func (fake *FakeSubscription) DeliveredCalls(stub func() (int64, error))
- func (fake *FakeSubscription) DeliveredReturns(result1 int64, result2 error)
- func (fake *FakeSubscription) DeliveredReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeSubscription) Dropped() (int, error)
- func (fake *FakeSubscription) DroppedCallCount() int
- func (fake *FakeSubscription) DroppedCalls(stub func() (int, error))
- func (fake *FakeSubscription) DroppedReturns(result1 int, result2 error)
- func (fake *FakeSubscription) DroppedReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeSubscription) Invocations() map[string][][]interface{}
- func (fake *FakeSubscription) IsValid() bool
- func (fake *FakeSubscription) IsValidCallCount() int
- func (fake *FakeSubscription) IsValidCalls(stub func() bool)
- func (fake *FakeSubscription) IsValidReturns(result1 bool)
- func (fake *FakeSubscription) IsValidReturnsOnCall(i int, result1 bool)
- func (fake *FakeSubscription) MaxPending() (int, int, error)
- func (fake *FakeSubscription) MaxPendingCallCount() int
- func (fake *FakeSubscription) MaxPendingCalls(stub func() (int, int, error))
- func (fake *FakeSubscription) MaxPendingReturns(result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) MaxPendingReturnsOnCall(i int, result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) Pending() (int, int, error)
- func (fake *FakeSubscription) PendingCallCount() int
- func (fake *FakeSubscription) PendingCalls(stub func() (int, int, error))
- func (fake *FakeSubscription) PendingLimits() (int, int, error)
- func (fake *FakeSubscription) PendingLimitsCallCount() int
- func (fake *FakeSubscription) PendingLimitsCalls(stub func() (int, int, error))
- func (fake *FakeSubscription) PendingLimitsReturns(result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) PendingLimitsReturnsOnCall(i int, result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) PendingReturns(result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) PendingReturnsOnCall(i int, result1 int, result2 int, result3 error)
- func (fake *FakeSubscription) SetPendingLimits(arg1 int, arg2 int) error
- func (fake *FakeSubscription) SetPendingLimitsArgsForCall(i int) (int, int)
- func (fake *FakeSubscription) SetPendingLimitsCallCount() int
- func (fake *FakeSubscription) SetPendingLimitsCalls(stub func(int, int) error)
- func (fake *FakeSubscription) SetPendingLimitsReturns(result1 error)
- func (fake *FakeSubscription) SetPendingLimitsReturnsOnCall(i int, result1 error)
- func (fake *FakeSubscription) Unsubscribe() error
- func (fake *FakeSubscription) UnsubscribeCallCount() int
- func (fake *FakeSubscription) UnsubscribeCalls(stub func() error)
- func (fake *FakeSubscription) UnsubscribeReturns(result1 error)
- func (fake *FakeSubscription) UnsubscribeReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConn ¶
type FakeConn struct { CloseStub func() error NatsConnStub func() *nats.Conn PublishStub func(string, []byte) error PublishAsyncStub func(string, []byte, stan.AckHandler) (string, error) QueueSubscribeStub func(string, string, stan.MsgHandler, ...stan.SubscriptionOption) (stan.Subscription, error) SubscribeStub func(string, stan.MsgHandler, ...stan.SubscriptionOption) (stan.Subscription, error) // contains filtered or unexported fields }
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseCalls ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) NatsConnCallCount ¶
func (*FakeConn) NatsConnCalls ¶
func (*FakeConn) NatsConnReturns ¶
func (*FakeConn) NatsConnReturnsOnCall ¶
func (*FakeConn) PublishArgsForCall ¶
func (*FakeConn) PublishAsync ¶
func (*FakeConn) PublishAsyncArgsForCall ¶
func (*FakeConn) PublishAsyncCallCount ¶
func (*FakeConn) PublishAsyncCalls ¶
func (*FakeConn) PublishAsyncReturns ¶
func (*FakeConn) PublishAsyncReturnsOnCall ¶
func (*FakeConn) PublishCallCount ¶
func (*FakeConn) PublishReturns ¶
func (*FakeConn) PublishReturnsOnCall ¶
func (*FakeConn) QueueSubscribe ¶
func (fake *FakeConn) QueueSubscribe(arg1 string, arg2 string, arg3 stan.MsgHandler, arg4 ...stan.SubscriptionOption) (stan.Subscription, error)
func (*FakeConn) QueueSubscribeArgsForCall ¶
func (fake *FakeConn) QueueSubscribeArgsForCall(i int) (string, string, stan.MsgHandler, []stan.SubscriptionOption)
func (*FakeConn) QueueSubscribeCallCount ¶
func (*FakeConn) QueueSubscribeCalls ¶
func (fake *FakeConn) QueueSubscribeCalls(stub func(string, string, stan.MsgHandler, ...stan.SubscriptionOption) (stan.Subscription, error))
func (*FakeConn) QueueSubscribeReturns ¶
func (fake *FakeConn) QueueSubscribeReturns(result1 stan.Subscription, result2 error)
func (*FakeConn) QueueSubscribeReturnsOnCall ¶
func (fake *FakeConn) QueueSubscribeReturnsOnCall(i int, result1 stan.Subscription, result2 error)
func (*FakeConn) Subscribe ¶
func (fake *FakeConn) Subscribe(arg1 string, arg2 stan.MsgHandler, arg3 ...stan.SubscriptionOption) (stan.Subscription, error)
func (*FakeConn) SubscribeArgsForCall ¶
func (fake *FakeConn) SubscribeArgsForCall(i int) (string, stan.MsgHandler, []stan.SubscriptionOption)
func (*FakeConn) SubscribeCallCount ¶
func (*FakeConn) SubscribeCalls ¶
func (fake *FakeConn) SubscribeCalls(stub func(string, stan.MsgHandler, ...stan.SubscriptionOption) (stan.Subscription, error))
func (*FakeConn) SubscribeReturns ¶
func (fake *FakeConn) SubscribeReturns(result1 stan.Subscription, result2 error)
func (*FakeConn) SubscribeReturnsOnCall ¶
func (fake *FakeConn) SubscribeReturnsOnCall(i int, result1 stan.Subscription, result2 error)
type FakeSubscription ¶
type FakeSubscription struct { ClearMaxPendingStub func() error CloseStub func() error DeliveredStub func() (int64, error) DroppedStub func() (int, error) IsValidStub func() bool MaxPendingStub func() (int, int, error) PendingStub func() (int, int, error) PendingLimitsStub func() (int, int, error) SetPendingLimitsStub func(int, int) error UnsubscribeStub func() error // contains filtered or unexported fields }
func (*FakeSubscription) ClearMaxPending ¶
func (fake *FakeSubscription) ClearMaxPending() error
func (*FakeSubscription) ClearMaxPendingCallCount ¶
func (fake *FakeSubscription) ClearMaxPendingCallCount() int
func (*FakeSubscription) ClearMaxPendingCalls ¶
func (fake *FakeSubscription) ClearMaxPendingCalls(stub func() error)
func (*FakeSubscription) ClearMaxPendingReturns ¶
func (fake *FakeSubscription) ClearMaxPendingReturns(result1 error)
func (*FakeSubscription) ClearMaxPendingReturnsOnCall ¶
func (fake *FakeSubscription) ClearMaxPendingReturnsOnCall(i int, result1 error)
func (*FakeSubscription) Close ¶
func (fake *FakeSubscription) Close() error
func (*FakeSubscription) CloseCallCount ¶
func (fake *FakeSubscription) CloseCallCount() int
func (*FakeSubscription) CloseCalls ¶
func (fake *FakeSubscription) CloseCalls(stub func() error)
func (*FakeSubscription) CloseReturns ¶
func (fake *FakeSubscription) CloseReturns(result1 error)
func (*FakeSubscription) CloseReturnsOnCall ¶
func (fake *FakeSubscription) CloseReturnsOnCall(i int, result1 error)
func (*FakeSubscription) Delivered ¶
func (fake *FakeSubscription) Delivered() (int64, error)
func (*FakeSubscription) DeliveredCallCount ¶
func (fake *FakeSubscription) DeliveredCallCount() int
func (*FakeSubscription) DeliveredCalls ¶
func (fake *FakeSubscription) DeliveredCalls(stub func() (int64, error))
func (*FakeSubscription) DeliveredReturns ¶
func (fake *FakeSubscription) DeliveredReturns(result1 int64, result2 error)
func (*FakeSubscription) DeliveredReturnsOnCall ¶
func (fake *FakeSubscription) DeliveredReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeSubscription) Dropped ¶
func (fake *FakeSubscription) Dropped() (int, error)
func (*FakeSubscription) DroppedCallCount ¶
func (fake *FakeSubscription) DroppedCallCount() int
func (*FakeSubscription) DroppedCalls ¶
func (fake *FakeSubscription) DroppedCalls(stub func() (int, error))
func (*FakeSubscription) DroppedReturns ¶
func (fake *FakeSubscription) DroppedReturns(result1 int, result2 error)
func (*FakeSubscription) DroppedReturnsOnCall ¶
func (fake *FakeSubscription) DroppedReturnsOnCall(i int, result1 int, result2 error)
func (*FakeSubscription) Invocations ¶
func (fake *FakeSubscription) Invocations() map[string][][]interface{}
func (*FakeSubscription) IsValid ¶
func (fake *FakeSubscription) IsValid() bool
func (*FakeSubscription) IsValidCallCount ¶
func (fake *FakeSubscription) IsValidCallCount() int
func (*FakeSubscription) IsValidCalls ¶
func (fake *FakeSubscription) IsValidCalls(stub func() bool)
func (*FakeSubscription) IsValidReturns ¶
func (fake *FakeSubscription) IsValidReturns(result1 bool)
func (*FakeSubscription) IsValidReturnsOnCall ¶
func (fake *FakeSubscription) IsValidReturnsOnCall(i int, result1 bool)
func (*FakeSubscription) MaxPending ¶
func (fake *FakeSubscription) MaxPending() (int, int, error)
func (*FakeSubscription) MaxPendingCallCount ¶
func (fake *FakeSubscription) MaxPendingCallCount() int
func (*FakeSubscription) MaxPendingCalls ¶
func (fake *FakeSubscription) MaxPendingCalls(stub func() (int, int, error))
func (*FakeSubscription) MaxPendingReturns ¶
func (fake *FakeSubscription) MaxPendingReturns(result1 int, result2 int, result3 error)
func (*FakeSubscription) MaxPendingReturnsOnCall ¶
func (fake *FakeSubscription) MaxPendingReturnsOnCall(i int, result1 int, result2 int, result3 error)
func (*FakeSubscription) PendingCallCount ¶
func (fake *FakeSubscription) PendingCallCount() int
func (*FakeSubscription) PendingCalls ¶
func (fake *FakeSubscription) PendingCalls(stub func() (int, int, error))
func (*FakeSubscription) PendingLimits ¶
func (fake *FakeSubscription) PendingLimits() (int, int, error)
func (*FakeSubscription) PendingLimitsCallCount ¶
func (fake *FakeSubscription) PendingLimitsCallCount() int
func (*FakeSubscription) PendingLimitsCalls ¶
func (fake *FakeSubscription) PendingLimitsCalls(stub func() (int, int, error))
func (*FakeSubscription) PendingLimitsReturns ¶
func (fake *FakeSubscription) PendingLimitsReturns(result1 int, result2 int, result3 error)
func (*FakeSubscription) PendingLimitsReturnsOnCall ¶
func (fake *FakeSubscription) PendingLimitsReturnsOnCall(i int, result1 int, result2 int, result3 error)
func (*FakeSubscription) PendingReturns ¶
func (fake *FakeSubscription) PendingReturns(result1 int, result2 int, result3 error)
func (*FakeSubscription) PendingReturnsOnCall ¶
func (fake *FakeSubscription) PendingReturnsOnCall(i int, result1 int, result2 int, result3 error)
func (*FakeSubscription) SetPendingLimits ¶
func (fake *FakeSubscription) SetPendingLimits(arg1 int, arg2 int) error
func (*FakeSubscription) SetPendingLimitsArgsForCall ¶
func (fake *FakeSubscription) SetPendingLimitsArgsForCall(i int) (int, int)
func (*FakeSubscription) SetPendingLimitsCallCount ¶
func (fake *FakeSubscription) SetPendingLimitsCallCount() int
func (*FakeSubscription) SetPendingLimitsCalls ¶
func (fake *FakeSubscription) SetPendingLimitsCalls(stub func(int, int) error)
func (*FakeSubscription) SetPendingLimitsReturns ¶
func (fake *FakeSubscription) SetPendingLimitsReturns(result1 error)
func (*FakeSubscription) SetPendingLimitsReturnsOnCall ¶
func (fake *FakeSubscription) SetPendingLimitsReturnsOnCall(i int, result1 error)
func (*FakeSubscription) Unsubscribe ¶
func (fake *FakeSubscription) Unsubscribe() error
func (*FakeSubscription) UnsubscribeCallCount ¶
func (fake *FakeSubscription) UnsubscribeCallCount() int
func (*FakeSubscription) UnsubscribeCalls ¶
func (fake *FakeSubscription) UnsubscribeCalls(stub func() error)
func (*FakeSubscription) UnsubscribeReturns ¶
func (fake *FakeSubscription) UnsubscribeReturns(result1 error)
func (*FakeSubscription) UnsubscribeReturnsOnCall ¶
func (fake *FakeSubscription) UnsubscribeReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.