Documentation
¶
Index ¶
- type FeatureInterface
- func (_m *FeatureInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error
- func (_m *FeatureInterface) AddResultCallback(function func(api.ResponseMessage))
- func (_m *FeatureInterface) Bind() (*model.MsgCounterType, error)
- func (_m *FeatureInterface) EXPECT() *FeatureInterface_Expecter
- func (_m *FeatureInterface) HasBinding() bool
- func (_m *FeatureInterface) HasSubscription() bool
- func (_m *FeatureInterface) Subscribe() (*model.MsgCounterType, error)
- type FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) Return(_a0 error) *FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) Run(...) *FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) RunAndReturn(run func(model.MsgCounterType, func(api.ResponseMessage)) error) *FeatureInterface_AddResponseCallback_Call
- type FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) Return() *FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) Run(run func(function func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) RunAndReturn(run func(func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
- type FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) Run(run func()) *FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Bind_Call
- type FeatureInterface_Expecter
- func (_e *FeatureInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureInterface_AddResponseCallback_Call
- func (_e *FeatureInterface_Expecter) AddResultCallback(function interface{}) *FeatureInterface_AddResultCallback_Call
- func (_e *FeatureInterface_Expecter) Bind() *FeatureInterface_Bind_Call
- func (_e *FeatureInterface_Expecter) HasBinding() *FeatureInterface_HasBinding_Call
- func (_e *FeatureInterface_Expecter) HasSubscription() *FeatureInterface_HasSubscription_Call
- func (_e *FeatureInterface_Expecter) Subscribe() *FeatureInterface_Subscribe_Call
- type FeatureInterface_HasBinding_Call
- type FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) Return(_a0 bool) *FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) Run(run func()) *FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureInterface_HasSubscription_Call
- type FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) Run(run func()) *FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Subscribe_Call
- type ServiceInterface
- func (_m *ServiceInterface) CancelPairingWithSKI(ski string)
- func (_m *ServiceInterface) Configuration() *api.Configuration
- func (_m *ServiceInterface) DisconnectSKI(ski string, reason string)
- func (_m *ServiceInterface) EXPECT() *ServiceInterface_Expecter
- func (_m *ServiceInterface) LocalDevice() spine_goapi.DeviceLocalInterface
- func (_m *ServiceInterface) LocalService() *ship_goapi.ServiceDetails
- func (_m *ServiceInterface) PairingDetailForSki(ski string) *ship_goapi.ConnectionStateDetail
- func (_m *ServiceInterface) RegisterRemoteSKI(ski string)
- func (_m *ServiceInterface) RemoteServiceForSKI(ski string) *ship_goapi.ServiceDetails
- func (_m *ServiceInterface) SetAutoAccept(value bool)
- func (_m *ServiceInterface) SetLogging(logger logging.LoggingInterface)
- func (_m *ServiceInterface) Setup() error
- func (_m *ServiceInterface) Shutdown()
- func (_m *ServiceInterface) Start()
- func (_m *ServiceInterface) UnregisterRemoteSKI(ski string)
- func (_m *ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests(allow bool)
- type ServiceInterface_CancelPairingWithSKI_Call
- func (_c *ServiceInterface_CancelPairingWithSKI_Call) Return() *ServiceInterface_CancelPairingWithSKI_Call
- func (_c *ServiceInterface_CancelPairingWithSKI_Call) Run(run func(ski string)) *ServiceInterface_CancelPairingWithSKI_Call
- func (_c *ServiceInterface_CancelPairingWithSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_CancelPairingWithSKI_Call
- type ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) Return(_a0 *api.Configuration) *ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) Run(run func()) *ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) RunAndReturn(run func() *api.Configuration) *ServiceInterface_Configuration_Call
- type ServiceInterface_DisconnectSKI_Call
- func (_c *ServiceInterface_DisconnectSKI_Call) Return() *ServiceInterface_DisconnectSKI_Call
- func (_c *ServiceInterface_DisconnectSKI_Call) Run(run func(ski string, reason string)) *ServiceInterface_DisconnectSKI_Call
- func (_c *ServiceInterface_DisconnectSKI_Call) RunAndReturn(run func(string, string)) *ServiceInterface_DisconnectSKI_Call
- type ServiceInterface_Expecter
- func (_e *ServiceInterface_Expecter) CancelPairingWithSKI(ski interface{}) *ServiceInterface_CancelPairingWithSKI_Call
- func (_e *ServiceInterface_Expecter) Configuration() *ServiceInterface_Configuration_Call
- func (_e *ServiceInterface_Expecter) DisconnectSKI(ski interface{}, reason interface{}) *ServiceInterface_DisconnectSKI_Call
- func (_e *ServiceInterface_Expecter) LocalDevice() *ServiceInterface_LocalDevice_Call
- func (_e *ServiceInterface_Expecter) LocalService() *ServiceInterface_LocalService_Call
- func (_e *ServiceInterface_Expecter) PairingDetailForSki(ski interface{}) *ServiceInterface_PairingDetailForSki_Call
- func (_e *ServiceInterface_Expecter) RegisterRemoteSKI(ski interface{}) *ServiceInterface_RegisterRemoteSKI_Call
- func (_e *ServiceInterface_Expecter) RemoteServiceForSKI(ski interface{}) *ServiceInterface_RemoteServiceForSKI_Call
- func (_e *ServiceInterface_Expecter) SetAutoAccept(value interface{}) *ServiceInterface_SetAutoAccept_Call
- func (_e *ServiceInterface_Expecter) SetLogging(logger interface{}) *ServiceInterface_SetLogging_Call
- func (_e *ServiceInterface_Expecter) Setup() *ServiceInterface_Setup_Call
- func (_e *ServiceInterface_Expecter) Shutdown() *ServiceInterface_Shutdown_Call
- func (_e *ServiceInterface_Expecter) Start() *ServiceInterface_Start_Call
- func (_e *ServiceInterface_Expecter) UnregisterRemoteSKI(ski interface{}) *ServiceInterface_UnregisterRemoteSKI_Call
- func (_e *ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests(allow interface{}) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- type ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) Return(_a0 spine_goapi.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) Run(run func()) *ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) RunAndReturn(run func() spine_goapi.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
- type ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) Return(_a0 *ship_goapi.ServiceDetails) *ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) Run(run func()) *ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) RunAndReturn(run func() *ship_goapi.ServiceDetails) *ServiceInterface_LocalService_Call
- type ServiceInterface_PairingDetailForSki_Call
- func (_c *ServiceInterface_PairingDetailForSki_Call) Return(_a0 *ship_goapi.ConnectionStateDetail) *ServiceInterface_PairingDetailForSki_Call
- func (_c *ServiceInterface_PairingDetailForSki_Call) Run(run func(ski string)) *ServiceInterface_PairingDetailForSki_Call
- func (_c *ServiceInterface_PairingDetailForSki_Call) RunAndReturn(run func(string) *ship_goapi.ConnectionStateDetail) *ServiceInterface_PairingDetailForSki_Call
- type ServiceInterface_RegisterRemoteSKI_Call
- func (_c *ServiceInterface_RegisterRemoteSKI_Call) Return() *ServiceInterface_RegisterRemoteSKI_Call
- func (_c *ServiceInterface_RegisterRemoteSKI_Call) Run(run func(ski string)) *ServiceInterface_RegisterRemoteSKI_Call
- func (_c *ServiceInterface_RegisterRemoteSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_RegisterRemoteSKI_Call
- type ServiceInterface_RemoteServiceForSKI_Call
- func (_c *ServiceInterface_RemoteServiceForSKI_Call) Return(_a0 *ship_goapi.ServiceDetails) *ServiceInterface_RemoteServiceForSKI_Call
- func (_c *ServiceInterface_RemoteServiceForSKI_Call) Run(run func(ski string)) *ServiceInterface_RemoteServiceForSKI_Call
- func (_c *ServiceInterface_RemoteServiceForSKI_Call) RunAndReturn(run func(string) *ship_goapi.ServiceDetails) *ServiceInterface_RemoteServiceForSKI_Call
- type ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) Return() *ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) Run(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) RunAndReturn(run func(bool)) *ServiceInterface_SetAutoAccept_Call
- type ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) Return() *ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) Run(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) RunAndReturn(run func(logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
- type ServiceInterface_Setup_Call
- type ServiceInterface_Shutdown_Call
- type ServiceInterface_Start_Call
- type ServiceInterface_UnregisterRemoteSKI_Call
- func (_c *ServiceInterface_UnregisterRemoteSKI_Call) Return() *ServiceInterface_UnregisterRemoteSKI_Call
- func (_c *ServiceInterface_UnregisterRemoteSKI_Call) Run(run func(ski string)) *ServiceInterface_UnregisterRemoteSKI_Call
- func (_c *ServiceInterface_UnregisterRemoteSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_UnregisterRemoteSKI_Call
- type ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Return() *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn(run func(bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- type ServiceReaderInterface
- func (_m *ServiceReaderInterface) EXPECT() *ServiceReaderInterface_Expecter
- func (_m *ServiceReaderInterface) RemoteSKIConnected(service api.ServiceInterface, ski string)
- func (_m *ServiceReaderInterface) RemoteSKIDisconnected(service api.ServiceInterface, ski string)
- func (_m *ServiceReaderInterface) ServicePairingDetailUpdate(ski string, detail *ship_goapi.ConnectionStateDetail)
- func (_m *ServiceReaderInterface) ServiceShipIDUpdate(ski string, shipdID string)
- func (_m *ServiceReaderInterface) VisibleRemoteServicesUpdated(service api.ServiceInterface, entries []ship_goapi.RemoteService)
- type ServiceReaderInterface_Expecter
- func (_e *ServiceReaderInterface_Expecter) RemoteSKIConnected(service interface{}, ski interface{}) *ServiceReaderInterface_RemoteSKIConnected_Call
- func (_e *ServiceReaderInterface_Expecter) RemoteSKIDisconnected(service interface{}, ski interface{}) *ServiceReaderInterface_RemoteSKIDisconnected_Call
- func (_e *ServiceReaderInterface_Expecter) ServicePairingDetailUpdate(ski interface{}, detail interface{}) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_e *ServiceReaderInterface_Expecter) ServiceShipIDUpdate(ski interface{}, shipdID interface{}) *ServiceReaderInterface_ServiceShipIDUpdate_Call
- func (_e *ServiceReaderInterface_Expecter) VisibleRemoteServicesUpdated(service interface{}, entries interface{}) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
- type ServiceReaderInterface_RemoteSKIConnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIConnected_Call) Return() *ServiceReaderInterface_RemoteSKIConnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIConnected_Call) Run(run func(service api.ServiceInterface, ski string)) *ServiceReaderInterface_RemoteSKIConnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIConnected_Call) RunAndReturn(run func(api.ServiceInterface, string)) *ServiceReaderInterface_RemoteSKIConnected_Call
- type ServiceReaderInterface_RemoteSKIDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIDisconnected_Call) Return() *ServiceReaderInterface_RemoteSKIDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIDisconnected_Call) Run(run func(service api.ServiceInterface, ski string)) *ServiceReaderInterface_RemoteSKIDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteSKIDisconnected_Call) RunAndReturn(run func(api.ServiceInterface, string)) *ServiceReaderInterface_RemoteSKIDisconnected_Call
- type ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Return() *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(ski string, detail *ship_goapi.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(string, *ship_goapi.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- type ServiceReaderInterface_ServiceShipIDUpdate_Call
- func (_c *ServiceReaderInterface_ServiceShipIDUpdate_Call) Return() *ServiceReaderInterface_ServiceShipIDUpdate_Call
- func (_c *ServiceReaderInterface_ServiceShipIDUpdate_Call) Run(run func(ski string, shipdID string)) *ServiceReaderInterface_ServiceShipIDUpdate_Call
- func (_c *ServiceReaderInterface_ServiceShipIDUpdate_Call) RunAndReturn(run func(string, string)) *ServiceReaderInterface_ServiceShipIDUpdate_Call
- type ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) Return() *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) Run(run func(service api.ServiceInterface, entries []ship_goapi.RemoteService)) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) RunAndReturn(run func(api.ServiceInterface, []ship_goapi.RemoteService)) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureInterface ¶
FeatureInterface is an autogenerated mock type for the FeatureInterface type
func NewFeatureInterface ¶
func NewFeatureInterface(t interface {
mock.TestingT
Cleanup(func())
}) *FeatureInterface
NewFeatureInterface creates a new instance of FeatureInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FeatureInterface) AddResponseCallback ¶
func (_m *FeatureInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error
AddResponseCallback provides a mock function with given fields: msgCounterReference, function
func (*FeatureInterface) AddResultCallback ¶
func (_m *FeatureInterface) AddResultCallback(function func(api.ResponseMessage))
AddResultCallback provides a mock function with given fields: function
func (*FeatureInterface) Bind ¶
func (_m *FeatureInterface) Bind() (*model.MsgCounterType, error)
Bind provides a mock function with given fields:
func (*FeatureInterface) EXPECT ¶
func (_m *FeatureInterface) EXPECT() *FeatureInterface_Expecter
func (*FeatureInterface) HasBinding ¶
func (_m *FeatureInterface) HasBinding() bool
HasBinding provides a mock function with given fields:
func (*FeatureInterface) HasSubscription ¶
func (_m *FeatureInterface) HasSubscription() bool
HasSubscription provides a mock function with given fields:
func (*FeatureInterface) Subscribe ¶
func (_m *FeatureInterface) Subscribe() (*model.MsgCounterType, error)
Subscribe provides a mock function with given fields:
type FeatureInterface_AddResponseCallback_Call ¶
FeatureInterface_AddResponseCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResponseCallback'
func (*FeatureInterface_AddResponseCallback_Call) Return ¶
func (_c *FeatureInterface_AddResponseCallback_Call) Return(_a0 error) *FeatureInterface_AddResponseCallback_Call
func (*FeatureInterface_AddResponseCallback_Call) Run ¶
func (_c *FeatureInterface_AddResponseCallback_Call) Run(run func(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage))) *FeatureInterface_AddResponseCallback_Call
func (*FeatureInterface_AddResponseCallback_Call) RunAndReturn ¶
func (_c *FeatureInterface_AddResponseCallback_Call) RunAndReturn(run func(model.MsgCounterType, func(api.ResponseMessage)) error) *FeatureInterface_AddResponseCallback_Call
type FeatureInterface_AddResultCallback_Call ¶
FeatureInterface_AddResultCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResultCallback'
func (*FeatureInterface_AddResultCallback_Call) Return ¶
func (_c *FeatureInterface_AddResultCallback_Call) Return() *FeatureInterface_AddResultCallback_Call
func (*FeatureInterface_AddResultCallback_Call) Run ¶
func (_c *FeatureInterface_AddResultCallback_Call) Run(run func(function func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
func (*FeatureInterface_AddResultCallback_Call) RunAndReturn ¶
func (_c *FeatureInterface_AddResultCallback_Call) RunAndReturn(run func(func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
type FeatureInterface_Bind_Call ¶
FeatureInterface_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*FeatureInterface_Bind_Call) Return ¶
func (_c *FeatureInterface_Bind_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Bind_Call
func (*FeatureInterface_Bind_Call) Run ¶
func (_c *FeatureInterface_Bind_Call) Run(run func()) *FeatureInterface_Bind_Call
func (*FeatureInterface_Bind_Call) RunAndReturn ¶
func (_c *FeatureInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Bind_Call
type FeatureInterface_Expecter ¶
type FeatureInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*FeatureInterface_Expecter) AddResponseCallback ¶
func (_e *FeatureInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureInterface_AddResponseCallback_Call
AddResponseCallback is a helper method to define mock.On call
- msgCounterReference model.MsgCounterType
- function func(api.ResponseMessage)
func (*FeatureInterface_Expecter) AddResultCallback ¶
func (_e *FeatureInterface_Expecter) AddResultCallback(function interface{}) *FeatureInterface_AddResultCallback_Call
AddResultCallback is a helper method to define mock.On call
- function func(api.ResponseMessage)
func (*FeatureInterface_Expecter) Bind ¶
func (_e *FeatureInterface_Expecter) Bind() *FeatureInterface_Bind_Call
Bind is a helper method to define mock.On call
func (*FeatureInterface_Expecter) HasBinding ¶
func (_e *FeatureInterface_Expecter) HasBinding() *FeatureInterface_HasBinding_Call
HasBinding is a helper method to define mock.On call
func (*FeatureInterface_Expecter) HasSubscription ¶
func (_e *FeatureInterface_Expecter) HasSubscription() *FeatureInterface_HasSubscription_Call
HasSubscription is a helper method to define mock.On call
func (*FeatureInterface_Expecter) Subscribe ¶
func (_e *FeatureInterface_Expecter) Subscribe() *FeatureInterface_Subscribe_Call
Subscribe is a helper method to define mock.On call
type FeatureInterface_HasBinding_Call ¶
FeatureInterface_HasBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasBinding'
func (*FeatureInterface_HasBinding_Call) Return ¶
func (_c *FeatureInterface_HasBinding_Call) Return(_a0 bool) *FeatureInterface_HasBinding_Call
func (*FeatureInterface_HasBinding_Call) Run ¶
func (_c *FeatureInterface_HasBinding_Call) Run(run func()) *FeatureInterface_HasBinding_Call
func (*FeatureInterface_HasBinding_Call) RunAndReturn ¶
func (_c *FeatureInterface_HasBinding_Call) RunAndReturn(run func() bool) *FeatureInterface_HasBinding_Call
type FeatureInterface_HasSubscription_Call ¶
FeatureInterface_HasSubscription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSubscription'
func (*FeatureInterface_HasSubscription_Call) Return ¶
func (_c *FeatureInterface_HasSubscription_Call) Return(_a0 bool) *FeatureInterface_HasSubscription_Call
func (*FeatureInterface_HasSubscription_Call) Run ¶
func (_c *FeatureInterface_HasSubscription_Call) Run(run func()) *FeatureInterface_HasSubscription_Call
func (*FeatureInterface_HasSubscription_Call) RunAndReturn ¶
func (_c *FeatureInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureInterface_HasSubscription_Call
type FeatureInterface_Subscribe_Call ¶
FeatureInterface_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*FeatureInterface_Subscribe_Call) Return ¶
func (_c *FeatureInterface_Subscribe_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Subscribe_Call
func (*FeatureInterface_Subscribe_Call) Run ¶
func (_c *FeatureInterface_Subscribe_Call) Run(run func()) *FeatureInterface_Subscribe_Call
func (*FeatureInterface_Subscribe_Call) RunAndReturn ¶
func (_c *FeatureInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Subscribe_Call
type ServiceInterface ¶
ServiceInterface is an autogenerated mock type for the ServiceInterface type
func NewServiceInterface ¶
func NewServiceInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceInterface
NewServiceInterface creates a new instance of ServiceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceInterface) CancelPairingWithSKI ¶
func (_m *ServiceInterface) CancelPairingWithSKI(ski string)
CancelPairingWithSKI provides a mock function with given fields: ski
func (*ServiceInterface) Configuration ¶
func (_m *ServiceInterface) Configuration() *api.Configuration
Configuration provides a mock function with given fields:
func (*ServiceInterface) DisconnectSKI ¶
func (_m *ServiceInterface) DisconnectSKI(ski string, reason string)
DisconnectSKI provides a mock function with given fields: ski, reason
func (*ServiceInterface) EXPECT ¶
func (_m *ServiceInterface) EXPECT() *ServiceInterface_Expecter
func (*ServiceInterface) LocalDevice ¶
func (_m *ServiceInterface) LocalDevice() spine_goapi.DeviceLocalInterface
LocalDevice provides a mock function with given fields:
func (*ServiceInterface) LocalService ¶
func (_m *ServiceInterface) LocalService() *ship_goapi.ServiceDetails
LocalService provides a mock function with given fields:
func (*ServiceInterface) PairingDetailForSki ¶
func (_m *ServiceInterface) PairingDetailForSki(ski string) *ship_goapi.ConnectionStateDetail
PairingDetailForSki provides a mock function with given fields: ski
func (*ServiceInterface) RegisterRemoteSKI ¶
func (_m *ServiceInterface) RegisterRemoteSKI(ski string)
RegisterRemoteSKI provides a mock function with given fields: ski
func (*ServiceInterface) RemoteServiceForSKI ¶
func (_m *ServiceInterface) RemoteServiceForSKI(ski string) *ship_goapi.ServiceDetails
RemoteServiceForSKI provides a mock function with given fields: ski
func (*ServiceInterface) SetAutoAccept ¶
func (_m *ServiceInterface) SetAutoAccept(value bool)
SetAutoAccept provides a mock function with given fields: value
func (*ServiceInterface) SetLogging ¶
func (_m *ServiceInterface) SetLogging(logger logging.LoggingInterface)
SetLogging provides a mock function with given fields: logger
func (*ServiceInterface) Setup ¶
func (_m *ServiceInterface) Setup() error
Setup provides a mock function with given fields:
func (*ServiceInterface) Shutdown ¶
func (_m *ServiceInterface) Shutdown()
Shutdown provides a mock function with given fields:
func (*ServiceInterface) Start ¶
func (_m *ServiceInterface) Start()
Start provides a mock function with given fields:
func (*ServiceInterface) UnregisterRemoteSKI ¶
func (_m *ServiceInterface) UnregisterRemoteSKI(ski string)
UnregisterRemoteSKI provides a mock function with given fields: ski
func (*ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests ¶
func (_m *ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests(allow bool)
UserIsAbleToApproveOrCancelPairingRequests provides a mock function with given fields: allow
type ServiceInterface_CancelPairingWithSKI_Call ¶
ServiceInterface_CancelPairingWithSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairingWithSKI'
func (*ServiceInterface_CancelPairingWithSKI_Call) Return ¶
func (_c *ServiceInterface_CancelPairingWithSKI_Call) Return() *ServiceInterface_CancelPairingWithSKI_Call
func (*ServiceInterface_CancelPairingWithSKI_Call) Run ¶
func (_c *ServiceInterface_CancelPairingWithSKI_Call) Run(run func(ski string)) *ServiceInterface_CancelPairingWithSKI_Call
func (*ServiceInterface_CancelPairingWithSKI_Call) RunAndReturn ¶
func (_c *ServiceInterface_CancelPairingWithSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_CancelPairingWithSKI_Call
type ServiceInterface_Configuration_Call ¶
ServiceInterface_Configuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Configuration'
func (*ServiceInterface_Configuration_Call) Return ¶
func (_c *ServiceInterface_Configuration_Call) Return(_a0 *api.Configuration) *ServiceInterface_Configuration_Call
func (*ServiceInterface_Configuration_Call) Run ¶
func (_c *ServiceInterface_Configuration_Call) Run(run func()) *ServiceInterface_Configuration_Call
func (*ServiceInterface_Configuration_Call) RunAndReturn ¶
func (_c *ServiceInterface_Configuration_Call) RunAndReturn(run func() *api.Configuration) *ServiceInterface_Configuration_Call
type ServiceInterface_DisconnectSKI_Call ¶
ServiceInterface_DisconnectSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectSKI'
func (*ServiceInterface_DisconnectSKI_Call) Return ¶
func (_c *ServiceInterface_DisconnectSKI_Call) Return() *ServiceInterface_DisconnectSKI_Call
func (*ServiceInterface_DisconnectSKI_Call) Run ¶
func (_c *ServiceInterface_DisconnectSKI_Call) Run(run func(ski string, reason string)) *ServiceInterface_DisconnectSKI_Call
func (*ServiceInterface_DisconnectSKI_Call) RunAndReturn ¶
func (_c *ServiceInterface_DisconnectSKI_Call) RunAndReturn(run func(string, string)) *ServiceInterface_DisconnectSKI_Call
type ServiceInterface_Expecter ¶
type ServiceInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceInterface_Expecter) CancelPairingWithSKI ¶
func (_e *ServiceInterface_Expecter) CancelPairingWithSKI(ski interface{}) *ServiceInterface_CancelPairingWithSKI_Call
CancelPairingWithSKI is a helper method to define mock.On call
- ski string
func (*ServiceInterface_Expecter) Configuration ¶
func (_e *ServiceInterface_Expecter) Configuration() *ServiceInterface_Configuration_Call
Configuration is a helper method to define mock.On call
func (*ServiceInterface_Expecter) DisconnectSKI ¶
func (_e *ServiceInterface_Expecter) DisconnectSKI(ski interface{}, reason interface{}) *ServiceInterface_DisconnectSKI_Call
DisconnectSKI is a helper method to define mock.On call
- ski string
- reason string
func (*ServiceInterface_Expecter) LocalDevice ¶
func (_e *ServiceInterface_Expecter) LocalDevice() *ServiceInterface_LocalDevice_Call
LocalDevice is a helper method to define mock.On call
func (*ServiceInterface_Expecter) LocalService ¶
func (_e *ServiceInterface_Expecter) LocalService() *ServiceInterface_LocalService_Call
LocalService is a helper method to define mock.On call
func (*ServiceInterface_Expecter) PairingDetailForSki ¶
func (_e *ServiceInterface_Expecter) PairingDetailForSki(ski interface{}) *ServiceInterface_PairingDetailForSki_Call
PairingDetailForSki is a helper method to define mock.On call
- ski string
func (*ServiceInterface_Expecter) RegisterRemoteSKI ¶
func (_e *ServiceInterface_Expecter) RegisterRemoteSKI(ski interface{}) *ServiceInterface_RegisterRemoteSKI_Call
RegisterRemoteSKI is a helper method to define mock.On call
- ski string
func (*ServiceInterface_Expecter) RemoteServiceForSKI ¶
func (_e *ServiceInterface_Expecter) RemoteServiceForSKI(ski interface{}) *ServiceInterface_RemoteServiceForSKI_Call
RemoteServiceForSKI is a helper method to define mock.On call
- ski string
func (*ServiceInterface_Expecter) SetAutoAccept ¶
func (_e *ServiceInterface_Expecter) SetAutoAccept(value interface{}) *ServiceInterface_SetAutoAccept_Call
SetAutoAccept is a helper method to define mock.On call
- value bool
func (*ServiceInterface_Expecter) SetLogging ¶
func (_e *ServiceInterface_Expecter) SetLogging(logger interface{}) *ServiceInterface_SetLogging_Call
SetLogging is a helper method to define mock.On call
- logger logging.LoggingInterface
func (*ServiceInterface_Expecter) Setup ¶
func (_e *ServiceInterface_Expecter) Setup() *ServiceInterface_Setup_Call
Setup is a helper method to define mock.On call
func (*ServiceInterface_Expecter) Shutdown ¶
func (_e *ServiceInterface_Expecter) Shutdown() *ServiceInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*ServiceInterface_Expecter) Start ¶
func (_e *ServiceInterface_Expecter) Start() *ServiceInterface_Start_Call
Start is a helper method to define mock.On call
func (*ServiceInterface_Expecter) UnregisterRemoteSKI ¶
func (_e *ServiceInterface_Expecter) UnregisterRemoteSKI(ski interface{}) *ServiceInterface_UnregisterRemoteSKI_Call
UnregisterRemoteSKI is a helper method to define mock.On call
- ski string
func (*ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests ¶
func (_e *ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests(allow interface{}) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
UserIsAbleToApproveOrCancelPairingRequests is a helper method to define mock.On call
- allow bool
type ServiceInterface_LocalDevice_Call ¶
ServiceInterface_LocalDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalDevice'
func (*ServiceInterface_LocalDevice_Call) Return ¶
func (_c *ServiceInterface_LocalDevice_Call) Return(_a0 spine_goapi.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
func (*ServiceInterface_LocalDevice_Call) Run ¶
func (_c *ServiceInterface_LocalDevice_Call) Run(run func()) *ServiceInterface_LocalDevice_Call
func (*ServiceInterface_LocalDevice_Call) RunAndReturn ¶
func (_c *ServiceInterface_LocalDevice_Call) RunAndReturn(run func() spine_goapi.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
type ServiceInterface_LocalService_Call ¶
ServiceInterface_LocalService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalService'
func (*ServiceInterface_LocalService_Call) Return ¶
func (_c *ServiceInterface_LocalService_Call) Return(_a0 *ship_goapi.ServiceDetails) *ServiceInterface_LocalService_Call
func (*ServiceInterface_LocalService_Call) Run ¶
func (_c *ServiceInterface_LocalService_Call) Run(run func()) *ServiceInterface_LocalService_Call
func (*ServiceInterface_LocalService_Call) RunAndReturn ¶
func (_c *ServiceInterface_LocalService_Call) RunAndReturn(run func() *ship_goapi.ServiceDetails) *ServiceInterface_LocalService_Call
type ServiceInterface_PairingDetailForSki_Call ¶
ServiceInterface_PairingDetailForSki_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingDetailForSki'
func (*ServiceInterface_PairingDetailForSki_Call) Run ¶
func (_c *ServiceInterface_PairingDetailForSki_Call) Run(run func(ski string)) *ServiceInterface_PairingDetailForSki_Call
func (*ServiceInterface_PairingDetailForSki_Call) RunAndReturn ¶
func (_c *ServiceInterface_PairingDetailForSki_Call) RunAndReturn(run func(string) *ship_goapi.ConnectionStateDetail) *ServiceInterface_PairingDetailForSki_Call
type ServiceInterface_RegisterRemoteSKI_Call ¶
ServiceInterface_RegisterRemoteSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteSKI'
func (*ServiceInterface_RegisterRemoteSKI_Call) Return ¶
func (_c *ServiceInterface_RegisterRemoteSKI_Call) Return() *ServiceInterface_RegisterRemoteSKI_Call
func (*ServiceInterface_RegisterRemoteSKI_Call) Run ¶
func (_c *ServiceInterface_RegisterRemoteSKI_Call) Run(run func(ski string)) *ServiceInterface_RegisterRemoteSKI_Call
func (*ServiceInterface_RegisterRemoteSKI_Call) RunAndReturn ¶
func (_c *ServiceInterface_RegisterRemoteSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_RegisterRemoteSKI_Call
type ServiceInterface_RemoteServiceForSKI_Call ¶
ServiceInterface_RemoteServiceForSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceForSKI'
func (*ServiceInterface_RemoteServiceForSKI_Call) Return ¶
func (_c *ServiceInterface_RemoteServiceForSKI_Call) Return(_a0 *ship_goapi.ServiceDetails) *ServiceInterface_RemoteServiceForSKI_Call
func (*ServiceInterface_RemoteServiceForSKI_Call) Run ¶
func (_c *ServiceInterface_RemoteServiceForSKI_Call) Run(run func(ski string)) *ServiceInterface_RemoteServiceForSKI_Call
func (*ServiceInterface_RemoteServiceForSKI_Call) RunAndReturn ¶
func (_c *ServiceInterface_RemoteServiceForSKI_Call) RunAndReturn(run func(string) *ship_goapi.ServiceDetails) *ServiceInterface_RemoteServiceForSKI_Call
type ServiceInterface_SetAutoAccept_Call ¶
ServiceInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'
func (*ServiceInterface_SetAutoAccept_Call) Return ¶
func (_c *ServiceInterface_SetAutoAccept_Call) Return() *ServiceInterface_SetAutoAccept_Call
func (*ServiceInterface_SetAutoAccept_Call) Run ¶
func (_c *ServiceInterface_SetAutoAccept_Call) Run(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
func (*ServiceInterface_SetAutoAccept_Call) RunAndReturn ¶
func (_c *ServiceInterface_SetAutoAccept_Call) RunAndReturn(run func(bool)) *ServiceInterface_SetAutoAccept_Call
type ServiceInterface_SetLogging_Call ¶
ServiceInterface_SetLogging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogging'
func (*ServiceInterface_SetLogging_Call) Return ¶
func (_c *ServiceInterface_SetLogging_Call) Return() *ServiceInterface_SetLogging_Call
func (*ServiceInterface_SetLogging_Call) Run ¶
func (_c *ServiceInterface_SetLogging_Call) Run(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
func (*ServiceInterface_SetLogging_Call) RunAndReturn ¶
func (_c *ServiceInterface_SetLogging_Call) RunAndReturn(run func(logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
type ServiceInterface_Setup_Call ¶
ServiceInterface_Setup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Setup'
func (*ServiceInterface_Setup_Call) Return ¶
func (_c *ServiceInterface_Setup_Call) Return(_a0 error) *ServiceInterface_Setup_Call
func (*ServiceInterface_Setup_Call) Run ¶
func (_c *ServiceInterface_Setup_Call) Run(run func()) *ServiceInterface_Setup_Call
func (*ServiceInterface_Setup_Call) RunAndReturn ¶
func (_c *ServiceInterface_Setup_Call) RunAndReturn(run func() error) *ServiceInterface_Setup_Call
type ServiceInterface_Shutdown_Call ¶
ServiceInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*ServiceInterface_Shutdown_Call) Return ¶
func (_c *ServiceInterface_Shutdown_Call) Return() *ServiceInterface_Shutdown_Call
func (*ServiceInterface_Shutdown_Call) Run ¶
func (_c *ServiceInterface_Shutdown_Call) Run(run func()) *ServiceInterface_Shutdown_Call
func (*ServiceInterface_Shutdown_Call) RunAndReturn ¶
func (_c *ServiceInterface_Shutdown_Call) RunAndReturn(run func()) *ServiceInterface_Shutdown_Call
type ServiceInterface_Start_Call ¶
ServiceInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ServiceInterface_Start_Call) Return ¶
func (_c *ServiceInterface_Start_Call) Return() *ServiceInterface_Start_Call
func (*ServiceInterface_Start_Call) Run ¶
func (_c *ServiceInterface_Start_Call) Run(run func()) *ServiceInterface_Start_Call
func (*ServiceInterface_Start_Call) RunAndReturn ¶
func (_c *ServiceInterface_Start_Call) RunAndReturn(run func()) *ServiceInterface_Start_Call
type ServiceInterface_UnregisterRemoteSKI_Call ¶
ServiceInterface_UnregisterRemoteSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteSKI'
func (*ServiceInterface_UnregisterRemoteSKI_Call) Return ¶
func (_c *ServiceInterface_UnregisterRemoteSKI_Call) Return() *ServiceInterface_UnregisterRemoteSKI_Call
func (*ServiceInterface_UnregisterRemoteSKI_Call) Run ¶
func (_c *ServiceInterface_UnregisterRemoteSKI_Call) Run(run func(ski string)) *ServiceInterface_UnregisterRemoteSKI_Call
func (*ServiceInterface_UnregisterRemoteSKI_Call) RunAndReturn ¶
func (_c *ServiceInterface_UnregisterRemoteSKI_Call) RunAndReturn(run func(string)) *ServiceInterface_UnregisterRemoteSKI_Call
type ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call ¶
ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserIsAbleToApproveOrCancelPairingRequests'
func (*ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run ¶
func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
func (*ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn ¶
func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn(run func(bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
type ServiceReaderInterface ¶
ServiceReaderInterface is an autogenerated mock type for the ServiceReaderInterface type
func NewServiceReaderInterface ¶
func NewServiceReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceReaderInterface
NewServiceReaderInterface creates a new instance of ServiceReaderInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceReaderInterface) EXPECT ¶
func (_m *ServiceReaderInterface) EXPECT() *ServiceReaderInterface_Expecter
func (*ServiceReaderInterface) RemoteSKIConnected ¶
func (_m *ServiceReaderInterface) RemoteSKIConnected(service api.ServiceInterface, ski string)
RemoteSKIConnected provides a mock function with given fields: service, ski
func (*ServiceReaderInterface) RemoteSKIDisconnected ¶
func (_m *ServiceReaderInterface) RemoteSKIDisconnected(service api.ServiceInterface, ski string)
RemoteSKIDisconnected provides a mock function with given fields: service, ski
func (*ServiceReaderInterface) ServicePairingDetailUpdate ¶
func (_m *ServiceReaderInterface) ServicePairingDetailUpdate(ski string, detail *ship_goapi.ConnectionStateDetail)
ServicePairingDetailUpdate provides a mock function with given fields: ski, detail
func (*ServiceReaderInterface) ServiceShipIDUpdate ¶
func (_m *ServiceReaderInterface) ServiceShipIDUpdate(ski string, shipdID string)
ServiceShipIDUpdate provides a mock function with given fields: ski, shipdID
func (*ServiceReaderInterface) VisibleRemoteServicesUpdated ¶
func (_m *ServiceReaderInterface) VisibleRemoteServicesUpdated(service api.ServiceInterface, entries []ship_goapi.RemoteService)
VisibleRemoteServicesUpdated provides a mock function with given fields: service, entries
type ServiceReaderInterface_Expecter ¶
type ServiceReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceReaderInterface_Expecter) RemoteSKIConnected ¶
func (_e *ServiceReaderInterface_Expecter) RemoteSKIConnected(service interface{}, ski interface{}) *ServiceReaderInterface_RemoteSKIConnected_Call
RemoteSKIConnected is a helper method to define mock.On call
- service api.ServiceInterface
- ski string
func (*ServiceReaderInterface_Expecter) RemoteSKIDisconnected ¶
func (_e *ServiceReaderInterface_Expecter) RemoteSKIDisconnected(service interface{}, ski interface{}) *ServiceReaderInterface_RemoteSKIDisconnected_Call
RemoteSKIDisconnected is a helper method to define mock.On call
- service api.ServiceInterface
- ski string
func (*ServiceReaderInterface_Expecter) ServicePairingDetailUpdate ¶
func (_e *ServiceReaderInterface_Expecter) ServicePairingDetailUpdate(ski interface{}, detail interface{}) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
ServicePairingDetailUpdate is a helper method to define mock.On call
- ski string
- detail *ship_goapi.ConnectionStateDetail
func (*ServiceReaderInterface_Expecter) ServiceShipIDUpdate ¶
func (_e *ServiceReaderInterface_Expecter) ServiceShipIDUpdate(ski interface{}, shipdID interface{}) *ServiceReaderInterface_ServiceShipIDUpdate_Call
ServiceShipIDUpdate is a helper method to define mock.On call
- ski string
- shipdID string
func (*ServiceReaderInterface_Expecter) VisibleRemoteServicesUpdated ¶
func (_e *ServiceReaderInterface_Expecter) VisibleRemoteServicesUpdated(service interface{}, entries interface{}) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
VisibleRemoteServicesUpdated is a helper method to define mock.On call
- service api.ServiceInterface
- entries []ship_goapi.RemoteService
type ServiceReaderInterface_RemoteSKIConnected_Call ¶
ServiceReaderInterface_RemoteSKIConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIConnected'
func (*ServiceReaderInterface_RemoteSKIConnected_Call) Run ¶
func (_c *ServiceReaderInterface_RemoteSKIConnected_Call) Run(run func(service api.ServiceInterface, ski string)) *ServiceReaderInterface_RemoteSKIConnected_Call
func (*ServiceReaderInterface_RemoteSKIConnected_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_RemoteSKIConnected_Call) RunAndReturn(run func(api.ServiceInterface, string)) *ServiceReaderInterface_RemoteSKIConnected_Call
type ServiceReaderInterface_RemoteSKIDisconnected_Call ¶
ServiceReaderInterface_RemoteSKIDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIDisconnected'
func (*ServiceReaderInterface_RemoteSKIDisconnected_Call) Run ¶
func (_c *ServiceReaderInterface_RemoteSKIDisconnected_Call) Run(run func(service api.ServiceInterface, ski string)) *ServiceReaderInterface_RemoteSKIDisconnected_Call
func (*ServiceReaderInterface_RemoteSKIDisconnected_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_RemoteSKIDisconnected_Call) RunAndReturn(run func(api.ServiceInterface, string)) *ServiceReaderInterface_RemoteSKIDisconnected_Call
type ServiceReaderInterface_ServicePairingDetailUpdate_Call ¶
ServiceReaderInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'
func (*ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run ¶
func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(ski string, detail *ship_goapi.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
func (*ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(string, *ship_goapi.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
type ServiceReaderInterface_ServiceShipIDUpdate_Call ¶
ServiceReaderInterface_ServiceShipIDUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceShipIDUpdate'
func (*ServiceReaderInterface_ServiceShipIDUpdate_Call) Run ¶
func (_c *ServiceReaderInterface_ServiceShipIDUpdate_Call) Run(run func(ski string, shipdID string)) *ServiceReaderInterface_ServiceShipIDUpdate_Call
func (*ServiceReaderInterface_ServiceShipIDUpdate_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_ServiceShipIDUpdate_Call) RunAndReturn(run func(string, string)) *ServiceReaderInterface_ServiceShipIDUpdate_Call
type ServiceReaderInterface_VisibleRemoteServicesUpdated_Call ¶
ServiceReaderInterface_VisibleRemoteServicesUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VisibleRemoteServicesUpdated'
func (*ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) Run ¶
func (_c *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) Run(run func(service api.ServiceInterface, entries []ship_goapi.RemoteService)) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call
func (*ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call) RunAndReturn(run func(api.ServiceInterface, []ship_goapi.RemoteService)) *ServiceReaderInterface_VisibleRemoteServicesUpdated_Call