Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) AddRoute(arg1 string, arg2 mqtt.MessageHandler)
- func (fake *FakeClient) AddRouteArgsForCall(i int) (string, mqtt.MessageHandler)
- func (fake *FakeClient) AddRouteCallCount() int
- func (fake *FakeClient) AddRouteCalls(stub func(string, mqtt.MessageHandler))
- func (fake *FakeClient) Connect() mqtt.Token
- func (fake *FakeClient) ConnectCallCount() int
- func (fake *FakeClient) ConnectCalls(stub func() mqtt.Token)
- func (fake *FakeClient) ConnectReturns(result1 mqtt.Token)
- func (fake *FakeClient) ConnectReturnsOnCall(i int, result1 mqtt.Token)
- func (fake *FakeClient) Disconnect(arg1 uint)
- func (fake *FakeClient) DisconnectArgsForCall(i int) uint
- func (fake *FakeClient) DisconnectCallCount() int
- func (fake *FakeClient) DisconnectCalls(stub func(uint))
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) IsConnected() bool
- func (fake *FakeClient) IsConnectedCallCount() int
- func (fake *FakeClient) IsConnectedCalls(stub func() bool)
- func (fake *FakeClient) IsConnectedReturns(result1 bool)
- func (fake *FakeClient) IsConnectedReturnsOnCall(i int, result1 bool)
- func (fake *FakeClient) IsConnectionOpen() bool
- func (fake *FakeClient) IsConnectionOpenCallCount() int
- func (fake *FakeClient) IsConnectionOpenCalls(stub func() bool)
- func (fake *FakeClient) IsConnectionOpenReturns(result1 bool)
- func (fake *FakeClient) IsConnectionOpenReturnsOnCall(i int, result1 bool)
- func (fake *FakeClient) OptionsReader() mqtt.ClientOptionsReader
- func (fake *FakeClient) OptionsReaderCallCount() int
- func (fake *FakeClient) OptionsReaderCalls(stub func() mqtt.ClientOptionsReader)
- func (fake *FakeClient) OptionsReaderReturns(result1 mqtt.ClientOptionsReader)
- func (fake *FakeClient) OptionsReaderReturnsOnCall(i int, result1 mqtt.ClientOptionsReader)
- func (fake *FakeClient) Publish(arg1 string, arg2 byte, arg3 bool, arg4 interface{}) mqtt.Token
- func (fake *FakeClient) PublishArgsForCall(i int) (string, byte, bool, interface{})
- func (fake *FakeClient) PublishCallCount() int
- func (fake *FakeClient) PublishCalls(stub func(string, byte, bool, interface{}) mqtt.Token)
- func (fake *FakeClient) PublishReturns(result1 mqtt.Token)
- func (fake *FakeClient) PublishReturnsOnCall(i int, result1 mqtt.Token)
- func (fake *FakeClient) Subscribe(arg1 string, arg2 byte, arg3 mqtt.MessageHandler) mqtt.Token
- func (fake *FakeClient) SubscribeArgsForCall(i int) (string, byte, mqtt.MessageHandler)
- func (fake *FakeClient) SubscribeCallCount() int
- func (fake *FakeClient) SubscribeCalls(stub func(string, byte, mqtt.MessageHandler) mqtt.Token)
- func (fake *FakeClient) SubscribeMultiple(arg1 map[string]byte, arg2 mqtt.MessageHandler) mqtt.Token
- func (fake *FakeClient) SubscribeMultipleArgsForCall(i int) (map[string]byte, mqtt.MessageHandler)
- func (fake *FakeClient) SubscribeMultipleCallCount() int
- func (fake *FakeClient) SubscribeMultipleCalls(stub func(map[string]byte, mqtt.MessageHandler) mqtt.Token)
- func (fake *FakeClient) SubscribeMultipleReturns(result1 mqtt.Token)
- func (fake *FakeClient) SubscribeMultipleReturnsOnCall(i int, result1 mqtt.Token)
- func (fake *FakeClient) SubscribeReturns(result1 mqtt.Token)
- func (fake *FakeClient) SubscribeReturnsOnCall(i int, result1 mqtt.Token)
- func (fake *FakeClient) Unsubscribe(arg1 ...string) mqtt.Token
- func (fake *FakeClient) UnsubscribeArgsForCall(i int) []string
- func (fake *FakeClient) UnsubscribeCallCount() int
- func (fake *FakeClient) UnsubscribeCalls(stub func(...string) mqtt.Token)
- func (fake *FakeClient) UnsubscribeReturns(result1 mqtt.Token)
- func (fake *FakeClient) UnsubscribeReturnsOnCall(i int, result1 mqtt.Token)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { AddRouteStub func(string, mqtt.MessageHandler) ConnectStub func() mqtt.Token DisconnectStub func(uint) IsConnectedStub func() bool IsConnectionOpenStub func() bool OptionsReaderStub func() mqtt.ClientOptionsReader PublishStub func(string, byte, bool, interface{}) mqtt.Token SubscribeStub func(string, byte, mqtt.MessageHandler) mqtt.Token SubscribeMultipleStub func(map[string]byte, mqtt.MessageHandler) mqtt.Token UnsubscribeStub func(...string) mqtt.Token // contains filtered or unexported fields }
func (*FakeClient) AddRoute ¶
func (fake *FakeClient) AddRoute(arg1 string, arg2 mqtt.MessageHandler)
func (*FakeClient) AddRouteArgsForCall ¶
func (fake *FakeClient) AddRouteArgsForCall(i int) (string, mqtt.MessageHandler)
func (*FakeClient) AddRouteCallCount ¶
func (fake *FakeClient) AddRouteCallCount() int
func (*FakeClient) AddRouteCalls ¶
func (fake *FakeClient) AddRouteCalls(stub func(string, mqtt.MessageHandler))
func (*FakeClient) Connect ¶
func (fake *FakeClient) Connect() mqtt.Token
func (*FakeClient) ConnectCallCount ¶
func (fake *FakeClient) ConnectCallCount() int
func (*FakeClient) ConnectCalls ¶
func (fake *FakeClient) ConnectCalls(stub func() mqtt.Token)
func (*FakeClient) ConnectReturns ¶
func (fake *FakeClient) ConnectReturns(result1 mqtt.Token)
func (*FakeClient) ConnectReturnsOnCall ¶
func (fake *FakeClient) ConnectReturnsOnCall(i int, result1 mqtt.Token)
func (*FakeClient) Disconnect ¶
func (fake *FakeClient) Disconnect(arg1 uint)
func (*FakeClient) DisconnectArgsForCall ¶
func (fake *FakeClient) DisconnectArgsForCall(i int) uint
func (*FakeClient) DisconnectCallCount ¶
func (fake *FakeClient) DisconnectCallCount() int
func (*FakeClient) DisconnectCalls ¶
func (fake *FakeClient) DisconnectCalls(stub func(uint))
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) IsConnected ¶
func (fake *FakeClient) IsConnected() bool
func (*FakeClient) IsConnectedCallCount ¶
func (fake *FakeClient) IsConnectedCallCount() int
func (*FakeClient) IsConnectedCalls ¶
func (fake *FakeClient) IsConnectedCalls(stub func() bool)
func (*FakeClient) IsConnectedReturns ¶
func (fake *FakeClient) IsConnectedReturns(result1 bool)
func (*FakeClient) IsConnectedReturnsOnCall ¶
func (fake *FakeClient) IsConnectedReturnsOnCall(i int, result1 bool)
func (*FakeClient) IsConnectionOpen ¶
func (fake *FakeClient) IsConnectionOpen() bool
func (*FakeClient) IsConnectionOpenCallCount ¶
func (fake *FakeClient) IsConnectionOpenCallCount() int
func (*FakeClient) IsConnectionOpenCalls ¶
func (fake *FakeClient) IsConnectionOpenCalls(stub func() bool)
func (*FakeClient) IsConnectionOpenReturns ¶
func (fake *FakeClient) IsConnectionOpenReturns(result1 bool)
func (*FakeClient) IsConnectionOpenReturnsOnCall ¶
func (fake *FakeClient) IsConnectionOpenReturnsOnCall(i int, result1 bool)
func (*FakeClient) OptionsReader ¶
func (fake *FakeClient) OptionsReader() mqtt.ClientOptionsReader
func (*FakeClient) OptionsReaderCallCount ¶
func (fake *FakeClient) OptionsReaderCallCount() int
func (*FakeClient) OptionsReaderCalls ¶
func (fake *FakeClient) OptionsReaderCalls(stub func() mqtt.ClientOptionsReader)
func (*FakeClient) OptionsReaderReturns ¶
func (fake *FakeClient) OptionsReaderReturns(result1 mqtt.ClientOptionsReader)
func (*FakeClient) OptionsReaderReturnsOnCall ¶
func (fake *FakeClient) OptionsReaderReturnsOnCall(i int, result1 mqtt.ClientOptionsReader)
func (*FakeClient) PublishArgsForCall ¶
func (fake *FakeClient) PublishArgsForCall(i int) (string, byte, bool, interface{})
func (*FakeClient) PublishCallCount ¶
func (fake *FakeClient) PublishCallCount() int
func (*FakeClient) PublishCalls ¶
func (*FakeClient) PublishReturns ¶
func (fake *FakeClient) PublishReturns(result1 mqtt.Token)
func (*FakeClient) PublishReturnsOnCall ¶
func (fake *FakeClient) PublishReturnsOnCall(i int, result1 mqtt.Token)
func (*FakeClient) Subscribe ¶
func (fake *FakeClient) Subscribe(arg1 string, arg2 byte, arg3 mqtt.MessageHandler) mqtt.Token
func (*FakeClient) SubscribeArgsForCall ¶
func (fake *FakeClient) SubscribeArgsForCall(i int) (string, byte, mqtt.MessageHandler)
func (*FakeClient) SubscribeCallCount ¶
func (fake *FakeClient) SubscribeCallCount() int
func (*FakeClient) SubscribeCalls ¶
func (fake *FakeClient) SubscribeCalls(stub func(string, byte, mqtt.MessageHandler) mqtt.Token)
func (*FakeClient) SubscribeMultiple ¶
func (fake *FakeClient) SubscribeMultiple(arg1 map[string]byte, arg2 mqtt.MessageHandler) mqtt.Token
func (*FakeClient) SubscribeMultipleArgsForCall ¶
func (fake *FakeClient) SubscribeMultipleArgsForCall(i int) (map[string]byte, mqtt.MessageHandler)
func (*FakeClient) SubscribeMultipleCallCount ¶
func (fake *FakeClient) SubscribeMultipleCallCount() int
func (*FakeClient) SubscribeMultipleCalls ¶
func (fake *FakeClient) SubscribeMultipleCalls(stub func(map[string]byte, mqtt.MessageHandler) mqtt.Token)
func (*FakeClient) SubscribeMultipleReturns ¶
func (fake *FakeClient) SubscribeMultipleReturns(result1 mqtt.Token)
func (*FakeClient) SubscribeMultipleReturnsOnCall ¶
func (fake *FakeClient) SubscribeMultipleReturnsOnCall(i int, result1 mqtt.Token)
func (*FakeClient) SubscribeReturns ¶
func (fake *FakeClient) SubscribeReturns(result1 mqtt.Token)
func (*FakeClient) SubscribeReturnsOnCall ¶
func (fake *FakeClient) SubscribeReturnsOnCall(i int, result1 mqtt.Token)
func (*FakeClient) Unsubscribe ¶
func (fake *FakeClient) Unsubscribe(arg1 ...string) mqtt.Token
func (*FakeClient) UnsubscribeArgsForCall ¶
func (fake *FakeClient) UnsubscribeArgsForCall(i int) []string
func (*FakeClient) UnsubscribeCallCount ¶
func (fake *FakeClient) UnsubscribeCallCount() int
func (*FakeClient) UnsubscribeCalls ¶
func (fake *FakeClient) UnsubscribeCalls(stub func(...string) mqtt.Token)
func (*FakeClient) UnsubscribeReturns ¶
func (fake *FakeClient) UnsubscribeReturns(result1 mqtt.Token)
func (*FakeClient) UnsubscribeReturnsOnCall ¶
func (fake *FakeClient) UnsubscribeReturnsOnCall(i int, result1 mqtt.Token)
Click to show internal directories.
Click to hide internal directories.