Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type HubInterface
- func (_mock *HubInterface) CancelPairing(identity api.ServiceIdentity)
- func (_mock *HubInterface) DisconnectService(identity api.ServiceIdentity, reason string)
- func (_m *HubInterface) EXPECT() *HubInterface_Expecter
- func (_mock *HubInterface) GeneratePairingQR() (string, error)
- func (_mock *HubInterface) GetActiveAnnouncements() []string
- func (_mock *HubInterface) GetLocalCertificateFingerprint() (string, error)
- func (_mock *HubInterface) GetTrustedAddCuDevice() *api.ServiceDetails
- func (_mock *HubInterface) IsAnnouncingTo(shipID string) bool
- func (_mock *HubInterface) IsAutoAcceptEnabled() bool
- func (_mock *HubInterface) PairingDetailFor(identity api.ServiceIdentity) *api.ConnectionStateDetail
- func (_mock *HubInterface) PairingService() api.ShipPairingServiceInterface
- func (_mock *HubInterface) RegisterRemoteService(identity api.ServiceIdentity)
- func (_mock *HubInterface) ServiceFor(identity api.ServiceIdentity) *api.ServiceDetails
- func (_mock *HubInterface) ServiceForIdentifier(ski string, fingerprint string) *api.ServiceDetails
- func (_mock *HubInterface) SetAutoAccept(b bool)
- func (_mock *HubInterface) SetMaxConnections(maxConnections int)
- func (_mock *HubInterface) SetPairingService(service api.ShipPairingServiceInterface) error
- func (_mock *HubInterface) Shutdown()
- func (_mock *HubInterface) Start() error
- func (_mock *HubInterface) StartAnnouncementTo(target api.PairingTarget) error
- func (_mock *HubInterface) StopAnnouncementTo(shipID string) error
- func (_mock *HubInterface) UnregisterRemoteService(identity api.ServiceIdentity)
- type HubInterface_CancelPairing_Call
- func (_c *HubInterface_CancelPairing_Call) Return() *HubInterface_CancelPairing_Call
- func (_c *HubInterface_CancelPairing_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_CancelPairing_Call
- func (_c *HubInterface_CancelPairing_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_CancelPairing_Call
- type HubInterface_DisconnectService_Call
- func (_c *HubInterface_DisconnectService_Call) Return() *HubInterface_DisconnectService_Call
- func (_c *HubInterface_DisconnectService_Call) Run(run func(identity api.ServiceIdentity, reason string)) *HubInterface_DisconnectService_Call
- func (_c *HubInterface_DisconnectService_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *HubInterface_DisconnectService_Call
- type HubInterface_Expecter
- func (_e *HubInterface_Expecter) CancelPairing(identity interface{}) *HubInterface_CancelPairing_Call
- func (_e *HubInterface_Expecter) DisconnectService(identity interface{}, reason interface{}) *HubInterface_DisconnectService_Call
- func (_e *HubInterface_Expecter) GeneratePairingQR() *HubInterface_GeneratePairingQR_Call
- func (_e *HubInterface_Expecter) GetActiveAnnouncements() *HubInterface_GetActiveAnnouncements_Call
- func (_e *HubInterface_Expecter) GetLocalCertificateFingerprint() *HubInterface_GetLocalCertificateFingerprint_Call
- func (_e *HubInterface_Expecter) GetTrustedAddCuDevice() *HubInterface_GetTrustedAddCuDevice_Call
- func (_e *HubInterface_Expecter) IsAnnouncingTo(shipID interface{}) *HubInterface_IsAnnouncingTo_Call
- func (_e *HubInterface_Expecter) IsAutoAcceptEnabled() *HubInterface_IsAutoAcceptEnabled_Call
- func (_e *HubInterface_Expecter) PairingDetailFor(identity interface{}) *HubInterface_PairingDetailFor_Call
- func (_e *HubInterface_Expecter) PairingService() *HubInterface_PairingService_Call
- func (_e *HubInterface_Expecter) RegisterRemoteService(identity interface{}) *HubInterface_RegisterRemoteService_Call
- func (_e *HubInterface_Expecter) ServiceFor(identity interface{}) *HubInterface_ServiceFor_Call
- func (_e *HubInterface_Expecter) ServiceForIdentifier(ski interface{}, fingerprint interface{}) *HubInterface_ServiceForIdentifier_Call
- func (_e *HubInterface_Expecter) SetAutoAccept(b interface{}) *HubInterface_SetAutoAccept_Call
- func (_e *HubInterface_Expecter) SetMaxConnections(maxConnections interface{}) *HubInterface_SetMaxConnections_Call
- func (_e *HubInterface_Expecter) SetPairingService(service interface{}) *HubInterface_SetPairingService_Call
- func (_e *HubInterface_Expecter) Shutdown() *HubInterface_Shutdown_Call
- func (_e *HubInterface_Expecter) Start() *HubInterface_Start_Call
- func (_e *HubInterface_Expecter) StartAnnouncementTo(target interface{}) *HubInterface_StartAnnouncementTo_Call
- func (_e *HubInterface_Expecter) StopAnnouncementTo(shipID interface{}) *HubInterface_StopAnnouncementTo_Call
- func (_e *HubInterface_Expecter) UnregisterRemoteService(identity interface{}) *HubInterface_UnregisterRemoteService_Call
- type HubInterface_GeneratePairingQR_Call
- func (_c *HubInterface_GeneratePairingQR_Call) Return(s string, err error) *HubInterface_GeneratePairingQR_Call
- func (_c *HubInterface_GeneratePairingQR_Call) Run(run func()) *HubInterface_GeneratePairingQR_Call
- func (_c *HubInterface_GeneratePairingQR_Call) RunAndReturn(run func() (string, error)) *HubInterface_GeneratePairingQR_Call
- type HubInterface_GetActiveAnnouncements_Call
- func (_c *HubInterface_GetActiveAnnouncements_Call) Return(strings []string) *HubInterface_GetActiveAnnouncements_Call
- func (_c *HubInterface_GetActiveAnnouncements_Call) Run(run func()) *HubInterface_GetActiveAnnouncements_Call
- func (_c *HubInterface_GetActiveAnnouncements_Call) RunAndReturn(run func() []string) *HubInterface_GetActiveAnnouncements_Call
- type HubInterface_GetLocalCertificateFingerprint_Call
- func (_c *HubInterface_GetLocalCertificateFingerprint_Call) Return(s string, err error) *HubInterface_GetLocalCertificateFingerprint_Call
- func (_c *HubInterface_GetLocalCertificateFingerprint_Call) Run(run func()) *HubInterface_GetLocalCertificateFingerprint_Call
- func (_c *HubInterface_GetLocalCertificateFingerprint_Call) RunAndReturn(run func() (string, error)) *HubInterface_GetLocalCertificateFingerprint_Call
- type HubInterface_GetTrustedAddCuDevice_Call
- func (_c *HubInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_GetTrustedAddCuDevice_Call
- func (_c *HubInterface_GetTrustedAddCuDevice_Call) Run(run func()) *HubInterface_GetTrustedAddCuDevice_Call
- func (_c *HubInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api.ServiceDetails) *HubInterface_GetTrustedAddCuDevice_Call
- type HubInterface_IsAnnouncingTo_Call
- func (_c *HubInterface_IsAnnouncingTo_Call) Return(b bool) *HubInterface_IsAnnouncingTo_Call
- func (_c *HubInterface_IsAnnouncingTo_Call) Run(run func(shipID string)) *HubInterface_IsAnnouncingTo_Call
- func (_c *HubInterface_IsAnnouncingTo_Call) RunAndReturn(run func(shipID string) bool) *HubInterface_IsAnnouncingTo_Call
- type HubInterface_IsAutoAcceptEnabled_Call
- func (_c *HubInterface_IsAutoAcceptEnabled_Call) Return(b bool) *HubInterface_IsAutoAcceptEnabled_Call
- func (_c *HubInterface_IsAutoAcceptEnabled_Call) Run(run func()) *HubInterface_IsAutoAcceptEnabled_Call
- func (_c *HubInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *HubInterface_IsAutoAcceptEnabled_Call
- type HubInterface_PairingDetailFor_Call
- func (_c *HubInterface_PairingDetailFor_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubInterface_PairingDetailFor_Call
- func (_c *HubInterface_PairingDetailFor_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_PairingDetailFor_Call
- func (_c *HubInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ConnectionStateDetail) *HubInterface_PairingDetailFor_Call
- type HubInterface_PairingService_Call
- func (_c *HubInterface_PairingService_Call) Return(shipPairingServiceInterface api.ShipPairingServiceInterface) *HubInterface_PairingService_Call
- func (_c *HubInterface_PairingService_Call) Run(run func()) *HubInterface_PairingService_Call
- func (_c *HubInterface_PairingService_Call) RunAndReturn(run func() api.ShipPairingServiceInterface) *HubInterface_PairingService_Call
- type HubInterface_RegisterRemoteService_Call
- func (_c *HubInterface_RegisterRemoteService_Call) Return() *HubInterface_RegisterRemoteService_Call
- func (_c *HubInterface_RegisterRemoteService_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_RegisterRemoteService_Call
- func (_c *HubInterface_RegisterRemoteService_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_RegisterRemoteService_Call
- type HubInterface_ServiceForIdentifier_Call
- func (_c *HubInterface_ServiceForIdentifier_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_ServiceForIdentifier_Call
- func (_c *HubInterface_ServiceForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubInterface_ServiceForIdentifier_Call
- func (_c *HubInterface_ServiceForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ServiceDetails) *HubInterface_ServiceForIdentifier_Call
- type HubInterface_ServiceFor_Call
- func (_c *HubInterface_ServiceFor_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_ServiceFor_Call
- func (_c *HubInterface_ServiceFor_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_ServiceFor_Call
- func (_c *HubInterface_ServiceFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ServiceDetails) *HubInterface_ServiceFor_Call
- type HubInterface_SetAutoAccept_Call
- type HubInterface_SetMaxConnections_Call
- func (_c *HubInterface_SetMaxConnections_Call) Return() *HubInterface_SetMaxConnections_Call
- func (_c *HubInterface_SetMaxConnections_Call) Run(run func(maxConnections int)) *HubInterface_SetMaxConnections_Call
- func (_c *HubInterface_SetMaxConnections_Call) RunAndReturn(run func(maxConnections int)) *HubInterface_SetMaxConnections_Call
- type HubInterface_SetPairingService_Call
- func (_c *HubInterface_SetPairingService_Call) Return(err error) *HubInterface_SetPairingService_Call
- func (_c *HubInterface_SetPairingService_Call) Run(run func(service api.ShipPairingServiceInterface)) *HubInterface_SetPairingService_Call
- func (_c *HubInterface_SetPairingService_Call) RunAndReturn(run func(service api.ShipPairingServiceInterface) error) *HubInterface_SetPairingService_Call
- type HubInterface_Shutdown_Call
- type HubInterface_StartAnnouncementTo_Call
- func (_c *HubInterface_StartAnnouncementTo_Call) Return(err error) *HubInterface_StartAnnouncementTo_Call
- func (_c *HubInterface_StartAnnouncementTo_Call) Run(run func(target api.PairingTarget)) *HubInterface_StartAnnouncementTo_Call
- func (_c *HubInterface_StartAnnouncementTo_Call) RunAndReturn(run func(target api.PairingTarget) error) *HubInterface_StartAnnouncementTo_Call
- type HubInterface_Start_Call
- type HubInterface_StopAnnouncementTo_Call
- func (_c *HubInterface_StopAnnouncementTo_Call) Return(err error) *HubInterface_StopAnnouncementTo_Call
- func (_c *HubInterface_StopAnnouncementTo_Call) Run(run func(shipID string)) *HubInterface_StopAnnouncementTo_Call
- func (_c *HubInterface_StopAnnouncementTo_Call) RunAndReturn(run func(shipID string) error) *HubInterface_StopAnnouncementTo_Call
- type HubInterface_UnregisterRemoteService_Call
- func (_c *HubInterface_UnregisterRemoteService_Call) Return() *HubInterface_UnregisterRemoteService_Call
- func (_c *HubInterface_UnregisterRemoteService_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_UnregisterRemoteService_Call
- func (_c *HubInterface_UnregisterRemoteService_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_UnregisterRemoteService_Call
- type HubReaderInterface
- func (_mock *HubReaderInterface) AllowWaitingForTrust(identity api.ServiceIdentity) bool
- func (_m *HubReaderInterface) EXPECT() *HubReaderInterface_Expecter
- func (_mock *HubReaderInterface) RemoteServiceConnected(identity api.ServiceIdentity)
- func (_mock *HubReaderInterface) RemoteServiceDisconnected(identity api.ServiceIdentity)
- func (_mock *HubReaderInterface) ServicePairingDetailUpdate(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)
- func (_mock *HubReaderInterface) ServiceUpdated(identity api.ServiceIdentity)
- func (_mock *HubReaderInterface) SetupRemoteService(identity api.ServiceIdentity, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
- func (_mock *HubReaderInterface) VisibleRemoteMdnsServicesUpdated(entries []api.RemoteMdnsService)
- type HubReaderInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderInterface_AllowWaitingForTrust_Call) Return(b bool) *HubReaderInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderInterface_AllowWaitingForTrust_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(identity api.ServiceIdentity) bool) *HubReaderInterface_AllowWaitingForTrust_Call
- type HubReaderInterface_Expecter
- func (_e *HubReaderInterface_Expecter) AllowWaitingForTrust(identity interface{}) *HubReaderInterface_AllowWaitingForTrust_Call
- func (_e *HubReaderInterface_Expecter) RemoteServiceConnected(identity interface{}) *HubReaderInterface_RemoteServiceConnected_Call
- func (_e *HubReaderInterface_Expecter) RemoteServiceDisconnected(identity interface{}) *HubReaderInterface_RemoteServiceDisconnected_Call
- func (_e *HubReaderInterface_Expecter) ServicePairingDetailUpdate(identity interface{}, detail interface{}) *HubReaderInterface_ServicePairingDetailUpdate_Call
- func (_e *HubReaderInterface_Expecter) ServiceUpdated(identity interface{}) *HubReaderInterface_ServiceUpdated_Call
- func (_e *HubReaderInterface_Expecter) SetupRemoteService(identity interface{}, writeI interface{}) *HubReaderInterface_SetupRemoteService_Call
- func (_e *HubReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated(entries interface{}) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- type HubReaderInterface_RemoteServiceConnected_Call
- func (_c *HubReaderInterface_RemoteServiceConnected_Call) Return() *HubReaderInterface_RemoteServiceConnected_Call
- func (_c *HubReaderInterface_RemoteServiceConnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceConnected_Call
- func (_c *HubReaderInterface_RemoteServiceConnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceConnected_Call
- type HubReaderInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderInterface_RemoteServiceDisconnected_Call) Return() *HubReaderInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderInterface_RemoteServiceDisconnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceDisconnected_Call
- type HubReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderInterface_ServicePairingDetailUpdate_Call) Return() *HubReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderInterface_ServicePairingDetailUpdate_Call
- type HubReaderInterface_ServiceUpdated_Call
- func (_c *HubReaderInterface_ServiceUpdated_Call) Return() *HubReaderInterface_ServiceUpdated_Call
- func (_c *HubReaderInterface_ServiceUpdated_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_ServiceUpdated_Call
- func (_c *HubReaderInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_ServiceUpdated_Call
- type HubReaderInterface_SetupRemoteService_Call
- func (_c *HubReaderInterface_SetupRemoteService_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *HubReaderInterface_SetupRemoteService_Call
- func (_c *HubReaderInterface_SetupRemoteService_Call) Run(...) *HubReaderInterface_SetupRemoteService_Call
- func (_c *HubReaderInterface_SetupRemoteService_Call) RunAndReturn(...) *HubReaderInterface_SetupRemoteService_Call
- type HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Return() *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run(run func(entries []api.RemoteMdnsService)) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(entries []api.RemoteMdnsService)) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- type HubReaderServiceIdentityInterface
- func (_mock *HubReaderServiceIdentityInterface) AllowWaitingForTrust(ski string) bool
- func (_mock *HubReaderServiceIdentityInterface) AllowWaitingForTrustIdentity(identity api.ServiceIdentity) bool
- func (_m *HubReaderServiceIdentityInterface) EXPECT() *HubReaderServiceIdentityInterface_Expecter
- func (_mock *HubReaderServiceIdentityInterface) RemoteSKIConnected(ski string)
- func (_mock *HubReaderServiceIdentityInterface) RemoteSKIDisconnected(ski string)
- func (_mock *HubReaderServiceIdentityInterface) RemoteServiceConnected(identity api.ServiceIdentity)
- func (_mock *HubReaderServiceIdentityInterface) RemoteServiceDisconnected(identity api.ServiceIdentity)
- func (_mock *HubReaderServiceIdentityInterface) ServicePairingDetailUpdate(ski string, detail *api.ConnectionStateDetail)
- func (_mock *HubReaderServiceIdentityInterface) ServicePairingDetailUpdateIdentity(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)
- func (_mock *HubReaderServiceIdentityInterface) ServiceShipIDUpdate(ski string, shipdID string)
- func (_mock *HubReaderServiceIdentityInterface) ServiceUpdated(identity api.ServiceIdentity)
- func (_mock *HubReaderServiceIdentityInterface) SetupRemoteDevice(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
- func (_mock *HubReaderServiceIdentityInterface) VisibleRemoteMdnsServicesUpdated(entries []api.RemoteMdnsService)
- type HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) Return(b bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity) bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
- type HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Return(b bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
- func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(ski string) bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
- type HubReaderServiceIdentityInterface_Expecter
- func (_e *HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrust(ski interface{}) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrustIdentity(identity interface{}) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteSKIConnected(ski interface{}) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteSKIDisconnected(ski interface{}) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteServiceConnected(identity interface{}) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteServiceDisconnected(identity interface{}) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdate(ski interface{}, detail interface{}) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdateIdentity(identity interface{}, detail interface{}) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) ServiceShipIDUpdate(ski interface{}, shipdID interface{}) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) ServiceUpdated(identity interface{}) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) SetupRemoteDevice(ski interface{}, writeI interface{}) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
- func (_e *HubReaderServiceIdentityInterface_Expecter) VisibleRemoteMdnsServicesUpdated(entries interface{}) *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
- type HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Return() *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) RunAndReturn(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
- type HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Return() *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) RunAndReturn(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
- type HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Return() *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
- type HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Return() *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
- func (_c *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
- type HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) Return() *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) Run(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
- type HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Return() *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Run(run func(ski string, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(ski string, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
- type HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Return() *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Run(run func(ski string, shipdID string)) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) RunAndReturn(run func(ski string, shipdID string)) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
- type HubReaderServiceIdentityInterface_ServiceUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceUpdated_Call) Return() *HubReaderServiceIdentityInterface_ServiceUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceUpdated_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
- type HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
- func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
- func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Run(run func(ski string, writeI api.ShipConnectionDataWriterInterface)) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
- func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) RunAndReturn(...) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
- type HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) Return() *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) Run(run func(entries []api.RemoteMdnsService)) *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(entries []api.RemoteMdnsService)) *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
- type HubServiceIdentityInterface
- func (_mock *HubServiceIdentityInterface) CancelPairingWithSKI(ski string)
- func (_mock *HubServiceIdentityInterface) CancelPairingWithServiceIdentity(identity api.ServiceIdentity)
- func (_mock *HubServiceIdentityInterface) DisconnectSKI(ski string, reason string)
- func (_mock *HubServiceIdentityInterface) DisconnectServiceIdentity(identity api.ServiceIdentity, reason string)
- func (_m *HubServiceIdentityInterface) EXPECT() *HubServiceIdentityInterface_Expecter
- func (_mock *HubServiceIdentityInterface) PairingDetailFor(identity api.ServiceIdentity) *api.ConnectionStateDetail
- func (_mock *HubServiceIdentityInterface) PairingDetailForIdentifier(ski string, fingerprint string) *api.ConnectionStateDetail
- func (_mock *HubServiceIdentityInterface) RegisterRemoteService(ski string, fingerprint string, shipID string)
- func (_mock *HubServiceIdentityInterface) RegisterRemoteServiceIdentity(identity api.ServiceIdentity)
- func (_mock *HubServiceIdentityInterface) ServiceFor(identity api.ServiceIdentity) *api.ServiceDetails
- func (_mock *HubServiceIdentityInterface) ServiceForIdentifier(ski string, fingerprint string) *api.ServiceDetails
- func (_mock *HubServiceIdentityInterface) SetAutoAccept(b bool)
- func (_mock *HubServiceIdentityInterface) Shutdown()
- func (_mock *HubServiceIdentityInterface) Start() error
- func (_mock *HubServiceIdentityInterface) UnregisterRemoteService(ski string, fingerprint string)
- func (_mock *HubServiceIdentityInterface) UnregisterRemoteServiceIdentity(identity api.ServiceIdentity)
- type HubServiceIdentityInterface_CancelPairingWithSKI_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithSKI_Call) Return() *HubServiceIdentityInterface_CancelPairingWithSKI_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithSKI_Call) Run(run func(ski string)) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithSKI_Call) RunAndReturn(run func(ski string)) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
- type HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Return() *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
- type HubServiceIdentityInterface_DisconnectSKI_Call
- func (_c *HubServiceIdentityInterface_DisconnectSKI_Call) Return() *HubServiceIdentityInterface_DisconnectSKI_Call
- func (_c *HubServiceIdentityInterface_DisconnectSKI_Call) Run(run func(ski string, reason string)) *HubServiceIdentityInterface_DisconnectSKI_Call
- func (_c *HubServiceIdentityInterface_DisconnectSKI_Call) RunAndReturn(run func(ski string, reason string)) *HubServiceIdentityInterface_DisconnectSKI_Call
- type HubServiceIdentityInterface_DisconnectServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Return() *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Run(run func(identity api.ServiceIdentity, reason string)) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_DisconnectServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
- type HubServiceIdentityInterface_Expecter
- func (_e *HubServiceIdentityInterface_Expecter) CancelPairingWithSKI(ski interface{}) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
- func (_e *HubServiceIdentityInterface_Expecter) CancelPairingWithServiceIdentity(identity interface{}) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
- func (_e *HubServiceIdentityInterface_Expecter) DisconnectSKI(ski interface{}, reason interface{}) *HubServiceIdentityInterface_DisconnectSKI_Call
- func (_e *HubServiceIdentityInterface_Expecter) DisconnectServiceIdentity(identity interface{}, reason interface{}) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
- func (_e *HubServiceIdentityInterface_Expecter) PairingDetailFor(identity interface{}) *HubServiceIdentityInterface_PairingDetailFor_Call
- func (_e *HubServiceIdentityInterface_Expecter) PairingDetailForIdentifier(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
- func (_e *HubServiceIdentityInterface_Expecter) RegisterRemoteService(ski interface{}, fingerprint interface{}, shipID interface{}) *HubServiceIdentityInterface_RegisterRemoteService_Call
- func (_e *HubServiceIdentityInterface_Expecter) RegisterRemoteServiceIdentity(identity interface{}) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
- func (_e *HubServiceIdentityInterface_Expecter) ServiceFor(identity interface{}) *HubServiceIdentityInterface_ServiceFor_Call
- func (_e *HubServiceIdentityInterface_Expecter) ServiceForIdentifier(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_ServiceForIdentifier_Call
- func (_e *HubServiceIdentityInterface_Expecter) SetAutoAccept(b interface{}) *HubServiceIdentityInterface_SetAutoAccept_Call
- func (_e *HubServiceIdentityInterface_Expecter) Shutdown() *HubServiceIdentityInterface_Shutdown_Call
- func (_e *HubServiceIdentityInterface_Expecter) Start() *HubServiceIdentityInterface_Start_Call
- func (_e *HubServiceIdentityInterface_Expecter) UnregisterRemoteService(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_UnregisterRemoteService_Call
- func (_e *HubServiceIdentityInterface_Expecter) UnregisterRemoteServiceIdentity(identity interface{}) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
- type HubServiceIdentityInterface_PairingDetailForIdentifier_Call
- func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
- func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
- func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
- type HubServiceIdentityInterface_PairingDetailFor_Call
- func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailFor_Call
- func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_PairingDetailFor_Call
- func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailFor_Call
- type HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Return() *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
- type HubServiceIdentityInterface_RegisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteService_Call) Return() *HubServiceIdentityInterface_RegisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteService_Call) Run(run func(ski string, fingerprint string, shipID string)) *HubServiceIdentityInterface_RegisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_RegisterRemoteService_Call) RunAndReturn(run func(ski string, fingerprint string, shipID string)) *HubServiceIdentityInterface_RegisterRemoteService_Call
- type HubServiceIdentityInterface_ServiceForIdentifier_Call
- func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) Return(serviceDetails *api.ServiceDetails) *HubServiceIdentityInterface_ServiceForIdentifier_Call
- func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_ServiceForIdentifier_Call
- func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ServiceDetails) *HubServiceIdentityInterface_ServiceForIdentifier_Call
- type HubServiceIdentityInterface_ServiceFor_Call
- func (_c *HubServiceIdentityInterface_ServiceFor_Call) Return(serviceDetails *api.ServiceDetails) *HubServiceIdentityInterface_ServiceFor_Call
- func (_c *HubServiceIdentityInterface_ServiceFor_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_ServiceFor_Call
- func (_c *HubServiceIdentityInterface_ServiceFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ServiceDetails) *HubServiceIdentityInterface_ServiceFor_Call
- type HubServiceIdentityInterface_SetAutoAccept_Call
- func (_c *HubServiceIdentityInterface_SetAutoAccept_Call) Return() *HubServiceIdentityInterface_SetAutoAccept_Call
- func (_c *HubServiceIdentityInterface_SetAutoAccept_Call) Run(run func(b bool)) *HubServiceIdentityInterface_SetAutoAccept_Call
- func (_c *HubServiceIdentityInterface_SetAutoAccept_Call) RunAndReturn(run func(b bool)) *HubServiceIdentityInterface_SetAutoAccept_Call
- type HubServiceIdentityInterface_Shutdown_Call
- func (_c *HubServiceIdentityInterface_Shutdown_Call) Return() *HubServiceIdentityInterface_Shutdown_Call
- func (_c *HubServiceIdentityInterface_Shutdown_Call) Run(run func()) *HubServiceIdentityInterface_Shutdown_Call
- func (_c *HubServiceIdentityInterface_Shutdown_Call) RunAndReturn(run func()) *HubServiceIdentityInterface_Shutdown_Call
- type HubServiceIdentityInterface_Start_Call
- func (_c *HubServiceIdentityInterface_Start_Call) Return(err error) *HubServiceIdentityInterface_Start_Call
- func (_c *HubServiceIdentityInterface_Start_Call) Run(run func()) *HubServiceIdentityInterface_Start_Call
- func (_c *HubServiceIdentityInterface_Start_Call) RunAndReturn(run func() error) *HubServiceIdentityInterface_Start_Call
- type HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Return() *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
- type HubServiceIdentityInterface_UnregisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteService_Call) Return() *HubServiceIdentityInterface_UnregisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteService_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_UnregisterRemoteService_Call
- func (_c *HubServiceIdentityInterface_UnregisterRemoteService_Call) RunAndReturn(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_UnregisterRemoteService_Call
- type LoggingInterface
- func (_m *LoggingInterface) Debug(args ...interface{})
- func (_m *LoggingInterface) Debugf(format string, args ...interface{})
- func (_m *LoggingInterface) EXPECT() *LoggingInterface_Expecter
- func (_m *LoggingInterface) Error(args ...interface{})
- func (_m *LoggingInterface) Errorf(format string, args ...interface{})
- func (_m *LoggingInterface) Info(args ...interface{})
- func (_m *LoggingInterface) Infof(format string, args ...interface{})
- func (_m *LoggingInterface) Trace(args ...interface{})
- func (_m *LoggingInterface) Tracef(format string, args ...interface{})
- type LoggingInterface_Debug_Call
- type LoggingInterface_Debugf_Call
- func (_c *LoggingInterface_Debugf_Call) Return() *LoggingInterface_Debugf_Call
- func (_c *LoggingInterface_Debugf_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Debugf_Call
- func (_c *LoggingInterface_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Debugf_Call
- type LoggingInterface_Error_Call
- type LoggingInterface_Errorf_Call
- func (_c *LoggingInterface_Errorf_Call) Return() *LoggingInterface_Errorf_Call
- func (_c *LoggingInterface_Errorf_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Errorf_Call
- func (_c *LoggingInterface_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Errorf_Call
- type LoggingInterface_Expecter
- func (_e *LoggingInterface_Expecter) Debug(args ...interface{}) *LoggingInterface_Debug_Call
- func (_e *LoggingInterface_Expecter) Debugf(format interface{}, args ...interface{}) *LoggingInterface_Debugf_Call
- func (_e *LoggingInterface_Expecter) Error(args ...interface{}) *LoggingInterface_Error_Call
- func (_e *LoggingInterface_Expecter) Errorf(format interface{}, args ...interface{}) *LoggingInterface_Errorf_Call
- func (_e *LoggingInterface_Expecter) Info(args ...interface{}) *LoggingInterface_Info_Call
- func (_e *LoggingInterface_Expecter) Infof(format interface{}, args ...interface{}) *LoggingInterface_Infof_Call
- func (_e *LoggingInterface_Expecter) Trace(args ...interface{}) *LoggingInterface_Trace_Call
- func (_e *LoggingInterface_Expecter) Tracef(format interface{}, args ...interface{}) *LoggingInterface_Tracef_Call
- type LoggingInterface_Info_Call
- type LoggingInterface_Infof_Call
- func (_c *LoggingInterface_Infof_Call) Return() *LoggingInterface_Infof_Call
- func (_c *LoggingInterface_Infof_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Infof_Call
- func (_c *LoggingInterface_Infof_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Infof_Call
- type LoggingInterface_Trace_Call
- type LoggingInterface_Tracef_Call
- func (_c *LoggingInterface_Tracef_Call) Return() *LoggingInterface_Tracef_Call
- func (_c *LoggingInterface_Tracef_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Tracef_Call
- func (_c *LoggingInterface_Tracef_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Tracef_Call
- type MdnsInterface
- func (_mock *MdnsInterface) AnnounceMdnsEntry() error
- func (_mock *MdnsInterface) DeviceBrand() string
- func (_mock *MdnsInterface) DeviceCategories() []api.DeviceCategoryType
- func (_mock *MdnsInterface) DeviceModel() string
- func (_mock *MdnsInterface) DeviceSerial() string
- func (_mock *MdnsInterface) DeviceType() string
- func (_m *MdnsInterface) EXPECT() *MdnsInterface_Expecter
- func (_mock *MdnsInterface) RequestMdnsEntries()
- func (_mock *MdnsInterface) SetAutoAccept(b bool)
- func (_mock *MdnsInterface) Shutdown()
- func (_mock *MdnsInterface) Start(pairingMode api.PairingMode, cb api.MdnsReportInterface) error
- func (_mock *MdnsInterface) UnannounceMdnsEntry()
- type MdnsInterface_AnnounceMdnsEntry_Call
- func (_c *MdnsInterface_AnnounceMdnsEntry_Call) Return(err error) *MdnsInterface_AnnounceMdnsEntry_Call
- func (_c *MdnsInterface_AnnounceMdnsEntry_Call) Run(run func()) *MdnsInterface_AnnounceMdnsEntry_Call
- func (_c *MdnsInterface_AnnounceMdnsEntry_Call) RunAndReturn(run func() error) *MdnsInterface_AnnounceMdnsEntry_Call
- type MdnsInterface_DeviceBrand_Call
- type MdnsInterface_DeviceCategories_Call
- func (_c *MdnsInterface_DeviceCategories_Call) Return(deviceCategoryTypes []api.DeviceCategoryType) *MdnsInterface_DeviceCategories_Call
- func (_c *MdnsInterface_DeviceCategories_Call) Run(run func()) *MdnsInterface_DeviceCategories_Call
- func (_c *MdnsInterface_DeviceCategories_Call) RunAndReturn(run func() []api.DeviceCategoryType) *MdnsInterface_DeviceCategories_Call
- type MdnsInterface_DeviceModel_Call
- type MdnsInterface_DeviceSerial_Call
- type MdnsInterface_DeviceType_Call
- type MdnsInterface_Expecter
- func (_e *MdnsInterface_Expecter) AnnounceMdnsEntry() *MdnsInterface_AnnounceMdnsEntry_Call
- func (_e *MdnsInterface_Expecter) DeviceBrand() *MdnsInterface_DeviceBrand_Call
- func (_e *MdnsInterface_Expecter) DeviceCategories() *MdnsInterface_DeviceCategories_Call
- func (_e *MdnsInterface_Expecter) DeviceModel() *MdnsInterface_DeviceModel_Call
- func (_e *MdnsInterface_Expecter) DeviceSerial() *MdnsInterface_DeviceSerial_Call
- func (_e *MdnsInterface_Expecter) DeviceType() *MdnsInterface_DeviceType_Call
- func (_e *MdnsInterface_Expecter) RequestMdnsEntries() *MdnsInterface_RequestMdnsEntries_Call
- func (_e *MdnsInterface_Expecter) SetAutoAccept(b interface{}) *MdnsInterface_SetAutoAccept_Call
- func (_e *MdnsInterface_Expecter) Shutdown() *MdnsInterface_Shutdown_Call
- func (_e *MdnsInterface_Expecter) Start(pairingMode interface{}, cb interface{}) *MdnsInterface_Start_Call
- func (_e *MdnsInterface_Expecter) UnannounceMdnsEntry() *MdnsInterface_UnannounceMdnsEntry_Call
- type MdnsInterface_RequestMdnsEntries_Call
- func (_c *MdnsInterface_RequestMdnsEntries_Call) Return() *MdnsInterface_RequestMdnsEntries_Call
- func (_c *MdnsInterface_RequestMdnsEntries_Call) Run(run func()) *MdnsInterface_RequestMdnsEntries_Call
- func (_c *MdnsInterface_RequestMdnsEntries_Call) RunAndReturn(run func()) *MdnsInterface_RequestMdnsEntries_Call
- type MdnsInterface_SetAutoAccept_Call
- type MdnsInterface_Shutdown_Call
- type MdnsInterface_Start_Call
- func (_c *MdnsInterface_Start_Call) Return(err error) *MdnsInterface_Start_Call
- func (_c *MdnsInterface_Start_Call) Run(run func(pairingMode api.PairingMode, cb api.MdnsReportInterface)) *MdnsInterface_Start_Call
- func (_c *MdnsInterface_Start_Call) RunAndReturn(run func(pairingMode api.PairingMode, cb api.MdnsReportInterface) error) *MdnsInterface_Start_Call
- type MdnsInterface_UnannounceMdnsEntry_Call
- func (_c *MdnsInterface_UnannounceMdnsEntry_Call) Return() *MdnsInterface_UnannounceMdnsEntry_Call
- func (_c *MdnsInterface_UnannounceMdnsEntry_Call) Run(run func()) *MdnsInterface_UnannounceMdnsEntry_Call
- func (_c *MdnsInterface_UnannounceMdnsEntry_Call) RunAndReturn(run func()) *MdnsInterface_UnannounceMdnsEntry_Call
- type MdnsPairingInterface
- func (_mock *MdnsPairingInterface) AnnouncePairingService(txtRecord *api.ShipPairingTXT) (string, error)
- func (_m *MdnsPairingInterface) EXPECT() *MdnsPairingInterface_Expecter
- func (_mock *MdnsPairingInterface) IsPairingServiceAnnounced() bool
- func (_mock *MdnsPairingInterface) RequestPairingEntries() (map[string]*api.ShipPairingTXT, error)
- func (_mock *MdnsPairingInterface) SearchPairingServices(callback func(*api.ShipPairingTXT) bool) error
- func (_mock *MdnsPairingInterface) UnannouncePairingService(instanceID string) error
- type MdnsPairingInterface_AnnouncePairingService_Call
- func (_c *MdnsPairingInterface_AnnouncePairingService_Call) Return(s string, err error) *MdnsPairingInterface_AnnouncePairingService_Call
- func (_c *MdnsPairingInterface_AnnouncePairingService_Call) Run(run func(txtRecord *api.ShipPairingTXT)) *MdnsPairingInterface_AnnouncePairingService_Call
- func (_c *MdnsPairingInterface_AnnouncePairingService_Call) RunAndReturn(run func(txtRecord *api.ShipPairingTXT) (string, error)) *MdnsPairingInterface_AnnouncePairingService_Call
- type MdnsPairingInterface_Expecter
- func (_e *MdnsPairingInterface_Expecter) AnnouncePairingService(txtRecord interface{}) *MdnsPairingInterface_AnnouncePairingService_Call
- func (_e *MdnsPairingInterface_Expecter) IsPairingServiceAnnounced() *MdnsPairingInterface_IsPairingServiceAnnounced_Call
- func (_e *MdnsPairingInterface_Expecter) RequestPairingEntries() *MdnsPairingInterface_RequestPairingEntries_Call
- func (_e *MdnsPairingInterface_Expecter) SearchPairingServices(callback interface{}) *MdnsPairingInterface_SearchPairingServices_Call
- func (_e *MdnsPairingInterface_Expecter) UnannouncePairingService(instanceID interface{}) *MdnsPairingInterface_UnannouncePairingService_Call
- type MdnsPairingInterface_IsPairingServiceAnnounced_Call
- func (_c *MdnsPairingInterface_IsPairingServiceAnnounced_Call) Return(b bool) *MdnsPairingInterface_IsPairingServiceAnnounced_Call
- func (_c *MdnsPairingInterface_IsPairingServiceAnnounced_Call) Run(run func()) *MdnsPairingInterface_IsPairingServiceAnnounced_Call
- func (_c *MdnsPairingInterface_IsPairingServiceAnnounced_Call) RunAndReturn(run func() bool) *MdnsPairingInterface_IsPairingServiceAnnounced_Call
- type MdnsPairingInterface_RequestPairingEntries_Call
- func (_c *MdnsPairingInterface_RequestPairingEntries_Call) Return(stringToShipPairingTXT map[string]*api.ShipPairingTXT, err error) *MdnsPairingInterface_RequestPairingEntries_Call
- func (_c *MdnsPairingInterface_RequestPairingEntries_Call) Run(run func()) *MdnsPairingInterface_RequestPairingEntries_Call
- func (_c *MdnsPairingInterface_RequestPairingEntries_Call) RunAndReturn(run func() (map[string]*api.ShipPairingTXT, error)) *MdnsPairingInterface_RequestPairingEntries_Call
- type MdnsPairingInterface_SearchPairingServices_Call
- func (_c *MdnsPairingInterface_SearchPairingServices_Call) Return(err error) *MdnsPairingInterface_SearchPairingServices_Call
- func (_c *MdnsPairingInterface_SearchPairingServices_Call) Run(run func(callback func(*api.ShipPairingTXT) bool)) *MdnsPairingInterface_SearchPairingServices_Call
- func (_c *MdnsPairingInterface_SearchPairingServices_Call) RunAndReturn(run func(callback func(*api.ShipPairingTXT) bool) error) *MdnsPairingInterface_SearchPairingServices_Call
- type MdnsPairingInterface_UnannouncePairingService_Call
- func (_c *MdnsPairingInterface_UnannouncePairingService_Call) Return(err error) *MdnsPairingInterface_UnannouncePairingService_Call
- func (_c *MdnsPairingInterface_UnannouncePairingService_Call) Run(run func(instanceID string)) *MdnsPairingInterface_UnannouncePairingService_Call
- func (_c *MdnsPairingInterface_UnannouncePairingService_Call) RunAndReturn(run func(instanceID string) error) *MdnsPairingInterface_UnannouncePairingService_Call
- type MdnsProviderInterface
- func (_mock *MdnsProviderInterface) AnnounceService(serviceType string, serviceName string, port int, txt []string) (string, error)
- func (_m *MdnsProviderInterface) EXPECT() *MdnsProviderInterface_Expecter
- func (_mock *MdnsProviderInterface) Shutdown()
- func (_mock *MdnsProviderInterface) Start(pairingMode api.PairingMode, autoReconnect bool, cb api.MdnsResolveCB) bool
- func (_mock *MdnsProviderInterface) UnannounceService(instanceID string) error
- type MdnsProviderInterface_AnnounceService_Call
- func (_c *MdnsProviderInterface_AnnounceService_Call) Return(s string, err error) *MdnsProviderInterface_AnnounceService_Call
- func (_c *MdnsProviderInterface_AnnounceService_Call) Run(run func(serviceType string, serviceName string, port int, txt []string)) *MdnsProviderInterface_AnnounceService_Call
- func (_c *MdnsProviderInterface_AnnounceService_Call) RunAndReturn(...) *MdnsProviderInterface_AnnounceService_Call
- type MdnsProviderInterface_Expecter
- func (_e *MdnsProviderInterface_Expecter) AnnounceService(serviceType interface{}, serviceName interface{}, port interface{}, ...) *MdnsProviderInterface_AnnounceService_Call
- func (_e *MdnsProviderInterface_Expecter) Shutdown() *MdnsProviderInterface_Shutdown_Call
- func (_e *MdnsProviderInterface_Expecter) Start(pairingMode interface{}, autoReconnect interface{}, cb interface{}) *MdnsProviderInterface_Start_Call
- func (_e *MdnsProviderInterface_Expecter) UnannounceService(instanceID interface{}) *MdnsProviderInterface_UnannounceService_Call
- type MdnsProviderInterface_Shutdown_Call
- func (_c *MdnsProviderInterface_Shutdown_Call) Return() *MdnsProviderInterface_Shutdown_Call
- func (_c *MdnsProviderInterface_Shutdown_Call) Run(run func()) *MdnsProviderInterface_Shutdown_Call
- func (_c *MdnsProviderInterface_Shutdown_Call) RunAndReturn(run func()) *MdnsProviderInterface_Shutdown_Call
- type MdnsProviderInterface_Start_Call
- type MdnsProviderInterface_UnannounceService_Call
- func (_c *MdnsProviderInterface_UnannounceService_Call) Return(err error) *MdnsProviderInterface_UnannounceService_Call
- func (_c *MdnsProviderInterface_UnannounceService_Call) Run(run func(instanceID string)) *MdnsProviderInterface_UnannounceService_Call
- func (_c *MdnsProviderInterface_UnannounceService_Call) RunAndReturn(run func(instanceID string) error) *MdnsProviderInterface_UnannounceService_Call
- type MdnsReportInterface
- type MdnsReportInterface_Expecter
- type MdnsReportInterface_ReportMdnsEntries_Call
- func (_c *MdnsReportInterface_ReportMdnsEntries_Call) Return() *MdnsReportInterface_ReportMdnsEntries_Call
- func (_c *MdnsReportInterface_ReportMdnsEntries_Call) Run(run func(entries map[string]*api.MdnsEntry, newEntries bool)) *MdnsReportInterface_ReportMdnsEntries_Call
- func (_c *MdnsReportInterface_ReportMdnsEntries_Call) RunAndReturn(run func(entries map[string]*api.MdnsEntry, newEntries bool)) *MdnsReportInterface_ReportMdnsEntries_Call
- type MdnsResolveCB
- type MdnsResolveCB_Execute_Call
- type MdnsResolveCB_Expecter
- type MockHubReaderInterface
- func (m *MockHubReaderInterface) AllowWaitingForTrust(arg0 api.ServiceIdentity) bool
- func (m *MockHubReaderInterface) EXPECT() *MockHubReaderInterfaceMockRecorder
- func (m *MockHubReaderInterface) RemoteServiceConnected(arg0 api.ServiceIdentity)
- func (m *MockHubReaderInterface) RemoteServiceDisconnected(arg0 api.ServiceIdentity)
- func (m *MockHubReaderInterface) ServicePairingDetailUpdate(arg0 api.ServiceIdentity, arg1 *api.ConnectionStateDetail)
- func (m *MockHubReaderInterface) ServiceUpdated(arg0 api.ServiceIdentity)
- func (m *MockHubReaderInterface) SetupRemoteService(arg0 api.ServiceIdentity, arg1 api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
- func (m *MockHubReaderInterface) VisibleRemoteMdnsServicesUpdated(arg0 []api.RemoteMdnsService)
- type MockHubReaderInterfaceMockRecorder
- func (mr *MockHubReaderInterfaceMockRecorder) AllowWaitingForTrust(arg0 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) RemoteServiceConnected(arg0 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) RemoteServiceDisconnected(arg0 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) ServicePairingDetailUpdate(arg0, arg1 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) ServiceUpdated(arg0 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) SetupRemoteService(arg0, arg1 any) *gomock.Call
- func (mr *MockHubReaderInterfaceMockRecorder) VisibleRemoteMdnsServicesUpdated(arg0 any) *gomock.Call
- type MockMdnsInterface
- func (m *MockMdnsInterface) AnnounceMdnsEntry() error
- func (m *MockMdnsInterface) DeviceBrand() string
- func (m *MockMdnsInterface) DeviceCategories() []api.DeviceCategoryType
- func (m *MockMdnsInterface) DeviceModel() string
- func (m *MockMdnsInterface) DeviceSerial() string
- func (m *MockMdnsInterface) DeviceType() string
- func (m *MockMdnsInterface) EXPECT() *MockMdnsInterfaceMockRecorder
- func (m *MockMdnsInterface) RequestMdnsEntries()
- func (m *MockMdnsInterface) SetAutoAccept(arg0 bool)
- func (m *MockMdnsInterface) Shutdown()
- func (m *MockMdnsInterface) Start(arg0 api.PairingMode, arg1 api.MdnsReportInterface) error
- func (m *MockMdnsInterface) UnannounceMdnsEntry()
- type MockMdnsInterfaceMockRecorder
- func (mr *MockMdnsInterfaceMockRecorder) AnnounceMdnsEntry() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) DeviceBrand() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) DeviceCategories() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) DeviceModel() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) DeviceSerial() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) DeviceType() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) RequestMdnsEntries() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) SetAutoAccept(arg0 any) *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) Shutdown() *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) Start(arg0, arg1 any) *gomock.Call
- func (mr *MockMdnsInterfaceMockRecorder) UnannounceMdnsEntry() *gomock.Call
- type PairingAnnouncerInterface
- func (_mock *PairingAnnouncerInterface) Announce(target api.PairingTarget) error
- func (_m *PairingAnnouncerInterface) EXPECT() *PairingAnnouncerInterface_Expecter
- func (_mock *PairingAnnouncerInterface) GetAnnouncementStatus() api.AnnouncementStatus
- func (_mock *PairingAnnouncerInterface) StopAnnouncement() error
- type PairingAnnouncerInterface_Announce_Call
- func (_c *PairingAnnouncerInterface_Announce_Call) Return(err error) *PairingAnnouncerInterface_Announce_Call
- func (_c *PairingAnnouncerInterface_Announce_Call) Run(run func(target api.PairingTarget)) *PairingAnnouncerInterface_Announce_Call
- func (_c *PairingAnnouncerInterface_Announce_Call) RunAndReturn(run func(target api.PairingTarget) error) *PairingAnnouncerInterface_Announce_Call
- type PairingAnnouncerInterface_Expecter
- func (_e *PairingAnnouncerInterface_Expecter) Announce(target interface{}) *PairingAnnouncerInterface_Announce_Call
- func (_e *PairingAnnouncerInterface_Expecter) GetAnnouncementStatus() *PairingAnnouncerInterface_GetAnnouncementStatus_Call
- func (_e *PairingAnnouncerInterface_Expecter) StopAnnouncement() *PairingAnnouncerInterface_StopAnnouncement_Call
- type PairingAnnouncerInterface_GetAnnouncementStatus_Call
- func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) Return(announcementStatus api.AnnouncementStatus) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
- func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) Run(run func()) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
- func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) RunAndReturn(run func() api.AnnouncementStatus) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
- type PairingAnnouncerInterface_StopAnnouncement_Call
- func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) Return(err error) *PairingAnnouncerInterface_StopAnnouncement_Call
- func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) Run(run func()) *PairingAnnouncerInterface_StopAnnouncement_Call
- func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) RunAndReturn(run func() error) *PairingAnnouncerInterface_StopAnnouncement_Call
- type PairingCryptoInterface
- func (_mock *PairingCryptoInterface) CalculateDigest(secret api.PairingSecret, params api.HMACParams) ([]byte, error)
- func (_m *PairingCryptoInterface) EXPECT() *PairingCryptoInterface_Expecter
- func (_mock *PairingCryptoInterface) GenerateNonce() ([]byte, error)
- func (_mock *PairingCryptoInterface) ValidateDigest(secret api.PairingSecret, params api.HMACParams, expectedDigest []byte) error
- type PairingCryptoInterface_CalculateDigest_Call
- func (_c *PairingCryptoInterface_CalculateDigest_Call) Return(bytes []byte, err error) *PairingCryptoInterface_CalculateDigest_Call
- func (_c *PairingCryptoInterface_CalculateDigest_Call) Run(run func(secret api.PairingSecret, params api.HMACParams)) *PairingCryptoInterface_CalculateDigest_Call
- func (_c *PairingCryptoInterface_CalculateDigest_Call) RunAndReturn(run func(secret api.PairingSecret, params api.HMACParams) ([]byte, error)) *PairingCryptoInterface_CalculateDigest_Call
- type PairingCryptoInterface_Expecter
- func (_e *PairingCryptoInterface_Expecter) CalculateDigest(secret interface{}, params interface{}) *PairingCryptoInterface_CalculateDigest_Call
- func (_e *PairingCryptoInterface_Expecter) GenerateNonce() *PairingCryptoInterface_GenerateNonce_Call
- func (_e *PairingCryptoInterface_Expecter) ValidateDigest(secret interface{}, params interface{}, expectedDigest interface{}) *PairingCryptoInterface_ValidateDigest_Call
- type PairingCryptoInterface_GenerateNonce_Call
- func (_c *PairingCryptoInterface_GenerateNonce_Call) Return(bytes []byte, err error) *PairingCryptoInterface_GenerateNonce_Call
- func (_c *PairingCryptoInterface_GenerateNonce_Call) Run(run func()) *PairingCryptoInterface_GenerateNonce_Call
- func (_c *PairingCryptoInterface_GenerateNonce_Call) RunAndReturn(run func() ([]byte, error)) *PairingCryptoInterface_GenerateNonce_Call
- type PairingCryptoInterface_ValidateDigest_Call
- func (_c *PairingCryptoInterface_ValidateDigest_Call) Return(err error) *PairingCryptoInterface_ValidateDigest_Call
- func (_c *PairingCryptoInterface_ValidateDigest_Call) Run(...) *PairingCryptoInterface_ValidateDigest_Call
- func (_c *PairingCryptoInterface_ValidateDigest_Call) RunAndReturn(...) *PairingCryptoInterface_ValidateDigest_Call
- type PairingHistoryProviderInterface
- type PairingHistoryProviderInterface_Expecter
- func (_e *PairingHistoryProviderInterface_Expecter) HasSeenDigest(alg interface{}, digest interface{}) *PairingHistoryProviderInterface_HasSeenDigest_Call
- func (_e *PairingHistoryProviderInterface_Expecter) RecordPairing(alg interface{}, digest interface{}) *PairingHistoryProviderInterface_RecordPairing_Call
- type PairingHistoryProviderInterface_HasSeenDigest_Call
- func (_c *PairingHistoryProviderInterface_HasSeenDigest_Call) Return(b bool) *PairingHistoryProviderInterface_HasSeenDigest_Call
- func (_c *PairingHistoryProviderInterface_HasSeenDigest_Call) Run(run func(alg string, digest string)) *PairingHistoryProviderInterface_HasSeenDigest_Call
- func (_c *PairingHistoryProviderInterface_HasSeenDigest_Call) RunAndReturn(run func(alg string, digest string) bool) *PairingHistoryProviderInterface_HasSeenDigest_Call
- type PairingHistoryProviderInterface_RecordPairing_Call
- func (_c *PairingHistoryProviderInterface_RecordPairing_Call) Return() *PairingHistoryProviderInterface_RecordPairing_Call
- func (_c *PairingHistoryProviderInterface_RecordPairing_Call) Run(run func(alg string, digest string)) *PairingHistoryProviderInterface_RecordPairing_Call
- func (_c *PairingHistoryProviderInterface_RecordPairing_Call) RunAndReturn(run func(alg string, digest string)) *PairingHistoryProviderInterface_RecordPairing_Call
- type PairingHubInterface
- func (_m *PairingHubInterface) EXPECT() *PairingHubInterface_Expecter
- func (_mock *PairingHubInterface) GetTrustedAddCuDevice() *api.ServiceDetails
- func (_mock *PairingHubInterface) OnPairingFailure(remoteShipID string, remoteFingerprint string, reason error)
- func (_mock *PairingHubInterface) OnPairingSuccess(remoteShipID string, remoteFingerprint string)
- type PairingHubInterface_Expecter
- func (_e *PairingHubInterface_Expecter) GetTrustedAddCuDevice() *PairingHubInterface_GetTrustedAddCuDevice_Call
- func (_e *PairingHubInterface_Expecter) OnPairingFailure(remoteShipID interface{}, remoteFingerprint interface{}, reason interface{}) *PairingHubInterface_OnPairingFailure_Call
- func (_e *PairingHubInterface_Expecter) OnPairingSuccess(remoteShipID interface{}, remoteFingerprint interface{}) *PairingHubInterface_OnPairingSuccess_Call
- type PairingHubInterface_GetTrustedAddCuDevice_Call
- func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api.ServiceDetails) *PairingHubInterface_GetTrustedAddCuDevice_Call
- func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) Run(run func()) *PairingHubInterface_GetTrustedAddCuDevice_Call
- func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api.ServiceDetails) *PairingHubInterface_GetTrustedAddCuDevice_Call
- type PairingHubInterface_OnPairingFailure_Call
- func (_c *PairingHubInterface_OnPairingFailure_Call) Return() *PairingHubInterface_OnPairingFailure_Call
- func (_c *PairingHubInterface_OnPairingFailure_Call) Run(run func(remoteShipID string, remoteFingerprint string, reason error)) *PairingHubInterface_OnPairingFailure_Call
- func (_c *PairingHubInterface_OnPairingFailure_Call) RunAndReturn(run func(remoteShipID string, remoteFingerprint string, reason error)) *PairingHubInterface_OnPairingFailure_Call
- type PairingHubInterface_OnPairingSuccess_Call
- func (_c *PairingHubInterface_OnPairingSuccess_Call) Return() *PairingHubInterface_OnPairingSuccess_Call
- func (_c *PairingHubInterface_OnPairingSuccess_Call) Run(run func(remoteShipID string, remoteFingerprint string)) *PairingHubInterface_OnPairingSuccess_Call
- func (_c *PairingHubInterface_OnPairingSuccess_Call) RunAndReturn(run func(remoteShipID string, remoteFingerprint string)) *PairingHubInterface_OnPairingSuccess_Call
- type PairingListenerInterface
- func (_m *PairingListenerInterface) EXPECT() *PairingListenerInterface_Expecter
- func (_mock *PairingListenerInterface) GetListenerStatus() api.ListenerStatus
- func (_mock *PairingListenerInterface) ProcessPendingEntries(entries map[string]*api.ShipPairingTXT) error
- func (_mock *PairingListenerInterface) StartListening(ctx context.Context, secret api.PairingSecret) error
- func (_mock *PairingListenerInterface) StopListening() error
- type PairingListenerInterface_Expecter
- func (_e *PairingListenerInterface_Expecter) GetListenerStatus() *PairingListenerInterface_GetListenerStatus_Call
- func (_e *PairingListenerInterface_Expecter) ProcessPendingEntries(entries interface{}) *PairingListenerInterface_ProcessPendingEntries_Call
- func (_e *PairingListenerInterface_Expecter) StartListening(ctx interface{}, secret interface{}) *PairingListenerInterface_StartListening_Call
- func (_e *PairingListenerInterface_Expecter) StopListening() *PairingListenerInterface_StopListening_Call
- type PairingListenerInterface_GetListenerStatus_Call
- func (_c *PairingListenerInterface_GetListenerStatus_Call) Return(listenerStatus api.ListenerStatus) *PairingListenerInterface_GetListenerStatus_Call
- func (_c *PairingListenerInterface_GetListenerStatus_Call) Run(run func()) *PairingListenerInterface_GetListenerStatus_Call
- func (_c *PairingListenerInterface_GetListenerStatus_Call) RunAndReturn(run func() api.ListenerStatus) *PairingListenerInterface_GetListenerStatus_Call
- type PairingListenerInterface_ProcessPendingEntries_Call
- func (_c *PairingListenerInterface_ProcessPendingEntries_Call) Return(err error) *PairingListenerInterface_ProcessPendingEntries_Call
- func (_c *PairingListenerInterface_ProcessPendingEntries_Call) Run(run func(entries map[string]*api.ShipPairingTXT)) *PairingListenerInterface_ProcessPendingEntries_Call
- func (_c *PairingListenerInterface_ProcessPendingEntries_Call) RunAndReturn(run func(entries map[string]*api.ShipPairingTXT) error) *PairingListenerInterface_ProcessPendingEntries_Call
- type PairingListenerInterface_StartListening_Call
- func (_c *PairingListenerInterface_StartListening_Call) Return(err error) *PairingListenerInterface_StartListening_Call
- func (_c *PairingListenerInterface_StartListening_Call) Run(run func(ctx context.Context, secret api.PairingSecret)) *PairingListenerInterface_StartListening_Call
- func (_c *PairingListenerInterface_StartListening_Call) RunAndReturn(run func(ctx context.Context, secret api.PairingSecret) error) *PairingListenerInterface_StartListening_Call
- type PairingListenerInterface_StopListening_Call
- func (_c *PairingListenerInterface_StopListening_Call) Return(err error) *PairingListenerInterface_StopListening_Call
- func (_c *PairingListenerInterface_StopListening_Call) Run(run func()) *PairingListenerInterface_StopListening_Call
- func (_c *PairingListenerInterface_StopListening_Call) RunAndReturn(run func() error) *PairingListenerInterface_StopListening_Call
- type PairingServiceReaderInterface
- func (_m *PairingServiceReaderInterface) EXPECT() *PairingServiceReaderInterface_Expecter
- func (_mock *PairingServiceReaderInterface) ServiceAutoTrustFailed(identity api.ServiceIdentity, reason error)
- func (_mock *PairingServiceReaderInterface) ServiceAutoTrustRemoved(identity api.ServiceIdentity, reason string)
- func (_mock *PairingServiceReaderInterface) ServiceAutoTrusted(identity api.ServiceIdentity)
- type PairingServiceReaderInterface_Expecter
- func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrustFailed(identity interface{}, reason interface{}) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrustRemoved(identity interface{}, reason interface{}) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrusted(identity interface{}) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
- type PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Return() *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Run(run func(identity api.ServiceIdentity, reason error)) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason error)) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
- type PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Return() *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run(run func(identity api.ServiceIdentity, reason string)) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
- type PairingServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrusted_Call) Return() *PairingServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrusted_Call) Run(run func(identity api.ServiceIdentity)) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *PairingServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
- type RingBufferPersistence
- type RingBufferPersistence_Expecter
- type RingBufferPersistence_LoadRingBuffer_Call
- func (_c *RingBufferPersistence_LoadRingBuffer_Call) Return(digestEntrys []api.DigestEntry, n int, err error) *RingBufferPersistence_LoadRingBuffer_Call
- func (_c *RingBufferPersistence_LoadRingBuffer_Call) Run(run func()) *RingBufferPersistence_LoadRingBuffer_Call
- func (_c *RingBufferPersistence_LoadRingBuffer_Call) RunAndReturn(run func() ([]api.DigestEntry, int, error)) *RingBufferPersistence_LoadRingBuffer_Call
- type RingBufferPersistence_SaveRingBuffer_Call
- func (_c *RingBufferPersistence_SaveRingBuffer_Call) Return(err error) *RingBufferPersistence_SaveRingBuffer_Call
- func (_c *RingBufferPersistence_SaveRingBuffer_Call) Run(run func(entries []api.DigestEntry, nextIndex int)) *RingBufferPersistence_SaveRingBuffer_Call
- func (_c *RingBufferPersistence_SaveRingBuffer_Call) RunAndReturn(run func(entries []api.DigestEntry, nextIndex int) error) *RingBufferPersistence_SaveRingBuffer_Call
- type ShipConnectionDataReaderInterface
- type ShipConnectionDataReaderInterface_Expecter
- type ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
- func (_c *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Return() *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
- func (_c *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Run(run func(message []byte)) *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
- func (_c *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) RunAndReturn(run func(message []byte)) *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
- type ShipConnectionDataWriterInterface
- type ShipConnectionDataWriterInterface_Expecter
- type ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
- func (_c *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Return() *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
- func (_c *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Run(run func(message []byte)) *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
- func (_c *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) RunAndReturn(run func(message []byte)) *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
- type ShipConnectionInfoProviderInterface
- func (_mock *ShipConnectionInfoProviderInterface) AllowWaitingForTrust(ski string) bool
- func (_m *ShipConnectionInfoProviderInterface) EXPECT() *ShipConnectionInfoProviderInterface_Expecter
- func (_mock *ShipConnectionInfoProviderInterface) HandleConnectionClosed(shipConnectionInterface api.ShipConnectionInterface, b bool)
- func (_mock *ShipConnectionInfoProviderInterface) HandleShipHandshakeStateUpdate(ski string, state model.ShipState)
- func (_mock *ShipConnectionInfoProviderInterface) IsAutoAcceptEnabled() bool
- func (_mock *ShipConnectionInfoProviderInterface) IsRemoteServiceForSKIPaired(ski string) bool
- func (_mock *ShipConnectionInfoProviderInterface) ReportServiceShipID(ski string, shipID string)
- func (_mock *ShipConnectionInfoProviderInterface) SetupRemoteService(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
- type ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
- func (_c *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Return(b bool) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
- func (_c *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Run(run func(ski string)) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
- func (_c *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(ski string) bool) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
- type ShipConnectionInfoProviderInterface_Expecter
- func (_e *ShipConnectionInfoProviderInterface_Expecter) AllowWaitingForTrust(ski interface{}) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) HandleConnectionClosed(shipConnectionInterface interface{}, b interface{}) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) HandleShipHandshakeStateUpdate(ski interface{}, state interface{}) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) IsAutoAcceptEnabled() *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) IsRemoteServiceForSKIPaired(ski interface{}) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) ReportServiceShipID(ski interface{}, shipID interface{}) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
- func (_e *ShipConnectionInfoProviderInterface_Expecter) SetupRemoteService(ski interface{}, writeI interface{}) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
- type ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Return() *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Run(run func(shipConnectionInterface api.ShipConnectionInterface, b bool)) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) RunAndReturn(run func(shipConnectionInterface api.ShipConnectionInterface, b bool)) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
- type ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Return() *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Run(run func(ski string, state model.ShipState)) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
- func (_c *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) RunAndReturn(run func(ski string, state model.ShipState)) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
- type ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
- func (_c *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) Return(b bool) *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
- func (_c *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) Run(run func()) *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
- func (_c *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
- type ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
- func (_c *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) Return(b bool) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
- func (_c *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) Run(run func(ski string)) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
- func (_c *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) RunAndReturn(run func(ski string) bool) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
- type ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
- func (_c *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Return() *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
- func (_c *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Run(run func(ski string, shipID string)) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
- func (_c *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) RunAndReturn(run func(ski string, shipID string)) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
- type ShipConnectionInfoProviderInterface_SetupRemoteService_Call
- func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
- func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Run(run func(ski string, writeI api.ShipConnectionDataWriterInterface)) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
- func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) RunAndReturn(...) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
- type ShipConnectionInterface
- func (_mock *ShipConnectionInterface) AbortPendingHandshake()
- func (_mock *ShipConnectionInterface) ApprovePendingHandshake()
- func (_mock *ShipConnectionInterface) CloseConnection(safe bool, code int, reason string)
- func (_mock *ShipConnectionInterface) DataHandler() api.WebsocketDataWriterInterface
- func (_m *ShipConnectionInterface) EXPECT() *ShipConnectionInterface_Expecter
- func (_mock *ShipConnectionInterface) RemoteSKI() string
- func (_mock *ShipConnectionInterface) ShipHandshakeState() (model.ShipMessageExchangeState, error)
- type ShipConnectionInterface_AbortPendingHandshake_Call
- func (_c *ShipConnectionInterface_AbortPendingHandshake_Call) Return() *ShipConnectionInterface_AbortPendingHandshake_Call
- func (_c *ShipConnectionInterface_AbortPendingHandshake_Call) Run(run func()) *ShipConnectionInterface_AbortPendingHandshake_Call
- func (_c *ShipConnectionInterface_AbortPendingHandshake_Call) RunAndReturn(run func()) *ShipConnectionInterface_AbortPendingHandshake_Call
- type ShipConnectionInterface_ApprovePendingHandshake_Call
- func (_c *ShipConnectionInterface_ApprovePendingHandshake_Call) Return() *ShipConnectionInterface_ApprovePendingHandshake_Call
- func (_c *ShipConnectionInterface_ApprovePendingHandshake_Call) Run(run func()) *ShipConnectionInterface_ApprovePendingHandshake_Call
- func (_c *ShipConnectionInterface_ApprovePendingHandshake_Call) RunAndReturn(run func()) *ShipConnectionInterface_ApprovePendingHandshake_Call
- type ShipConnectionInterface_CloseConnection_Call
- func (_c *ShipConnectionInterface_CloseConnection_Call) Return() *ShipConnectionInterface_CloseConnection_Call
- func (_c *ShipConnectionInterface_CloseConnection_Call) Run(run func(safe bool, code int, reason string)) *ShipConnectionInterface_CloseConnection_Call
- func (_c *ShipConnectionInterface_CloseConnection_Call) RunAndReturn(run func(safe bool, code int, reason string)) *ShipConnectionInterface_CloseConnection_Call
- type ShipConnectionInterface_DataHandler_Call
- func (_c *ShipConnectionInterface_DataHandler_Call) Return(websocketDataWriterInterface api.WebsocketDataWriterInterface) *ShipConnectionInterface_DataHandler_Call
- func (_c *ShipConnectionInterface_DataHandler_Call) Run(run func()) *ShipConnectionInterface_DataHandler_Call
- func (_c *ShipConnectionInterface_DataHandler_Call) RunAndReturn(run func() api.WebsocketDataWriterInterface) *ShipConnectionInterface_DataHandler_Call
- type ShipConnectionInterface_Expecter
- func (_e *ShipConnectionInterface_Expecter) AbortPendingHandshake() *ShipConnectionInterface_AbortPendingHandshake_Call
- func (_e *ShipConnectionInterface_Expecter) ApprovePendingHandshake() *ShipConnectionInterface_ApprovePendingHandshake_Call
- func (_e *ShipConnectionInterface_Expecter) CloseConnection(safe interface{}, code interface{}, reason interface{}) *ShipConnectionInterface_CloseConnection_Call
- func (_e *ShipConnectionInterface_Expecter) DataHandler() *ShipConnectionInterface_DataHandler_Call
- func (_e *ShipConnectionInterface_Expecter) RemoteSKI() *ShipConnectionInterface_RemoteSKI_Call
- func (_e *ShipConnectionInterface_Expecter) ShipHandshakeState() *ShipConnectionInterface_ShipHandshakeState_Call
- type ShipConnectionInterface_RemoteSKI_Call
- func (_c *ShipConnectionInterface_RemoteSKI_Call) Return(s string) *ShipConnectionInterface_RemoteSKI_Call
- func (_c *ShipConnectionInterface_RemoteSKI_Call) Run(run func()) *ShipConnectionInterface_RemoteSKI_Call
- func (_c *ShipConnectionInterface_RemoteSKI_Call) RunAndReturn(run func() string) *ShipConnectionInterface_RemoteSKI_Call
- type ShipConnectionInterface_ShipHandshakeState_Call
- func (_c *ShipConnectionInterface_ShipHandshakeState_Call) Return(shipMessageExchangeState model.ShipMessageExchangeState, err error) *ShipConnectionInterface_ShipHandshakeState_Call
- func (_c *ShipConnectionInterface_ShipHandshakeState_Call) Run(run func()) *ShipConnectionInterface_ShipHandshakeState_Call
- func (_c *ShipConnectionInterface_ShipHandshakeState_Call) RunAndReturn(run func() (model.ShipMessageExchangeState, error)) *ShipConnectionInterface_ShipHandshakeState_Call
- type ShipPairingServiceInterface
- func (_mock *ShipPairingServiceInterface) CreateAnnouncer() api.PairingAnnouncerInterface
- func (_mock *ShipPairingServiceInterface) CreateListener() api.PairingListenerInterface
- func (_m *ShipPairingServiceInterface) EXPECT() *ShipPairingServiceInterface_Expecter
- func (_mock *ShipPairingServiceInterface) IsServiceRunning() bool
- func (_mock *ShipPairingServiceInterface) Shutdown()
- func (_mock *ShipPairingServiceInterface) Start() error
- type ShipPairingServiceInterface_CreateAnnouncer_Call
- func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) Return(pairingAnnouncerInterface api.PairingAnnouncerInterface) *ShipPairingServiceInterface_CreateAnnouncer_Call
- func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) Run(run func()) *ShipPairingServiceInterface_CreateAnnouncer_Call
- func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) RunAndReturn(run func() api.PairingAnnouncerInterface) *ShipPairingServiceInterface_CreateAnnouncer_Call
- type ShipPairingServiceInterface_CreateListener_Call
- func (_c *ShipPairingServiceInterface_CreateListener_Call) Return(pairingListenerInterface api.PairingListenerInterface) *ShipPairingServiceInterface_CreateListener_Call
- func (_c *ShipPairingServiceInterface_CreateListener_Call) Run(run func()) *ShipPairingServiceInterface_CreateListener_Call
- func (_c *ShipPairingServiceInterface_CreateListener_Call) RunAndReturn(run func() api.PairingListenerInterface) *ShipPairingServiceInterface_CreateListener_Call
- type ShipPairingServiceInterface_Expecter
- func (_e *ShipPairingServiceInterface_Expecter) CreateAnnouncer() *ShipPairingServiceInterface_CreateAnnouncer_Call
- func (_e *ShipPairingServiceInterface_Expecter) CreateListener() *ShipPairingServiceInterface_CreateListener_Call
- func (_e *ShipPairingServiceInterface_Expecter) IsServiceRunning() *ShipPairingServiceInterface_IsServiceRunning_Call
- func (_e *ShipPairingServiceInterface_Expecter) Shutdown() *ShipPairingServiceInterface_Shutdown_Call
- func (_e *ShipPairingServiceInterface_Expecter) Start() *ShipPairingServiceInterface_Start_Call
- type ShipPairingServiceInterface_IsServiceRunning_Call
- func (_c *ShipPairingServiceInterface_IsServiceRunning_Call) Return(b bool) *ShipPairingServiceInterface_IsServiceRunning_Call
- func (_c *ShipPairingServiceInterface_IsServiceRunning_Call) Run(run func()) *ShipPairingServiceInterface_IsServiceRunning_Call
- func (_c *ShipPairingServiceInterface_IsServiceRunning_Call) RunAndReturn(run func() bool) *ShipPairingServiceInterface_IsServiceRunning_Call
- type ShipPairingServiceInterface_Shutdown_Call
- func (_c *ShipPairingServiceInterface_Shutdown_Call) Return() *ShipPairingServiceInterface_Shutdown_Call
- func (_c *ShipPairingServiceInterface_Shutdown_Call) Run(run func()) *ShipPairingServiceInterface_Shutdown_Call
- func (_c *ShipPairingServiceInterface_Shutdown_Call) RunAndReturn(run func()) *ShipPairingServiceInterface_Shutdown_Call
- type ShipPairingServiceInterface_Start_Call
- func (_c *ShipPairingServiceInterface_Start_Call) Return(err error) *ShipPairingServiceInterface_Start_Call
- func (_c *ShipPairingServiceInterface_Start_Call) Run(run func()) *ShipPairingServiceInterface_Start_Call
- func (_c *ShipPairingServiceInterface_Start_Call) RunAndReturn(run func() error) *ShipPairingServiceInterface_Start_Call
- type WebsocketDataReaderInterface
- type WebsocketDataReaderInterface_Expecter
- func (_e *WebsocketDataReaderInterface_Expecter) HandleIncomingWebsocketMessage(bytes interface{}) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
- func (_e *WebsocketDataReaderInterface_Expecter) ReportConnectionError(err interface{}) *WebsocketDataReaderInterface_ReportConnectionError_Call
- type WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
- func (_c *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Return() *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
- func (_c *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Run(run func(bytes []byte)) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
- func (_c *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) RunAndReturn(run func(bytes []byte)) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
- type WebsocketDataReaderInterface_ReportConnectionError_Call
- func (_c *WebsocketDataReaderInterface_ReportConnectionError_Call) Return() *WebsocketDataReaderInterface_ReportConnectionError_Call
- func (_c *WebsocketDataReaderInterface_ReportConnectionError_Call) Run(run func(err error)) *WebsocketDataReaderInterface_ReportConnectionError_Call
- func (_c *WebsocketDataReaderInterface_ReportConnectionError_Call) RunAndReturn(run func(err error)) *WebsocketDataReaderInterface_ReportConnectionError_Call
- type WebsocketDataWriterInterface
- func (_mock *WebsocketDataWriterInterface) CloseDataConnection(closeCode int, reason string)
- func (_m *WebsocketDataWriterInterface) EXPECT() *WebsocketDataWriterInterface_Expecter
- func (_mock *WebsocketDataWriterInterface) InitDataProcessing(websocketDataReaderInterface api.WebsocketDataReaderInterface)
- func (_mock *WebsocketDataWriterInterface) IsDataConnectionClosed() (bool, error)
- func (_mock *WebsocketDataWriterInterface) WriteMessageToWebsocketConnection(bytes []byte) error
- type WebsocketDataWriterInterface_CloseDataConnection_Call
- func (_c *WebsocketDataWriterInterface_CloseDataConnection_Call) Return() *WebsocketDataWriterInterface_CloseDataConnection_Call
- func (_c *WebsocketDataWriterInterface_CloseDataConnection_Call) Run(run func(closeCode int, reason string)) *WebsocketDataWriterInterface_CloseDataConnection_Call
- func (_c *WebsocketDataWriterInterface_CloseDataConnection_Call) RunAndReturn(run func(closeCode int, reason string)) *WebsocketDataWriterInterface_CloseDataConnection_Call
- type WebsocketDataWriterInterface_Expecter
- func (_e *WebsocketDataWriterInterface_Expecter) CloseDataConnection(closeCode interface{}, reason interface{}) *WebsocketDataWriterInterface_CloseDataConnection_Call
- func (_e *WebsocketDataWriterInterface_Expecter) InitDataProcessing(websocketDataReaderInterface interface{}) *WebsocketDataWriterInterface_InitDataProcessing_Call
- func (_e *WebsocketDataWriterInterface_Expecter) IsDataConnectionClosed() *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
- func (_e *WebsocketDataWriterInterface_Expecter) WriteMessageToWebsocketConnection(bytes interface{}) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
- type WebsocketDataWriterInterface_InitDataProcessing_Call
- func (_c *WebsocketDataWriterInterface_InitDataProcessing_Call) Return() *WebsocketDataWriterInterface_InitDataProcessing_Call
- func (_c *WebsocketDataWriterInterface_InitDataProcessing_Call) Run(run func(websocketDataReaderInterface api.WebsocketDataReaderInterface)) *WebsocketDataWriterInterface_InitDataProcessing_Call
- func (_c *WebsocketDataWriterInterface_InitDataProcessing_Call) RunAndReturn(run func(websocketDataReaderInterface api.WebsocketDataReaderInterface)) *WebsocketDataWriterInterface_InitDataProcessing_Call
- type WebsocketDataWriterInterface_IsDataConnectionClosed_Call
- func (_c *WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Return(b bool, err error) *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
- func (_c *WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Run(run func()) *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
- func (_c *WebsocketDataWriterInterface_IsDataConnectionClosed_Call) RunAndReturn(run func() (bool, error)) *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
- type WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
- func (_c *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Return(err error) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
- func (_c *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Run(run func(bytes []byte)) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
- func (_c *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) RunAndReturn(run func(bytes []byte) error) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubInterface ¶
HubInterface is an autogenerated mock type for the HubInterface type
func NewHubInterface ¶
func NewHubInterface(t interface {
mock.TestingT
Cleanup(func())
}) *HubInterface
NewHubInterface creates a new instance of HubInterface. 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 (*HubInterface) CancelPairing ¶ added in v0.7.0
func (_mock *HubInterface) CancelPairing(identity api.ServiceIdentity)
CancelPairing provides a mock function for the type HubInterface
func (*HubInterface) DisconnectService ¶ added in v0.7.0
func (_mock *HubInterface) DisconnectService(identity api.ServiceIdentity, reason string)
DisconnectService provides a mock function for the type HubInterface
func (*HubInterface) EXPECT ¶
func (_m *HubInterface) EXPECT() *HubInterface_Expecter
func (*HubInterface) GeneratePairingQR ¶ added in v0.7.0
func (_mock *HubInterface) GeneratePairingQR() (string, error)
GeneratePairingQR provides a mock function for the type HubInterface
func (*HubInterface) GetActiveAnnouncements ¶ added in v0.7.0
func (_mock *HubInterface) GetActiveAnnouncements() []string
GetActiveAnnouncements provides a mock function for the type HubInterface
func (*HubInterface) GetLocalCertificateFingerprint ¶ added in v0.7.0
func (_mock *HubInterface) GetLocalCertificateFingerprint() (string, error)
GetLocalCertificateFingerprint provides a mock function for the type HubInterface
func (*HubInterface) GetTrustedAddCuDevice ¶ added in v0.7.0
func (_mock *HubInterface) GetTrustedAddCuDevice() *api.ServiceDetails
GetTrustedAddCuDevice provides a mock function for the type HubInterface
func (*HubInterface) IsAnnouncingTo ¶ added in v0.7.0
func (_mock *HubInterface) IsAnnouncingTo(shipID string) bool
IsAnnouncingTo provides a mock function for the type HubInterface
func (*HubInterface) IsAutoAcceptEnabled ¶ added in v0.7.0
func (_mock *HubInterface) IsAutoAcceptEnabled() bool
IsAutoAcceptEnabled provides a mock function for the type HubInterface
func (*HubInterface) PairingDetailFor ¶ added in v0.7.0
func (_mock *HubInterface) PairingDetailFor(identity api.ServiceIdentity) *api.ConnectionStateDetail
PairingDetailFor provides a mock function for the type HubInterface
func (*HubInterface) PairingService ¶ added in v0.7.0
func (_mock *HubInterface) PairingService() api.ShipPairingServiceInterface
PairingService provides a mock function for the type HubInterface
func (*HubInterface) RegisterRemoteService ¶ added in v0.7.0
func (_mock *HubInterface) RegisterRemoteService(identity api.ServiceIdentity)
RegisterRemoteService provides a mock function for the type HubInterface
func (*HubInterface) ServiceFor ¶ added in v0.7.0
func (_mock *HubInterface) ServiceFor(identity api.ServiceIdentity) *api.ServiceDetails
ServiceFor provides a mock function for the type HubInterface
func (*HubInterface) ServiceForIdentifier ¶ added in v0.7.0
func (_mock *HubInterface) ServiceForIdentifier(ski string, fingerprint string) *api.ServiceDetails
ServiceForIdentifier provides a mock function for the type HubInterface
func (*HubInterface) SetAutoAccept ¶
func (_mock *HubInterface) SetAutoAccept(b bool)
SetAutoAccept provides a mock function for the type HubInterface
func (*HubInterface) SetMaxConnections ¶ added in v0.7.0
func (_mock *HubInterface) SetMaxConnections(maxConnections int)
SetMaxConnections provides a mock function for the type HubInterface
func (*HubInterface) SetPairingService ¶ added in v0.7.0
func (_mock *HubInterface) SetPairingService(service api.ShipPairingServiceInterface) error
SetPairingService provides a mock function for the type HubInterface
func (*HubInterface) Shutdown ¶
func (_mock *HubInterface) Shutdown()
Shutdown provides a mock function for the type HubInterface
func (*HubInterface) Start ¶
func (_mock *HubInterface) Start() error
Start provides a mock function for the type HubInterface
func (*HubInterface) StartAnnouncementTo ¶ added in v0.7.0
func (_mock *HubInterface) StartAnnouncementTo(target api.PairingTarget) error
StartAnnouncementTo provides a mock function for the type HubInterface
func (*HubInterface) StopAnnouncementTo ¶ added in v0.7.0
func (_mock *HubInterface) StopAnnouncementTo(shipID string) error
StopAnnouncementTo provides a mock function for the type HubInterface
func (*HubInterface) UnregisterRemoteService ¶ added in v0.7.0
func (_mock *HubInterface) UnregisterRemoteService(identity api.ServiceIdentity)
UnregisterRemoteService provides a mock function for the type HubInterface
type HubInterface_CancelPairing_Call ¶ added in v0.7.0
HubInterface_CancelPairing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairing'
func (*HubInterface_CancelPairing_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_CancelPairing_Call) Return() *HubInterface_CancelPairing_Call
func (*HubInterface_CancelPairing_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_CancelPairing_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_CancelPairing_Call
func (*HubInterface_CancelPairing_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_CancelPairing_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_CancelPairing_Call
type HubInterface_DisconnectService_Call ¶ added in v0.7.0
HubInterface_DisconnectService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectService'
func (*HubInterface_DisconnectService_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_DisconnectService_Call) Return() *HubInterface_DisconnectService_Call
func (*HubInterface_DisconnectService_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_DisconnectService_Call) Run(run func(identity api.ServiceIdentity, reason string)) *HubInterface_DisconnectService_Call
func (*HubInterface_DisconnectService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_DisconnectService_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *HubInterface_DisconnectService_Call
type HubInterface_Expecter ¶
type HubInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*HubInterface_Expecter) CancelPairing ¶ added in v0.7.0
func (_e *HubInterface_Expecter) CancelPairing(identity interface{}) *HubInterface_CancelPairing_Call
CancelPairing is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubInterface_Expecter) DisconnectService ¶ added in v0.7.0
func (_e *HubInterface_Expecter) DisconnectService(identity interface{}, reason interface{}) *HubInterface_DisconnectService_Call
DisconnectService is a helper method to define mock.On call
- identity api.ServiceIdentity
- reason string
func (*HubInterface_Expecter) GeneratePairingQR ¶ added in v0.7.0
func (_e *HubInterface_Expecter) GeneratePairingQR() *HubInterface_GeneratePairingQR_Call
GeneratePairingQR is a helper method to define mock.On call
func (*HubInterface_Expecter) GetActiveAnnouncements ¶ added in v0.7.0
func (_e *HubInterface_Expecter) GetActiveAnnouncements() *HubInterface_GetActiveAnnouncements_Call
GetActiveAnnouncements is a helper method to define mock.On call
func (*HubInterface_Expecter) GetLocalCertificateFingerprint ¶ added in v0.7.0
func (_e *HubInterface_Expecter) GetLocalCertificateFingerprint() *HubInterface_GetLocalCertificateFingerprint_Call
GetLocalCertificateFingerprint is a helper method to define mock.On call
func (*HubInterface_Expecter) GetTrustedAddCuDevice ¶ added in v0.7.0
func (_e *HubInterface_Expecter) GetTrustedAddCuDevice() *HubInterface_GetTrustedAddCuDevice_Call
GetTrustedAddCuDevice is a helper method to define mock.On call
func (*HubInterface_Expecter) IsAnnouncingTo ¶ added in v0.7.0
func (_e *HubInterface_Expecter) IsAnnouncingTo(shipID interface{}) *HubInterface_IsAnnouncingTo_Call
IsAnnouncingTo is a helper method to define mock.On call
- shipID string
func (*HubInterface_Expecter) IsAutoAcceptEnabled ¶ added in v0.7.0
func (_e *HubInterface_Expecter) IsAutoAcceptEnabled() *HubInterface_IsAutoAcceptEnabled_Call
IsAutoAcceptEnabled is a helper method to define mock.On call
func (*HubInterface_Expecter) PairingDetailFor ¶ added in v0.7.0
func (_e *HubInterface_Expecter) PairingDetailFor(identity interface{}) *HubInterface_PairingDetailFor_Call
PairingDetailFor is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubInterface_Expecter) PairingService ¶ added in v0.7.0
func (_e *HubInterface_Expecter) PairingService() *HubInterface_PairingService_Call
PairingService is a helper method to define mock.On call
func (*HubInterface_Expecter) RegisterRemoteService ¶ added in v0.7.0
func (_e *HubInterface_Expecter) RegisterRemoteService(identity interface{}) *HubInterface_RegisterRemoteService_Call
RegisterRemoteService is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubInterface_Expecter) ServiceFor ¶ added in v0.7.0
func (_e *HubInterface_Expecter) ServiceFor(identity interface{}) *HubInterface_ServiceFor_Call
ServiceFor is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubInterface_Expecter) ServiceForIdentifier ¶ added in v0.7.0
func (_e *HubInterface_Expecter) ServiceForIdentifier(ski interface{}, fingerprint interface{}) *HubInterface_ServiceForIdentifier_Call
ServiceForIdentifier is a helper method to define mock.On call
- ski string
- fingerprint string
func (*HubInterface_Expecter) SetAutoAccept ¶
func (_e *HubInterface_Expecter) SetAutoAccept(b interface{}) *HubInterface_SetAutoAccept_Call
SetAutoAccept is a helper method to define mock.On call
- b bool
func (*HubInterface_Expecter) SetMaxConnections ¶ added in v0.7.0
func (_e *HubInterface_Expecter) SetMaxConnections(maxConnections interface{}) *HubInterface_SetMaxConnections_Call
SetMaxConnections is a helper method to define mock.On call
- maxConnections int
func (*HubInterface_Expecter) SetPairingService ¶ added in v0.7.0
func (_e *HubInterface_Expecter) SetPairingService(service interface{}) *HubInterface_SetPairingService_Call
SetPairingService is a helper method to define mock.On call
- service api.ShipPairingServiceInterface
func (*HubInterface_Expecter) Shutdown ¶
func (_e *HubInterface_Expecter) Shutdown() *HubInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*HubInterface_Expecter) Start ¶
func (_e *HubInterface_Expecter) Start() *HubInterface_Start_Call
Start is a helper method to define mock.On call
func (*HubInterface_Expecter) StartAnnouncementTo ¶ added in v0.7.0
func (_e *HubInterface_Expecter) StartAnnouncementTo(target interface{}) *HubInterface_StartAnnouncementTo_Call
StartAnnouncementTo is a helper method to define mock.On call
- target api.PairingTarget
func (*HubInterface_Expecter) StopAnnouncementTo ¶ added in v0.7.0
func (_e *HubInterface_Expecter) StopAnnouncementTo(shipID interface{}) *HubInterface_StopAnnouncementTo_Call
StopAnnouncementTo is a helper method to define mock.On call
- shipID string
func (*HubInterface_Expecter) UnregisterRemoteService ¶ added in v0.7.0
func (_e *HubInterface_Expecter) UnregisterRemoteService(identity interface{}) *HubInterface_UnregisterRemoteService_Call
UnregisterRemoteService is a helper method to define mock.On call
- identity api.ServiceIdentity
type HubInterface_GeneratePairingQR_Call ¶ added in v0.7.0
HubInterface_GeneratePairingQR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GeneratePairingQR'
func (*HubInterface_GeneratePairingQR_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_GeneratePairingQR_Call) Return(s string, err error) *HubInterface_GeneratePairingQR_Call
func (*HubInterface_GeneratePairingQR_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_GeneratePairingQR_Call) Run(run func()) *HubInterface_GeneratePairingQR_Call
func (*HubInterface_GeneratePairingQR_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_GeneratePairingQR_Call) RunAndReturn(run func() (string, error)) *HubInterface_GeneratePairingQR_Call
type HubInterface_GetActiveAnnouncements_Call ¶ added in v0.7.0
HubInterface_GetActiveAnnouncements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActiveAnnouncements'
func (*HubInterface_GetActiveAnnouncements_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_GetActiveAnnouncements_Call) Return(strings []string) *HubInterface_GetActiveAnnouncements_Call
func (*HubInterface_GetActiveAnnouncements_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_GetActiveAnnouncements_Call) Run(run func()) *HubInterface_GetActiveAnnouncements_Call
func (*HubInterface_GetActiveAnnouncements_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_GetActiveAnnouncements_Call) RunAndReturn(run func() []string) *HubInterface_GetActiveAnnouncements_Call
type HubInterface_GetLocalCertificateFingerprint_Call ¶ added in v0.7.0
HubInterface_GetLocalCertificateFingerprint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalCertificateFingerprint'
func (*HubInterface_GetLocalCertificateFingerprint_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_GetLocalCertificateFingerprint_Call) Return(s string, err error) *HubInterface_GetLocalCertificateFingerprint_Call
func (*HubInterface_GetLocalCertificateFingerprint_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_GetLocalCertificateFingerprint_Call) Run(run func()) *HubInterface_GetLocalCertificateFingerprint_Call
func (*HubInterface_GetLocalCertificateFingerprint_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_GetLocalCertificateFingerprint_Call) RunAndReturn(run func() (string, error)) *HubInterface_GetLocalCertificateFingerprint_Call
type HubInterface_GetTrustedAddCuDevice_Call ¶ added in v0.7.0
HubInterface_GetTrustedAddCuDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTrustedAddCuDevice'
func (*HubInterface_GetTrustedAddCuDevice_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_GetTrustedAddCuDevice_Call
func (*HubInterface_GetTrustedAddCuDevice_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_GetTrustedAddCuDevice_Call) Run(run func()) *HubInterface_GetTrustedAddCuDevice_Call
func (*HubInterface_GetTrustedAddCuDevice_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api.ServiceDetails) *HubInterface_GetTrustedAddCuDevice_Call
type HubInterface_IsAnnouncingTo_Call ¶ added in v0.7.0
HubInterface_IsAnnouncingTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAnnouncingTo'
func (*HubInterface_IsAnnouncingTo_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_IsAnnouncingTo_Call) Return(b bool) *HubInterface_IsAnnouncingTo_Call
func (*HubInterface_IsAnnouncingTo_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_IsAnnouncingTo_Call) Run(run func(shipID string)) *HubInterface_IsAnnouncingTo_Call
func (*HubInterface_IsAnnouncingTo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_IsAnnouncingTo_Call) RunAndReturn(run func(shipID string) bool) *HubInterface_IsAnnouncingTo_Call
type HubInterface_IsAutoAcceptEnabled_Call ¶ added in v0.7.0
HubInterface_IsAutoAcceptEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAutoAcceptEnabled'
func (*HubInterface_IsAutoAcceptEnabled_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_IsAutoAcceptEnabled_Call) Return(b bool) *HubInterface_IsAutoAcceptEnabled_Call
func (*HubInterface_IsAutoAcceptEnabled_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_IsAutoAcceptEnabled_Call) Run(run func()) *HubInterface_IsAutoAcceptEnabled_Call
func (*HubInterface_IsAutoAcceptEnabled_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *HubInterface_IsAutoAcceptEnabled_Call
type HubInterface_PairingDetailFor_Call ¶ added in v0.7.0
HubInterface_PairingDetailFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingDetailFor'
func (*HubInterface_PairingDetailFor_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_PairingDetailFor_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubInterface_PairingDetailFor_Call
func (*HubInterface_PairingDetailFor_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_PairingDetailFor_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_PairingDetailFor_Call
func (*HubInterface_PairingDetailFor_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ConnectionStateDetail) *HubInterface_PairingDetailFor_Call
type HubInterface_PairingService_Call ¶ added in v0.7.0
HubInterface_PairingService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingService'
func (*HubInterface_PairingService_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_PairingService_Call) Return(shipPairingServiceInterface api.ShipPairingServiceInterface) *HubInterface_PairingService_Call
func (*HubInterface_PairingService_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_PairingService_Call) Run(run func()) *HubInterface_PairingService_Call
func (*HubInterface_PairingService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_PairingService_Call) RunAndReturn(run func() api.ShipPairingServiceInterface) *HubInterface_PairingService_Call
type HubInterface_RegisterRemoteService_Call ¶ added in v0.7.0
HubInterface_RegisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteService'
func (*HubInterface_RegisterRemoteService_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_RegisterRemoteService_Call) Return() *HubInterface_RegisterRemoteService_Call
func (*HubInterface_RegisterRemoteService_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_RegisterRemoteService_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_RegisterRemoteService_Call
func (*HubInterface_RegisterRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_RegisterRemoteService_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_RegisterRemoteService_Call
type HubInterface_ServiceForIdentifier_Call ¶ added in v0.7.0
HubInterface_ServiceForIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceForIdentifier'
func (*HubInterface_ServiceForIdentifier_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_ServiceForIdentifier_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_ServiceForIdentifier_Call
func (*HubInterface_ServiceForIdentifier_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_ServiceForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubInterface_ServiceForIdentifier_Call
func (*HubInterface_ServiceForIdentifier_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_ServiceForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ServiceDetails) *HubInterface_ServiceForIdentifier_Call
type HubInterface_ServiceFor_Call ¶ added in v0.7.0
HubInterface_ServiceFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceFor'
func (*HubInterface_ServiceFor_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_ServiceFor_Call) Return(serviceDetails *api.ServiceDetails) *HubInterface_ServiceFor_Call
func (*HubInterface_ServiceFor_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_ServiceFor_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_ServiceFor_Call
func (*HubInterface_ServiceFor_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_ServiceFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ServiceDetails) *HubInterface_ServiceFor_Call
type HubInterface_SetAutoAccept_Call ¶
HubInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'
func (*HubInterface_SetAutoAccept_Call) Return ¶
func (_c *HubInterface_SetAutoAccept_Call) Return() *HubInterface_SetAutoAccept_Call
func (*HubInterface_SetAutoAccept_Call) Run ¶
func (_c *HubInterface_SetAutoAccept_Call) Run(run func(b bool)) *HubInterface_SetAutoAccept_Call
func (*HubInterface_SetAutoAccept_Call) RunAndReturn ¶
func (_c *HubInterface_SetAutoAccept_Call) RunAndReturn(run func(b bool)) *HubInterface_SetAutoAccept_Call
type HubInterface_SetMaxConnections_Call ¶ added in v0.7.0
HubInterface_SetMaxConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMaxConnections'
func (*HubInterface_SetMaxConnections_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_SetMaxConnections_Call) Return() *HubInterface_SetMaxConnections_Call
func (*HubInterface_SetMaxConnections_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_SetMaxConnections_Call) Run(run func(maxConnections int)) *HubInterface_SetMaxConnections_Call
func (*HubInterface_SetMaxConnections_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_SetMaxConnections_Call) RunAndReturn(run func(maxConnections int)) *HubInterface_SetMaxConnections_Call
type HubInterface_SetPairingService_Call ¶ added in v0.7.0
HubInterface_SetPairingService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPairingService'
func (*HubInterface_SetPairingService_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_SetPairingService_Call) Return(err error) *HubInterface_SetPairingService_Call
func (*HubInterface_SetPairingService_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_SetPairingService_Call) Run(run func(service api.ShipPairingServiceInterface)) *HubInterface_SetPairingService_Call
func (*HubInterface_SetPairingService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_SetPairingService_Call) RunAndReturn(run func(service api.ShipPairingServiceInterface) error) *HubInterface_SetPairingService_Call
type HubInterface_Shutdown_Call ¶
HubInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*HubInterface_Shutdown_Call) Return ¶
func (_c *HubInterface_Shutdown_Call) Return() *HubInterface_Shutdown_Call
func (*HubInterface_Shutdown_Call) Run ¶
func (_c *HubInterface_Shutdown_Call) Run(run func()) *HubInterface_Shutdown_Call
func (*HubInterface_Shutdown_Call) RunAndReturn ¶
func (_c *HubInterface_Shutdown_Call) RunAndReturn(run func()) *HubInterface_Shutdown_Call
type HubInterface_StartAnnouncementTo_Call ¶ added in v0.7.0
HubInterface_StartAnnouncementTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAnnouncementTo'
func (*HubInterface_StartAnnouncementTo_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_StartAnnouncementTo_Call) Return(err error) *HubInterface_StartAnnouncementTo_Call
func (*HubInterface_StartAnnouncementTo_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_StartAnnouncementTo_Call) Run(run func(target api.PairingTarget)) *HubInterface_StartAnnouncementTo_Call
func (*HubInterface_StartAnnouncementTo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_StartAnnouncementTo_Call) RunAndReturn(run func(target api.PairingTarget) error) *HubInterface_StartAnnouncementTo_Call
type HubInterface_Start_Call ¶
HubInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*HubInterface_Start_Call) Return ¶
func (_c *HubInterface_Start_Call) Return(err error) *HubInterface_Start_Call
func (*HubInterface_Start_Call) Run ¶
func (_c *HubInterface_Start_Call) Run(run func()) *HubInterface_Start_Call
func (*HubInterface_Start_Call) RunAndReturn ¶
func (_c *HubInterface_Start_Call) RunAndReturn(run func() error) *HubInterface_Start_Call
type HubInterface_StopAnnouncementTo_Call ¶ added in v0.7.0
HubInterface_StopAnnouncementTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAnnouncementTo'
func (*HubInterface_StopAnnouncementTo_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_StopAnnouncementTo_Call) Return(err error) *HubInterface_StopAnnouncementTo_Call
func (*HubInterface_StopAnnouncementTo_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_StopAnnouncementTo_Call) Run(run func(shipID string)) *HubInterface_StopAnnouncementTo_Call
func (*HubInterface_StopAnnouncementTo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_StopAnnouncementTo_Call) RunAndReturn(run func(shipID string) error) *HubInterface_StopAnnouncementTo_Call
type HubInterface_UnregisterRemoteService_Call ¶ added in v0.7.0
HubInterface_UnregisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteService'
func (*HubInterface_UnregisterRemoteService_Call) Return ¶ added in v0.7.0
func (_c *HubInterface_UnregisterRemoteService_Call) Return() *HubInterface_UnregisterRemoteService_Call
func (*HubInterface_UnregisterRemoteService_Call) Run ¶ added in v0.7.0
func (_c *HubInterface_UnregisterRemoteService_Call) Run(run func(identity api.ServiceIdentity)) *HubInterface_UnregisterRemoteService_Call
func (*HubInterface_UnregisterRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubInterface_UnregisterRemoteService_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubInterface_UnregisterRemoteService_Call
type HubReaderInterface ¶
HubReaderInterface is an autogenerated mock type for the HubReaderInterface type
func NewHubReaderInterface ¶
func NewHubReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *HubReaderInterface
NewHubReaderInterface creates a new instance of HubReaderInterface. 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 (*HubReaderInterface) AllowWaitingForTrust ¶
func (_mock *HubReaderInterface) AllowWaitingForTrust(identity api.ServiceIdentity) bool
AllowWaitingForTrust provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) EXPECT ¶
func (_m *HubReaderInterface) EXPECT() *HubReaderInterface_Expecter
func (*HubReaderInterface) RemoteServiceConnected ¶ added in v0.7.0
func (_mock *HubReaderInterface) RemoteServiceConnected(identity api.ServiceIdentity)
RemoteServiceConnected provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) RemoteServiceDisconnected ¶ added in v0.7.0
func (_mock *HubReaderInterface) RemoteServiceDisconnected(identity api.ServiceIdentity)
RemoteServiceDisconnected provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) ServicePairingDetailUpdate ¶
func (_mock *HubReaderInterface) ServicePairingDetailUpdate(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)
ServicePairingDetailUpdate provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) ServiceUpdated ¶ added in v0.7.0
func (_mock *HubReaderInterface) ServiceUpdated(identity api.ServiceIdentity)
ServiceUpdated provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) SetupRemoteService ¶ added in v0.7.0
func (_mock *HubReaderInterface) SetupRemoteService(identity api.ServiceIdentity, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
SetupRemoteService provides a mock function for the type HubReaderInterface
func (*HubReaderInterface) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (_mock *HubReaderInterface) VisibleRemoteMdnsServicesUpdated(entries []api.RemoteMdnsService)
VisibleRemoteMdnsServicesUpdated provides a mock function for the type HubReaderInterface
type HubReaderInterface_AllowWaitingForTrust_Call ¶
HubReaderInterface_AllowWaitingForTrust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrust'
func (*HubReaderInterface_AllowWaitingForTrust_Call) Return ¶
func (_c *HubReaderInterface_AllowWaitingForTrust_Call) Return(b bool) *HubReaderInterface_AllowWaitingForTrust_Call
func (*HubReaderInterface_AllowWaitingForTrust_Call) Run ¶
func (_c *HubReaderInterface_AllowWaitingForTrust_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_AllowWaitingForTrust_Call
func (*HubReaderInterface_AllowWaitingForTrust_Call) RunAndReturn ¶
func (_c *HubReaderInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(identity api.ServiceIdentity) bool) *HubReaderInterface_AllowWaitingForTrust_Call
type HubReaderInterface_Expecter ¶
type HubReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*HubReaderInterface_Expecter) AllowWaitingForTrust ¶
func (_e *HubReaderInterface_Expecter) AllowWaitingForTrust(identity interface{}) *HubReaderInterface_AllowWaitingForTrust_Call
AllowWaitingForTrust is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderInterface_Expecter) RemoteServiceConnected ¶ added in v0.7.0
func (_e *HubReaderInterface_Expecter) RemoteServiceConnected(identity interface{}) *HubReaderInterface_RemoteServiceConnected_Call
RemoteServiceConnected is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderInterface_Expecter) RemoteServiceDisconnected ¶ added in v0.7.0
func (_e *HubReaderInterface_Expecter) RemoteServiceDisconnected(identity interface{}) *HubReaderInterface_RemoteServiceDisconnected_Call
RemoteServiceDisconnected is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderInterface_Expecter) ServicePairingDetailUpdate ¶
func (_e *HubReaderInterface_Expecter) ServicePairingDetailUpdate(identity interface{}, detail interface{}) *HubReaderInterface_ServicePairingDetailUpdate_Call
ServicePairingDetailUpdate is a helper method to define mock.On call
- identity api.ServiceIdentity
- detail *api.ConnectionStateDetail
func (*HubReaderInterface_Expecter) ServiceUpdated ¶ added in v0.7.0
func (_e *HubReaderInterface_Expecter) ServiceUpdated(identity interface{}) *HubReaderInterface_ServiceUpdated_Call
ServiceUpdated is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderInterface_Expecter) SetupRemoteService ¶ added in v0.7.0
func (_e *HubReaderInterface_Expecter) SetupRemoteService(identity interface{}, writeI interface{}) *HubReaderInterface_SetupRemoteService_Call
SetupRemoteService is a helper method to define mock.On call
- identity api.ServiceIdentity
- writeI api.ShipConnectionDataWriterInterface
func (*HubReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (_e *HubReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated(entries interface{}) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
VisibleRemoteMdnsServicesUpdated is a helper method to define mock.On call
- entries []api.RemoteMdnsService
type HubReaderInterface_RemoteServiceConnected_Call ¶ added in v0.7.0
HubReaderInterface_RemoteServiceConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceConnected'
func (*HubReaderInterface_RemoteServiceConnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderInterface_RemoteServiceConnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceConnected_Call
func (*HubReaderInterface_RemoteServiceConnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderInterface_RemoteServiceConnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceConnected_Call
type HubReaderInterface_RemoteServiceDisconnected_Call ¶ added in v0.7.0
HubReaderInterface_RemoteServiceDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceDisconnected'
func (*HubReaderInterface_RemoteServiceDisconnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderInterface_RemoteServiceDisconnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceDisconnected_Call
func (*HubReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_RemoteServiceDisconnected_Call
type HubReaderInterface_ServicePairingDetailUpdate_Call ¶
HubReaderInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'
func (*HubReaderInterface_ServicePairingDetailUpdate_Call) Run ¶
func (_c *HubReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderInterface_ServicePairingDetailUpdate_Call
func (*HubReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn ¶
func (_c *HubReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderInterface_ServicePairingDetailUpdate_Call
type HubReaderInterface_ServiceUpdated_Call ¶ added in v0.7.0
HubReaderInterface_ServiceUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceUpdated'
func (*HubReaderInterface_ServiceUpdated_Call) Return ¶ added in v0.7.0
func (_c *HubReaderInterface_ServiceUpdated_Call) Return() *HubReaderInterface_ServiceUpdated_Call
func (*HubReaderInterface_ServiceUpdated_Call) Run ¶ added in v0.7.0
func (_c *HubReaderInterface_ServiceUpdated_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderInterface_ServiceUpdated_Call
func (*HubReaderInterface_ServiceUpdated_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderInterface_ServiceUpdated_Call
type HubReaderInterface_SetupRemoteService_Call ¶ added in v0.7.0
HubReaderInterface_SetupRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetupRemoteService'
func (*HubReaderInterface_SetupRemoteService_Call) Return ¶ added in v0.7.0
func (_c *HubReaderInterface_SetupRemoteService_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *HubReaderInterface_SetupRemoteService_Call
func (*HubReaderInterface_SetupRemoteService_Call) Run ¶ added in v0.7.0
func (_c *HubReaderInterface_SetupRemoteService_Call) Run(run func(identity api.ServiceIdentity, writeI api.ShipConnectionDataWriterInterface)) *HubReaderInterface_SetupRemoteService_Call
func (*HubReaderInterface_SetupRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderInterface_SetupRemoteService_Call) RunAndReturn(run func(identity api.ServiceIdentity, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface) *HubReaderInterface_SetupRemoteService_Call
type HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call ¶ added in v0.7.0
HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VisibleRemoteMdnsServicesUpdated'
func (*HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run ¶ added in v0.7.0
func (_c *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run(run func(entries []api.RemoteMdnsService)) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
func (*HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(entries []api.RemoteMdnsService)) *HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
type HubReaderServiceIdentityInterface ¶ added in v0.7.0
HubReaderServiceIdentityInterface is an autogenerated mock type for the HubReaderServiceIdentityInterface type
func NewHubReaderServiceIdentityInterface ¶ added in v0.7.0
func NewHubReaderServiceIdentityInterface(t interface {
mock.TestingT
Cleanup(func())
}) *HubReaderServiceIdentityInterface
NewHubReaderServiceIdentityInterface creates a new instance of HubReaderServiceIdentityInterface. 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 (*HubReaderServiceIdentityInterface) AllowWaitingForTrust ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) AllowWaitingForTrust(ski string) bool
AllowWaitingForTrust provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) AllowWaitingForTrustIdentity ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) AllowWaitingForTrustIdentity(identity api.ServiceIdentity) bool
AllowWaitingForTrustIdentity provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) EXPECT ¶ added in v0.7.0
func (_m *HubReaderServiceIdentityInterface) EXPECT() *HubReaderServiceIdentityInterface_Expecter
func (*HubReaderServiceIdentityInterface) RemoteSKIConnected ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) RemoteSKIConnected(ski string)
RemoteSKIConnected provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) RemoteSKIDisconnected ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) RemoteSKIDisconnected(ski string)
RemoteSKIDisconnected provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) RemoteServiceConnected ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) RemoteServiceConnected(identity api.ServiceIdentity)
RemoteServiceConnected provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) RemoteServiceDisconnected ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) RemoteServiceDisconnected(identity api.ServiceIdentity)
RemoteServiceDisconnected provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) ServicePairingDetailUpdate ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) ServicePairingDetailUpdate(ski string, detail *api.ConnectionStateDetail)
ServicePairingDetailUpdate provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) ServicePairingDetailUpdateIdentity ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) ServicePairingDetailUpdateIdentity(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)
ServicePairingDetailUpdateIdentity provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) ServiceShipIDUpdate ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) ServiceShipIDUpdate(ski string, shipdID string)
ServiceShipIDUpdate provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) ServiceUpdated ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) ServiceUpdated(identity api.ServiceIdentity)
ServiceUpdated provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) SetupRemoteDevice ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) SetupRemoteDevice(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
SetupRemoteDevice provides a mock function for the type HubReaderServiceIdentityInterface
func (*HubReaderServiceIdentityInterface) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (_mock *HubReaderServiceIdentityInterface) VisibleRemoteMdnsServicesUpdated(entries []api.RemoteMdnsService)
VisibleRemoteMdnsServicesUpdated provides a mock function for the type HubReaderServiceIdentityInterface
type HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrustIdentity'
func (*HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) Return ¶ added in v0.7.0
func (*HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
func (*HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity) bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
type HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrust'
func (*HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
func (*HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(ski string) bool) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
type HubReaderServiceIdentityInterface_Expecter ¶ added in v0.7.0
type HubReaderServiceIdentityInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrust ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrust(ski interface{}) *HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call
AllowWaitingForTrust is a helper method to define mock.On call
- ski string
func (*HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrustIdentity ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrustIdentity(identity interface{}) *HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call
AllowWaitingForTrustIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderServiceIdentityInterface_Expecter) RemoteSKIConnected ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteSKIConnected(ski interface{}) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
RemoteSKIConnected is a helper method to define mock.On call
- ski string
func (*HubReaderServiceIdentityInterface_Expecter) RemoteSKIDisconnected ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteSKIDisconnected(ski interface{}) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
RemoteSKIDisconnected is a helper method to define mock.On call
- ski string
func (*HubReaderServiceIdentityInterface_Expecter) RemoteServiceConnected ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteServiceConnected(identity interface{}) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
RemoteServiceConnected is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderServiceIdentityInterface_Expecter) RemoteServiceDisconnected ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) RemoteServiceDisconnected(identity interface{}) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
RemoteServiceDisconnected is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdate ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdate(ski interface{}, detail interface{}) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
ServicePairingDetailUpdate is a helper method to define mock.On call
- ski string
- detail *api.ConnectionStateDetail
func (*HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdateIdentity ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) ServicePairingDetailUpdateIdentity(identity interface{}, detail interface{}) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
ServicePairingDetailUpdateIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
- detail *api.ConnectionStateDetail
func (*HubReaderServiceIdentityInterface_Expecter) ServiceShipIDUpdate ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) ServiceShipIDUpdate(ski interface{}, shipdID interface{}) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
ServiceShipIDUpdate is a helper method to define mock.On call
- ski string
- shipdID string
func (*HubReaderServiceIdentityInterface_Expecter) ServiceUpdated ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) ServiceUpdated(identity interface{}) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
ServiceUpdated is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubReaderServiceIdentityInterface_Expecter) SetupRemoteDevice ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) SetupRemoteDevice(ski interface{}, writeI interface{}) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
SetupRemoteDevice is a helper method to define mock.On call
- ski string
- writeI api.ShipConnectionDataWriterInterface
func (*HubReaderServiceIdentityInterface_Expecter) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (_e *HubReaderServiceIdentityInterface_Expecter) VisibleRemoteMdnsServicesUpdated(entries interface{}) *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
VisibleRemoteMdnsServicesUpdated is a helper method to define mock.On call
- entries []api.RemoteMdnsService
type HubReaderServiceIdentityInterface_RemoteSKIConnected_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_RemoteSKIConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIConnected'
func (*HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
func (*HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) RunAndReturn(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIConnected_Call
type HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIDisconnected'
func (*HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Run(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
func (*HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) RunAndReturn(run func(ski string)) *HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call
type HubReaderServiceIdentityInterface_RemoteServiceConnected_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_RemoteServiceConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceConnected'
func (*HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
func (*HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceConnected_Call
type HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceDisconnected'
func (*HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
func (*HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call
type HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call ¶ added in v0.7.0
type HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call struct {
*mock.Call
}
HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdateIdentity'
func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) Return ¶ added in v0.7.0
func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) Run(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call
type HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'
func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Run(run func(ski string, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(ski string, detail *api.ConnectionStateDetail)) *HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call
type HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceShipIDUpdate'
func (*HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Run(run func(ski string, shipdID string)) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
func (*HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) RunAndReturn(run func(ski string, shipdID string)) *HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call
type HubReaderServiceIdentityInterface_ServiceUpdated_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_ServiceUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceUpdated'
func (*HubReaderServiceIdentityInterface_ServiceUpdated_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServiceUpdated_Call) Run(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
func (*HubReaderServiceIdentityInterface_ServiceUpdated_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubReaderServiceIdentityInterface_ServiceUpdated_Call
type HubReaderServiceIdentityInterface_SetupRemoteDevice_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_SetupRemoteDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetupRemoteDevice'
func (*HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Return ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
func (*HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Run ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Run(run func(ski string, writeI api.ShipConnectionDataWriterInterface)) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
func (*HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) RunAndReturn(run func(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface) *HubReaderServiceIdentityInterface_SetupRemoteDevice_Call
type HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call ¶ added in v0.7.0
HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VisibleRemoteMdnsServicesUpdated'
func (*HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) Return ¶ added in v0.7.0
func (*HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) Run ¶ added in v0.7.0
func (*HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(entries []api.RemoteMdnsService)) *HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call
type HubServiceIdentityInterface ¶ added in v0.7.0
HubServiceIdentityInterface is an autogenerated mock type for the HubServiceIdentityInterface type
func NewHubServiceIdentityInterface ¶ added in v0.7.0
func NewHubServiceIdentityInterface(t interface {
mock.TestingT
Cleanup(func())
}) *HubServiceIdentityInterface
NewHubServiceIdentityInterface creates a new instance of HubServiceIdentityInterface. 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 (*HubServiceIdentityInterface) CancelPairingWithSKI ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) CancelPairingWithSKI(ski string)
CancelPairingWithSKI provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) CancelPairingWithServiceIdentity ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) CancelPairingWithServiceIdentity(identity api.ServiceIdentity)
CancelPairingWithServiceIdentity provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) DisconnectSKI ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) DisconnectSKI(ski string, reason string)
DisconnectSKI provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) DisconnectServiceIdentity ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) DisconnectServiceIdentity(identity api.ServiceIdentity, reason string)
DisconnectServiceIdentity provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) EXPECT ¶ added in v0.7.0
func (_m *HubServiceIdentityInterface) EXPECT() *HubServiceIdentityInterface_Expecter
func (*HubServiceIdentityInterface) PairingDetailFor ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) PairingDetailFor(identity api.ServiceIdentity) *api.ConnectionStateDetail
PairingDetailFor provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) PairingDetailForIdentifier ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) PairingDetailForIdentifier(ski string, fingerprint string) *api.ConnectionStateDetail
PairingDetailForIdentifier provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) RegisterRemoteService ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) RegisterRemoteService(ski string, fingerprint string, shipID string)
RegisterRemoteService provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) RegisterRemoteServiceIdentity ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) RegisterRemoteServiceIdentity(identity api.ServiceIdentity)
RegisterRemoteServiceIdentity provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) ServiceFor ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) ServiceFor(identity api.ServiceIdentity) *api.ServiceDetails
ServiceFor provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) ServiceForIdentifier ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) ServiceForIdentifier(ski string, fingerprint string) *api.ServiceDetails
ServiceForIdentifier provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) SetAutoAccept ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) SetAutoAccept(b bool)
SetAutoAccept provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) Shutdown ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) Shutdown()
Shutdown provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) Start ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) Start() error
Start provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) UnregisterRemoteService ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) UnregisterRemoteService(ski string, fingerprint string)
UnregisterRemoteService provides a mock function for the type HubServiceIdentityInterface
func (*HubServiceIdentityInterface) UnregisterRemoteServiceIdentity ¶ added in v0.7.0
func (_mock *HubServiceIdentityInterface) UnregisterRemoteServiceIdentity(identity api.ServiceIdentity)
UnregisterRemoteServiceIdentity provides a mock function for the type HubServiceIdentityInterface
type HubServiceIdentityInterface_CancelPairingWithSKI_Call ¶ added in v0.7.0
HubServiceIdentityInterface_CancelPairingWithSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairingWithSKI'
func (*HubServiceIdentityInterface_CancelPairingWithSKI_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_CancelPairingWithSKI_Call) Run(run func(ski string)) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
func (*HubServiceIdentityInterface_CancelPairingWithSKI_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_CancelPairingWithSKI_Call) RunAndReturn(run func(ski string)) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
type HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call ¶ added in v0.7.0
HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairingWithServiceIdentity'
func (*HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
func (*HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
type HubServiceIdentityInterface_DisconnectSKI_Call ¶ added in v0.7.0
HubServiceIdentityInterface_DisconnectSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectSKI'
func (*HubServiceIdentityInterface_DisconnectSKI_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_DisconnectSKI_Call) Run(run func(ski string, reason string)) *HubServiceIdentityInterface_DisconnectSKI_Call
func (*HubServiceIdentityInterface_DisconnectSKI_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_DisconnectSKI_Call) RunAndReturn(run func(ski string, reason string)) *HubServiceIdentityInterface_DisconnectSKI_Call
type HubServiceIdentityInterface_DisconnectServiceIdentity_Call ¶ added in v0.7.0
HubServiceIdentityInterface_DisconnectServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectServiceIdentity'
func (*HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Run(run func(identity api.ServiceIdentity, reason string)) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
func (*HubServiceIdentityInterface_DisconnectServiceIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_DisconnectServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
type HubServiceIdentityInterface_Expecter ¶ added in v0.7.0
type HubServiceIdentityInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*HubServiceIdentityInterface_Expecter) CancelPairingWithSKI ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) CancelPairingWithSKI(ski interface{}) *HubServiceIdentityInterface_CancelPairingWithSKI_Call
CancelPairingWithSKI is a helper method to define mock.On call
- ski string
func (*HubServiceIdentityInterface_Expecter) CancelPairingWithServiceIdentity ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) CancelPairingWithServiceIdentity(identity interface{}) *HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call
CancelPairingWithServiceIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubServiceIdentityInterface_Expecter) DisconnectSKI ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) DisconnectSKI(ski interface{}, reason interface{}) *HubServiceIdentityInterface_DisconnectSKI_Call
DisconnectSKI is a helper method to define mock.On call
- ski string
- reason string
func (*HubServiceIdentityInterface_Expecter) DisconnectServiceIdentity ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) DisconnectServiceIdentity(identity interface{}, reason interface{}) *HubServiceIdentityInterface_DisconnectServiceIdentity_Call
DisconnectServiceIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
- reason string
func (*HubServiceIdentityInterface_Expecter) PairingDetailFor ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) PairingDetailFor(identity interface{}) *HubServiceIdentityInterface_PairingDetailFor_Call
PairingDetailFor is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubServiceIdentityInterface_Expecter) PairingDetailForIdentifier ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) PairingDetailForIdentifier(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
PairingDetailForIdentifier is a helper method to define mock.On call
- ski string
- fingerprint string
func (*HubServiceIdentityInterface_Expecter) RegisterRemoteService ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) RegisterRemoteService(ski interface{}, fingerprint interface{}, shipID interface{}) *HubServiceIdentityInterface_RegisterRemoteService_Call
RegisterRemoteService is a helper method to define mock.On call
- ski string
- fingerprint string
- shipID string
func (*HubServiceIdentityInterface_Expecter) RegisterRemoteServiceIdentity ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) RegisterRemoteServiceIdentity(identity interface{}) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
RegisterRemoteServiceIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubServiceIdentityInterface_Expecter) ServiceFor ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) ServiceFor(identity interface{}) *HubServiceIdentityInterface_ServiceFor_Call
ServiceFor is a helper method to define mock.On call
- identity api.ServiceIdentity
func (*HubServiceIdentityInterface_Expecter) ServiceForIdentifier ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) ServiceForIdentifier(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_ServiceForIdentifier_Call
ServiceForIdentifier is a helper method to define mock.On call
- ski string
- fingerprint string
func (*HubServiceIdentityInterface_Expecter) SetAutoAccept ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) SetAutoAccept(b interface{}) *HubServiceIdentityInterface_SetAutoAccept_Call
SetAutoAccept is a helper method to define mock.On call
- b bool
func (*HubServiceIdentityInterface_Expecter) Shutdown ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) Shutdown() *HubServiceIdentityInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*HubServiceIdentityInterface_Expecter) Start ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) Start() *HubServiceIdentityInterface_Start_Call
Start is a helper method to define mock.On call
func (*HubServiceIdentityInterface_Expecter) UnregisterRemoteService ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) UnregisterRemoteService(ski interface{}, fingerprint interface{}) *HubServiceIdentityInterface_UnregisterRemoteService_Call
UnregisterRemoteService is a helper method to define mock.On call
- ski string
- fingerprint string
func (*HubServiceIdentityInterface_Expecter) UnregisterRemoteServiceIdentity ¶ added in v0.7.0
func (_e *HubServiceIdentityInterface_Expecter) UnregisterRemoteServiceIdentity(identity interface{}) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
UnregisterRemoteServiceIdentity is a helper method to define mock.On call
- identity api.ServiceIdentity
type HubServiceIdentityInterface_PairingDetailForIdentifier_Call ¶ added in v0.7.0
HubServiceIdentityInterface_PairingDetailForIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingDetailForIdentifier'
func (*HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
func (*HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
func (*HubServiceIdentityInterface_PairingDetailForIdentifier_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailForIdentifier_Call
type HubServiceIdentityInterface_PairingDetailFor_Call ¶ added in v0.7.0
HubServiceIdentityInterface_PairingDetailFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingDetailFor'
func (*HubServiceIdentityInterface_PairingDetailFor_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) Return(connectionStateDetail *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailFor_Call
func (*HubServiceIdentityInterface_PairingDetailFor_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_PairingDetailFor_Call
func (*HubServiceIdentityInterface_PairingDetailFor_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ConnectionStateDetail) *HubServiceIdentityInterface_PairingDetailFor_Call
type HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call ¶ added in v0.7.0
HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteServiceIdentity'
func (*HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
func (*HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call
type HubServiceIdentityInterface_RegisterRemoteService_Call ¶ added in v0.7.0
HubServiceIdentityInterface_RegisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteService'
func (*HubServiceIdentityInterface_RegisterRemoteService_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_RegisterRemoteService_Call) Run(run func(ski string, fingerprint string, shipID string)) *HubServiceIdentityInterface_RegisterRemoteService_Call
func (*HubServiceIdentityInterface_RegisterRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_RegisterRemoteService_Call) RunAndReturn(run func(ski string, fingerprint string, shipID string)) *HubServiceIdentityInterface_RegisterRemoteService_Call
type HubServiceIdentityInterface_ServiceForIdentifier_Call ¶ added in v0.7.0
HubServiceIdentityInterface_ServiceForIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceForIdentifier'
func (*HubServiceIdentityInterface_ServiceForIdentifier_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) Return(serviceDetails *api.ServiceDetails) *HubServiceIdentityInterface_ServiceForIdentifier_Call
func (*HubServiceIdentityInterface_ServiceForIdentifier_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_ServiceForIdentifier_Call
func (*HubServiceIdentityInterface_ServiceForIdentifier_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceForIdentifier_Call) RunAndReturn(run func(ski string, fingerprint string) *api.ServiceDetails) *HubServiceIdentityInterface_ServiceForIdentifier_Call
type HubServiceIdentityInterface_ServiceFor_Call ¶ added in v0.7.0
HubServiceIdentityInterface_ServiceFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceFor'
func (*HubServiceIdentityInterface_ServiceFor_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceFor_Call) Return(serviceDetails *api.ServiceDetails) *HubServiceIdentityInterface_ServiceFor_Call
func (*HubServiceIdentityInterface_ServiceFor_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceFor_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_ServiceFor_Call
func (*HubServiceIdentityInterface_ServiceFor_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_ServiceFor_Call) RunAndReturn(run func(identity api.ServiceIdentity) *api.ServiceDetails) *HubServiceIdentityInterface_ServiceFor_Call
type HubServiceIdentityInterface_SetAutoAccept_Call ¶ added in v0.7.0
HubServiceIdentityInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'
func (*HubServiceIdentityInterface_SetAutoAccept_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_SetAutoAccept_Call) Run(run func(b bool)) *HubServiceIdentityInterface_SetAutoAccept_Call
func (*HubServiceIdentityInterface_SetAutoAccept_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_SetAutoAccept_Call) RunAndReturn(run func(b bool)) *HubServiceIdentityInterface_SetAutoAccept_Call
type HubServiceIdentityInterface_Shutdown_Call ¶ added in v0.7.0
HubServiceIdentityInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*HubServiceIdentityInterface_Shutdown_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Shutdown_Call) Return() *HubServiceIdentityInterface_Shutdown_Call
func (*HubServiceIdentityInterface_Shutdown_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Shutdown_Call) Run(run func()) *HubServiceIdentityInterface_Shutdown_Call
func (*HubServiceIdentityInterface_Shutdown_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Shutdown_Call) RunAndReturn(run func()) *HubServiceIdentityInterface_Shutdown_Call
type HubServiceIdentityInterface_Start_Call ¶ added in v0.7.0
HubServiceIdentityInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*HubServiceIdentityInterface_Start_Call) Return ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Start_Call) Return(err error) *HubServiceIdentityInterface_Start_Call
func (*HubServiceIdentityInterface_Start_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Start_Call) Run(run func()) *HubServiceIdentityInterface_Start_Call
func (*HubServiceIdentityInterface_Start_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_Start_Call) RunAndReturn(run func() error) *HubServiceIdentityInterface_Start_Call
type HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call ¶ added in v0.7.0
HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteServiceIdentity'
func (*HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Run(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
func (*HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call
type HubServiceIdentityInterface_UnregisterRemoteService_Call ¶ added in v0.7.0
HubServiceIdentityInterface_UnregisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteService'
func (*HubServiceIdentityInterface_UnregisterRemoteService_Call) Run ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_UnregisterRemoteService_Call) Run(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_UnregisterRemoteService_Call
func (*HubServiceIdentityInterface_UnregisterRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *HubServiceIdentityInterface_UnregisterRemoteService_Call) RunAndReturn(run func(ski string, fingerprint string)) *HubServiceIdentityInterface_UnregisterRemoteService_Call
type LoggingInterface ¶
LoggingInterface is an autogenerated mock type for the LoggingInterface type
func NewLoggingInterface ¶
func NewLoggingInterface(t interface {
mock.TestingT
Cleanup(func())
}) *LoggingInterface
NewLoggingInterface creates a new instance of LoggingInterface. 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 (*LoggingInterface) Debug ¶
func (_m *LoggingInterface) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*LoggingInterface) Debugf ¶
func (_m *LoggingInterface) Debugf(format string, args ...interface{})
Debugf provides a mock function with given fields: format, args
func (*LoggingInterface) EXPECT ¶
func (_m *LoggingInterface) EXPECT() *LoggingInterface_Expecter
func (*LoggingInterface) Error ¶
func (_m *LoggingInterface) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*LoggingInterface) Errorf ¶
func (_m *LoggingInterface) Errorf(format string, args ...interface{})
Errorf provides a mock function with given fields: format, args
func (*LoggingInterface) Info ¶
func (_m *LoggingInterface) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*LoggingInterface) Infof ¶
func (_m *LoggingInterface) Infof(format string, args ...interface{})
Infof provides a mock function with given fields: format, args
func (*LoggingInterface) Trace ¶
func (_m *LoggingInterface) Trace(args ...interface{})
Trace provides a mock function with given fields: args
func (*LoggingInterface) Tracef ¶
func (_m *LoggingInterface) Tracef(format string, args ...interface{})
Tracef provides a mock function with given fields: format, args
type LoggingInterface_Debug_Call ¶
LoggingInterface_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*LoggingInterface_Debug_Call) Return ¶
func (_c *LoggingInterface_Debug_Call) Return() *LoggingInterface_Debug_Call
func (*LoggingInterface_Debug_Call) Run ¶
func (_c *LoggingInterface_Debug_Call) Run(run func(args ...interface{})) *LoggingInterface_Debug_Call
func (*LoggingInterface_Debug_Call) RunAndReturn ¶
func (_c *LoggingInterface_Debug_Call) RunAndReturn(run func(...interface{})) *LoggingInterface_Debug_Call
type LoggingInterface_Debugf_Call ¶
LoggingInterface_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'
func (*LoggingInterface_Debugf_Call) Return ¶
func (_c *LoggingInterface_Debugf_Call) Return() *LoggingInterface_Debugf_Call
func (*LoggingInterface_Debugf_Call) Run ¶
func (_c *LoggingInterface_Debugf_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Debugf_Call
func (*LoggingInterface_Debugf_Call) RunAndReturn ¶
func (_c *LoggingInterface_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Debugf_Call
type LoggingInterface_Error_Call ¶
LoggingInterface_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*LoggingInterface_Error_Call) Return ¶
func (_c *LoggingInterface_Error_Call) Return() *LoggingInterface_Error_Call
func (*LoggingInterface_Error_Call) Run ¶
func (_c *LoggingInterface_Error_Call) Run(run func(args ...interface{})) *LoggingInterface_Error_Call
func (*LoggingInterface_Error_Call) RunAndReturn ¶
func (_c *LoggingInterface_Error_Call) RunAndReturn(run func(...interface{})) *LoggingInterface_Error_Call
type LoggingInterface_Errorf_Call ¶
LoggingInterface_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*LoggingInterface_Errorf_Call) Return ¶
func (_c *LoggingInterface_Errorf_Call) Return() *LoggingInterface_Errorf_Call
func (*LoggingInterface_Errorf_Call) Run ¶
func (_c *LoggingInterface_Errorf_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Errorf_Call
func (*LoggingInterface_Errorf_Call) RunAndReturn ¶
func (_c *LoggingInterface_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Errorf_Call
type LoggingInterface_Expecter ¶
type LoggingInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*LoggingInterface_Expecter) Debug ¶
func (_e *LoggingInterface_Expecter) Debug(args ...interface{}) *LoggingInterface_Debug_Call
Debug is a helper method to define mock.On call
- args ...interface{}
func (*LoggingInterface_Expecter) Debugf ¶
func (_e *LoggingInterface_Expecter) Debugf(format interface{}, args ...interface{}) *LoggingInterface_Debugf_Call
Debugf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*LoggingInterface_Expecter) Error ¶
func (_e *LoggingInterface_Expecter) Error(args ...interface{}) *LoggingInterface_Error_Call
Error is a helper method to define mock.On call
- args ...interface{}
func (*LoggingInterface_Expecter) Errorf ¶
func (_e *LoggingInterface_Expecter) Errorf(format interface{}, args ...interface{}) *LoggingInterface_Errorf_Call
Errorf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*LoggingInterface_Expecter) Info ¶
func (_e *LoggingInterface_Expecter) Info(args ...interface{}) *LoggingInterface_Info_Call
Info is a helper method to define mock.On call
- args ...interface{}
func (*LoggingInterface_Expecter) Infof ¶
func (_e *LoggingInterface_Expecter) Infof(format interface{}, args ...interface{}) *LoggingInterface_Infof_Call
Infof is a helper method to define mock.On call
- format string
- args ...interface{}
func (*LoggingInterface_Expecter) Trace ¶
func (_e *LoggingInterface_Expecter) Trace(args ...interface{}) *LoggingInterface_Trace_Call
Trace is a helper method to define mock.On call
- args ...interface{}
func (*LoggingInterface_Expecter) Tracef ¶
func (_e *LoggingInterface_Expecter) Tracef(format interface{}, args ...interface{}) *LoggingInterface_Tracef_Call
Tracef is a helper method to define mock.On call
- format string
- args ...interface{}
type LoggingInterface_Info_Call ¶
LoggingInterface_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*LoggingInterface_Info_Call) Return ¶
func (_c *LoggingInterface_Info_Call) Return() *LoggingInterface_Info_Call
func (*LoggingInterface_Info_Call) Run ¶
func (_c *LoggingInterface_Info_Call) Run(run func(args ...interface{})) *LoggingInterface_Info_Call
func (*LoggingInterface_Info_Call) RunAndReturn ¶
func (_c *LoggingInterface_Info_Call) RunAndReturn(run func(...interface{})) *LoggingInterface_Info_Call
type LoggingInterface_Infof_Call ¶
LoggingInterface_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*LoggingInterface_Infof_Call) Return ¶
func (_c *LoggingInterface_Infof_Call) Return() *LoggingInterface_Infof_Call
func (*LoggingInterface_Infof_Call) Run ¶
func (_c *LoggingInterface_Infof_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Infof_Call
func (*LoggingInterface_Infof_Call) RunAndReturn ¶
func (_c *LoggingInterface_Infof_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Infof_Call
type LoggingInterface_Trace_Call ¶
LoggingInterface_Trace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trace'
func (*LoggingInterface_Trace_Call) Return ¶
func (_c *LoggingInterface_Trace_Call) Return() *LoggingInterface_Trace_Call
func (*LoggingInterface_Trace_Call) Run ¶
func (_c *LoggingInterface_Trace_Call) Run(run func(args ...interface{})) *LoggingInterface_Trace_Call
func (*LoggingInterface_Trace_Call) RunAndReturn ¶
func (_c *LoggingInterface_Trace_Call) RunAndReturn(run func(...interface{})) *LoggingInterface_Trace_Call
type LoggingInterface_Tracef_Call ¶
LoggingInterface_Tracef_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tracef'
func (*LoggingInterface_Tracef_Call) Return ¶
func (_c *LoggingInterface_Tracef_Call) Return() *LoggingInterface_Tracef_Call
func (*LoggingInterface_Tracef_Call) Run ¶
func (_c *LoggingInterface_Tracef_Call) Run(run func(format string, args ...interface{})) *LoggingInterface_Tracef_Call
func (*LoggingInterface_Tracef_Call) RunAndReturn ¶
func (_c *LoggingInterface_Tracef_Call) RunAndReturn(run func(string, ...interface{})) *LoggingInterface_Tracef_Call
type MdnsInterface ¶
MdnsInterface is an autogenerated mock type for the MdnsInterface type
func NewMdnsInterface ¶
func NewMdnsInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MdnsInterface
NewMdnsInterface creates a new instance of MdnsInterface. 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 (*MdnsInterface) AnnounceMdnsEntry ¶
func (_mock *MdnsInterface) AnnounceMdnsEntry() error
AnnounceMdnsEntry provides a mock function for the type MdnsInterface
func (*MdnsInterface) DeviceBrand ¶ added in v0.7.0
func (_mock *MdnsInterface) DeviceBrand() string
DeviceBrand provides a mock function for the type MdnsInterface
func (*MdnsInterface) DeviceCategories ¶ added in v0.7.0
func (_mock *MdnsInterface) DeviceCategories() []api.DeviceCategoryType
DeviceCategories provides a mock function for the type MdnsInterface
func (*MdnsInterface) DeviceModel ¶ added in v0.7.0
func (_mock *MdnsInterface) DeviceModel() string
DeviceModel provides a mock function for the type MdnsInterface
func (*MdnsInterface) DeviceSerial ¶ added in v0.7.0
func (_mock *MdnsInterface) DeviceSerial() string
DeviceSerial provides a mock function for the type MdnsInterface
func (*MdnsInterface) DeviceType ¶ added in v0.7.0
func (_mock *MdnsInterface) DeviceType() string
DeviceType provides a mock function for the type MdnsInterface
func (*MdnsInterface) EXPECT ¶
func (_m *MdnsInterface) EXPECT() *MdnsInterface_Expecter
func (*MdnsInterface) RequestMdnsEntries ¶
func (_mock *MdnsInterface) RequestMdnsEntries()
RequestMdnsEntries provides a mock function for the type MdnsInterface
func (*MdnsInterface) SetAutoAccept ¶
func (_mock *MdnsInterface) SetAutoAccept(b bool)
SetAutoAccept provides a mock function for the type MdnsInterface
func (*MdnsInterface) Shutdown ¶
func (_mock *MdnsInterface) Shutdown()
Shutdown provides a mock function for the type MdnsInterface
func (*MdnsInterface) Start ¶
func (_mock *MdnsInterface) Start(pairingMode api.PairingMode, cb api.MdnsReportInterface) error
Start provides a mock function for the type MdnsInterface
func (*MdnsInterface) UnannounceMdnsEntry ¶
func (_mock *MdnsInterface) UnannounceMdnsEntry()
UnannounceMdnsEntry provides a mock function for the type MdnsInterface
type MdnsInterface_AnnounceMdnsEntry_Call ¶
MdnsInterface_AnnounceMdnsEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnnounceMdnsEntry'
func (*MdnsInterface_AnnounceMdnsEntry_Call) Return ¶
func (_c *MdnsInterface_AnnounceMdnsEntry_Call) Return(err error) *MdnsInterface_AnnounceMdnsEntry_Call
func (*MdnsInterface_AnnounceMdnsEntry_Call) Run ¶
func (_c *MdnsInterface_AnnounceMdnsEntry_Call) Run(run func()) *MdnsInterface_AnnounceMdnsEntry_Call
func (*MdnsInterface_AnnounceMdnsEntry_Call) RunAndReturn ¶
func (_c *MdnsInterface_AnnounceMdnsEntry_Call) RunAndReturn(run func() error) *MdnsInterface_AnnounceMdnsEntry_Call
type MdnsInterface_DeviceBrand_Call ¶ added in v0.7.0
MdnsInterface_DeviceBrand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeviceBrand'
func (*MdnsInterface_DeviceBrand_Call) Return ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceBrand_Call) Return(s string) *MdnsInterface_DeviceBrand_Call
func (*MdnsInterface_DeviceBrand_Call) Run ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceBrand_Call) Run(run func()) *MdnsInterface_DeviceBrand_Call
func (*MdnsInterface_DeviceBrand_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceBrand_Call) RunAndReturn(run func() string) *MdnsInterface_DeviceBrand_Call
type MdnsInterface_DeviceCategories_Call ¶ added in v0.7.0
MdnsInterface_DeviceCategories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeviceCategories'
func (*MdnsInterface_DeviceCategories_Call) Return ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceCategories_Call) Return(deviceCategoryTypes []api.DeviceCategoryType) *MdnsInterface_DeviceCategories_Call
func (*MdnsInterface_DeviceCategories_Call) Run ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceCategories_Call) Run(run func()) *MdnsInterface_DeviceCategories_Call
func (*MdnsInterface_DeviceCategories_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceCategories_Call) RunAndReturn(run func() []api.DeviceCategoryType) *MdnsInterface_DeviceCategories_Call
type MdnsInterface_DeviceModel_Call ¶ added in v0.7.0
MdnsInterface_DeviceModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeviceModel'
func (*MdnsInterface_DeviceModel_Call) Return ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceModel_Call) Return(s string) *MdnsInterface_DeviceModel_Call
func (*MdnsInterface_DeviceModel_Call) Run ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceModel_Call) Run(run func()) *MdnsInterface_DeviceModel_Call
func (*MdnsInterface_DeviceModel_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceModel_Call) RunAndReturn(run func() string) *MdnsInterface_DeviceModel_Call
type MdnsInterface_DeviceSerial_Call ¶ added in v0.7.0
MdnsInterface_DeviceSerial_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeviceSerial'
func (*MdnsInterface_DeviceSerial_Call) Return ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceSerial_Call) Return(s string) *MdnsInterface_DeviceSerial_Call
func (*MdnsInterface_DeviceSerial_Call) Run ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceSerial_Call) Run(run func()) *MdnsInterface_DeviceSerial_Call
func (*MdnsInterface_DeviceSerial_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceSerial_Call) RunAndReturn(run func() string) *MdnsInterface_DeviceSerial_Call
type MdnsInterface_DeviceType_Call ¶ added in v0.7.0
MdnsInterface_DeviceType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeviceType'
func (*MdnsInterface_DeviceType_Call) Return ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceType_Call) Return(s string) *MdnsInterface_DeviceType_Call
func (*MdnsInterface_DeviceType_Call) Run ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceType_Call) Run(run func()) *MdnsInterface_DeviceType_Call
func (*MdnsInterface_DeviceType_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsInterface_DeviceType_Call) RunAndReturn(run func() string) *MdnsInterface_DeviceType_Call
type MdnsInterface_Expecter ¶
type MdnsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MdnsInterface_Expecter) AnnounceMdnsEntry ¶
func (_e *MdnsInterface_Expecter) AnnounceMdnsEntry() *MdnsInterface_AnnounceMdnsEntry_Call
AnnounceMdnsEntry is a helper method to define mock.On call
func (*MdnsInterface_Expecter) DeviceBrand ¶ added in v0.7.0
func (_e *MdnsInterface_Expecter) DeviceBrand() *MdnsInterface_DeviceBrand_Call
DeviceBrand is a helper method to define mock.On call
func (*MdnsInterface_Expecter) DeviceCategories ¶ added in v0.7.0
func (_e *MdnsInterface_Expecter) DeviceCategories() *MdnsInterface_DeviceCategories_Call
DeviceCategories is a helper method to define mock.On call
func (*MdnsInterface_Expecter) DeviceModel ¶ added in v0.7.0
func (_e *MdnsInterface_Expecter) DeviceModel() *MdnsInterface_DeviceModel_Call
DeviceModel is a helper method to define mock.On call
func (*MdnsInterface_Expecter) DeviceSerial ¶ added in v0.7.0
func (_e *MdnsInterface_Expecter) DeviceSerial() *MdnsInterface_DeviceSerial_Call
DeviceSerial is a helper method to define mock.On call
func (*MdnsInterface_Expecter) DeviceType ¶ added in v0.7.0
func (_e *MdnsInterface_Expecter) DeviceType() *MdnsInterface_DeviceType_Call
DeviceType is a helper method to define mock.On call
func (*MdnsInterface_Expecter) RequestMdnsEntries ¶
func (_e *MdnsInterface_Expecter) RequestMdnsEntries() *MdnsInterface_RequestMdnsEntries_Call
RequestMdnsEntries is a helper method to define mock.On call
func (*MdnsInterface_Expecter) SetAutoAccept ¶
func (_e *MdnsInterface_Expecter) SetAutoAccept(b interface{}) *MdnsInterface_SetAutoAccept_Call
SetAutoAccept is a helper method to define mock.On call
- b bool
func (*MdnsInterface_Expecter) Shutdown ¶
func (_e *MdnsInterface_Expecter) Shutdown() *MdnsInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*MdnsInterface_Expecter) Start ¶
func (_e *MdnsInterface_Expecter) Start(pairingMode interface{}, cb interface{}) *MdnsInterface_Start_Call
Start is a helper method to define mock.On call
- pairingMode api.PairingMode
- cb api.MdnsReportInterface
func (*MdnsInterface_Expecter) UnannounceMdnsEntry ¶
func (_e *MdnsInterface_Expecter) UnannounceMdnsEntry() *MdnsInterface_UnannounceMdnsEntry_Call
UnannounceMdnsEntry is a helper method to define mock.On call
type MdnsInterface_RequestMdnsEntries_Call ¶
MdnsInterface_RequestMdnsEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestMdnsEntries'
func (*MdnsInterface_RequestMdnsEntries_Call) Return ¶
func (_c *MdnsInterface_RequestMdnsEntries_Call) Return() *MdnsInterface_RequestMdnsEntries_Call
func (*MdnsInterface_RequestMdnsEntries_Call) Run ¶
func (_c *MdnsInterface_RequestMdnsEntries_Call) Run(run func()) *MdnsInterface_RequestMdnsEntries_Call
func (*MdnsInterface_RequestMdnsEntries_Call) RunAndReturn ¶
func (_c *MdnsInterface_RequestMdnsEntries_Call) RunAndReturn(run func()) *MdnsInterface_RequestMdnsEntries_Call
type MdnsInterface_SetAutoAccept_Call ¶
MdnsInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'
func (*MdnsInterface_SetAutoAccept_Call) Return ¶
func (_c *MdnsInterface_SetAutoAccept_Call) Return() *MdnsInterface_SetAutoAccept_Call
func (*MdnsInterface_SetAutoAccept_Call) Run ¶
func (_c *MdnsInterface_SetAutoAccept_Call) Run(run func(b bool)) *MdnsInterface_SetAutoAccept_Call
func (*MdnsInterface_SetAutoAccept_Call) RunAndReturn ¶
func (_c *MdnsInterface_SetAutoAccept_Call) RunAndReturn(run func(b bool)) *MdnsInterface_SetAutoAccept_Call
type MdnsInterface_Shutdown_Call ¶
MdnsInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*MdnsInterface_Shutdown_Call) Return ¶
func (_c *MdnsInterface_Shutdown_Call) Return() *MdnsInterface_Shutdown_Call
func (*MdnsInterface_Shutdown_Call) Run ¶
func (_c *MdnsInterface_Shutdown_Call) Run(run func()) *MdnsInterface_Shutdown_Call
func (*MdnsInterface_Shutdown_Call) RunAndReturn ¶
func (_c *MdnsInterface_Shutdown_Call) RunAndReturn(run func()) *MdnsInterface_Shutdown_Call
type MdnsInterface_Start_Call ¶
MdnsInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MdnsInterface_Start_Call) Return ¶
func (_c *MdnsInterface_Start_Call) Return(err error) *MdnsInterface_Start_Call
func (*MdnsInterface_Start_Call) Run ¶
func (_c *MdnsInterface_Start_Call) Run(run func(pairingMode api.PairingMode, cb api.MdnsReportInterface)) *MdnsInterface_Start_Call
func (*MdnsInterface_Start_Call) RunAndReturn ¶
func (_c *MdnsInterface_Start_Call) RunAndReturn(run func(pairingMode api.PairingMode, cb api.MdnsReportInterface) error) *MdnsInterface_Start_Call
type MdnsInterface_UnannounceMdnsEntry_Call ¶
MdnsInterface_UnannounceMdnsEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnannounceMdnsEntry'
func (*MdnsInterface_UnannounceMdnsEntry_Call) Return ¶
func (_c *MdnsInterface_UnannounceMdnsEntry_Call) Return() *MdnsInterface_UnannounceMdnsEntry_Call
func (*MdnsInterface_UnannounceMdnsEntry_Call) Run ¶
func (_c *MdnsInterface_UnannounceMdnsEntry_Call) Run(run func()) *MdnsInterface_UnannounceMdnsEntry_Call
func (*MdnsInterface_UnannounceMdnsEntry_Call) RunAndReturn ¶
func (_c *MdnsInterface_UnannounceMdnsEntry_Call) RunAndReturn(run func()) *MdnsInterface_UnannounceMdnsEntry_Call
type MdnsPairingInterface ¶ added in v0.7.0
MdnsPairingInterface is an autogenerated mock type for the MdnsPairingInterface type
func NewMdnsPairingInterface ¶ added in v0.7.0
func NewMdnsPairingInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MdnsPairingInterface
NewMdnsPairingInterface creates a new instance of MdnsPairingInterface. 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 (*MdnsPairingInterface) AnnouncePairingService ¶ added in v0.7.0
func (_mock *MdnsPairingInterface) AnnouncePairingService(txtRecord *api.ShipPairingTXT) (string, error)
AnnouncePairingService provides a mock function for the type MdnsPairingInterface
func (*MdnsPairingInterface) EXPECT ¶ added in v0.7.0
func (_m *MdnsPairingInterface) EXPECT() *MdnsPairingInterface_Expecter
func (*MdnsPairingInterface) IsPairingServiceAnnounced ¶ added in v0.7.0
func (_mock *MdnsPairingInterface) IsPairingServiceAnnounced() bool
IsPairingServiceAnnounced provides a mock function for the type MdnsPairingInterface
func (*MdnsPairingInterface) RequestPairingEntries ¶ added in v0.7.0
func (_mock *MdnsPairingInterface) RequestPairingEntries() (map[string]*api.ShipPairingTXT, error)
RequestPairingEntries provides a mock function for the type MdnsPairingInterface
func (*MdnsPairingInterface) SearchPairingServices ¶ added in v0.7.0
func (_mock *MdnsPairingInterface) SearchPairingServices(callback func(*api.ShipPairingTXT) bool) error
SearchPairingServices provides a mock function for the type MdnsPairingInterface
func (*MdnsPairingInterface) UnannouncePairingService ¶ added in v0.7.0
func (_mock *MdnsPairingInterface) UnannouncePairingService(instanceID string) error
UnannouncePairingService provides a mock function for the type MdnsPairingInterface
type MdnsPairingInterface_AnnouncePairingService_Call ¶ added in v0.7.0
MdnsPairingInterface_AnnouncePairingService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnnouncePairingService'
func (*MdnsPairingInterface_AnnouncePairingService_Call) Return ¶ added in v0.7.0
func (_c *MdnsPairingInterface_AnnouncePairingService_Call) Return(s string, err error) *MdnsPairingInterface_AnnouncePairingService_Call
func (*MdnsPairingInterface_AnnouncePairingService_Call) Run ¶ added in v0.7.0
func (_c *MdnsPairingInterface_AnnouncePairingService_Call) Run(run func(txtRecord *api.ShipPairingTXT)) *MdnsPairingInterface_AnnouncePairingService_Call
func (*MdnsPairingInterface_AnnouncePairingService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsPairingInterface_AnnouncePairingService_Call) RunAndReturn(run func(txtRecord *api.ShipPairingTXT) (string, error)) *MdnsPairingInterface_AnnouncePairingService_Call
type MdnsPairingInterface_Expecter ¶ added in v0.7.0
type MdnsPairingInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MdnsPairingInterface_Expecter) AnnouncePairingService ¶ added in v0.7.0
func (_e *MdnsPairingInterface_Expecter) AnnouncePairingService(txtRecord interface{}) *MdnsPairingInterface_AnnouncePairingService_Call
AnnouncePairingService is a helper method to define mock.On call
- txtRecord *api.ShipPairingTXT
func (*MdnsPairingInterface_Expecter) IsPairingServiceAnnounced ¶ added in v0.7.0
func (_e *MdnsPairingInterface_Expecter) IsPairingServiceAnnounced() *MdnsPairingInterface_IsPairingServiceAnnounced_Call
IsPairingServiceAnnounced is a helper method to define mock.On call
func (*MdnsPairingInterface_Expecter) RequestPairingEntries ¶ added in v0.7.0
func (_e *MdnsPairingInterface_Expecter) RequestPairingEntries() *MdnsPairingInterface_RequestPairingEntries_Call
RequestPairingEntries is a helper method to define mock.On call
func (*MdnsPairingInterface_Expecter) SearchPairingServices ¶ added in v0.7.0
func (_e *MdnsPairingInterface_Expecter) SearchPairingServices(callback interface{}) *MdnsPairingInterface_SearchPairingServices_Call
SearchPairingServices is a helper method to define mock.On call
- callback func(*api.ShipPairingTXT) bool
func (*MdnsPairingInterface_Expecter) UnannouncePairingService ¶ added in v0.7.0
func (_e *MdnsPairingInterface_Expecter) UnannouncePairingService(instanceID interface{}) *MdnsPairingInterface_UnannouncePairingService_Call
UnannouncePairingService is a helper method to define mock.On call
- instanceID string
type MdnsPairingInterface_IsPairingServiceAnnounced_Call ¶ added in v0.7.0
MdnsPairingInterface_IsPairingServiceAnnounced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsPairingServiceAnnounced'
func (*MdnsPairingInterface_IsPairingServiceAnnounced_Call) Run ¶ added in v0.7.0
func (_c *MdnsPairingInterface_IsPairingServiceAnnounced_Call) Run(run func()) *MdnsPairingInterface_IsPairingServiceAnnounced_Call
func (*MdnsPairingInterface_IsPairingServiceAnnounced_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsPairingInterface_IsPairingServiceAnnounced_Call) RunAndReturn(run func() bool) *MdnsPairingInterface_IsPairingServiceAnnounced_Call
type MdnsPairingInterface_RequestPairingEntries_Call ¶ added in v0.7.0
MdnsPairingInterface_RequestPairingEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestPairingEntries'
func (*MdnsPairingInterface_RequestPairingEntries_Call) Return ¶ added in v0.7.0
func (_c *MdnsPairingInterface_RequestPairingEntries_Call) Return(stringToShipPairingTXT map[string]*api.ShipPairingTXT, err error) *MdnsPairingInterface_RequestPairingEntries_Call
func (*MdnsPairingInterface_RequestPairingEntries_Call) Run ¶ added in v0.7.0
func (_c *MdnsPairingInterface_RequestPairingEntries_Call) Run(run func()) *MdnsPairingInterface_RequestPairingEntries_Call
func (*MdnsPairingInterface_RequestPairingEntries_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsPairingInterface_RequestPairingEntries_Call) RunAndReturn(run func() (map[string]*api.ShipPairingTXT, error)) *MdnsPairingInterface_RequestPairingEntries_Call
type MdnsPairingInterface_SearchPairingServices_Call ¶ added in v0.7.0
MdnsPairingInterface_SearchPairingServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchPairingServices'
func (*MdnsPairingInterface_SearchPairingServices_Call) Return ¶ added in v0.7.0
func (_c *MdnsPairingInterface_SearchPairingServices_Call) Return(err error) *MdnsPairingInterface_SearchPairingServices_Call
func (*MdnsPairingInterface_SearchPairingServices_Call) Run ¶ added in v0.7.0
func (_c *MdnsPairingInterface_SearchPairingServices_Call) Run(run func(callback func(*api.ShipPairingTXT) bool)) *MdnsPairingInterface_SearchPairingServices_Call
func (*MdnsPairingInterface_SearchPairingServices_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsPairingInterface_SearchPairingServices_Call) RunAndReturn(run func(callback func(*api.ShipPairingTXT) bool) error) *MdnsPairingInterface_SearchPairingServices_Call
type MdnsPairingInterface_UnannouncePairingService_Call ¶ added in v0.7.0
MdnsPairingInterface_UnannouncePairingService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnannouncePairingService'
func (*MdnsPairingInterface_UnannouncePairingService_Call) Run ¶ added in v0.7.0
func (_c *MdnsPairingInterface_UnannouncePairingService_Call) Run(run func(instanceID string)) *MdnsPairingInterface_UnannouncePairingService_Call
func (*MdnsPairingInterface_UnannouncePairingService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsPairingInterface_UnannouncePairingService_Call) RunAndReturn(run func(instanceID string) error) *MdnsPairingInterface_UnannouncePairingService_Call
type MdnsProviderInterface ¶
MdnsProviderInterface is an autogenerated mock type for the MdnsProviderInterface type
func NewMdnsProviderInterface ¶
func NewMdnsProviderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MdnsProviderInterface
NewMdnsProviderInterface creates a new instance of MdnsProviderInterface. 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 (*MdnsProviderInterface) AnnounceService ¶ added in v0.7.0
func (_mock *MdnsProviderInterface) AnnounceService(serviceType string, serviceName string, port int, txt []string) (string, error)
AnnounceService provides a mock function for the type MdnsProviderInterface
func (*MdnsProviderInterface) EXPECT ¶
func (_m *MdnsProviderInterface) EXPECT() *MdnsProviderInterface_Expecter
func (*MdnsProviderInterface) Shutdown ¶
func (_mock *MdnsProviderInterface) Shutdown()
Shutdown provides a mock function for the type MdnsProviderInterface
func (*MdnsProviderInterface) Start ¶ added in v0.6.0
func (_mock *MdnsProviderInterface) Start(pairingMode api.PairingMode, autoReconnect bool, cb api.MdnsResolveCB) bool
Start provides a mock function for the type MdnsProviderInterface
func (*MdnsProviderInterface) UnannounceService ¶ added in v0.7.0
func (_mock *MdnsProviderInterface) UnannounceService(instanceID string) error
UnannounceService provides a mock function for the type MdnsProviderInterface
type MdnsProviderInterface_AnnounceService_Call ¶ added in v0.7.0
MdnsProviderInterface_AnnounceService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnnounceService'
func (*MdnsProviderInterface_AnnounceService_Call) Return ¶ added in v0.7.0
func (_c *MdnsProviderInterface_AnnounceService_Call) Return(s string, err error) *MdnsProviderInterface_AnnounceService_Call
func (*MdnsProviderInterface_AnnounceService_Call) Run ¶ added in v0.7.0
func (_c *MdnsProviderInterface_AnnounceService_Call) Run(run func(serviceType string, serviceName string, port int, txt []string)) *MdnsProviderInterface_AnnounceService_Call
func (*MdnsProviderInterface_AnnounceService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsProviderInterface_AnnounceService_Call) RunAndReturn(run func(serviceType string, serviceName string, port int, txt []string) (string, error)) *MdnsProviderInterface_AnnounceService_Call
type MdnsProviderInterface_Expecter ¶
type MdnsProviderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MdnsProviderInterface_Expecter) AnnounceService ¶ added in v0.7.0
func (_e *MdnsProviderInterface_Expecter) AnnounceService(serviceType interface{}, serviceName interface{}, port interface{}, txt interface{}) *MdnsProviderInterface_AnnounceService_Call
AnnounceService is a helper method to define mock.On call
- serviceType string
- serviceName string
- port int
- txt []string
func (*MdnsProviderInterface_Expecter) Shutdown ¶
func (_e *MdnsProviderInterface_Expecter) Shutdown() *MdnsProviderInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*MdnsProviderInterface_Expecter) Start ¶ added in v0.6.0
func (_e *MdnsProviderInterface_Expecter) Start(pairingMode interface{}, autoReconnect interface{}, cb interface{}) *MdnsProviderInterface_Start_Call
Start is a helper method to define mock.On call
- pairingMode api.PairingMode
- autoReconnect bool
- cb api.MdnsResolveCB
func (*MdnsProviderInterface_Expecter) UnannounceService ¶ added in v0.7.0
func (_e *MdnsProviderInterface_Expecter) UnannounceService(instanceID interface{}) *MdnsProviderInterface_UnannounceService_Call
UnannounceService is a helper method to define mock.On call
- instanceID string
type MdnsProviderInterface_Shutdown_Call ¶
MdnsProviderInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*MdnsProviderInterface_Shutdown_Call) Return ¶
func (_c *MdnsProviderInterface_Shutdown_Call) Return() *MdnsProviderInterface_Shutdown_Call
func (*MdnsProviderInterface_Shutdown_Call) Run ¶
func (_c *MdnsProviderInterface_Shutdown_Call) Run(run func()) *MdnsProviderInterface_Shutdown_Call
func (*MdnsProviderInterface_Shutdown_Call) RunAndReturn ¶
func (_c *MdnsProviderInterface_Shutdown_Call) RunAndReturn(run func()) *MdnsProviderInterface_Shutdown_Call
type MdnsProviderInterface_Start_Call ¶ added in v0.6.0
MdnsProviderInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MdnsProviderInterface_Start_Call) Return ¶ added in v0.6.0
func (_c *MdnsProviderInterface_Start_Call) Return(b bool) *MdnsProviderInterface_Start_Call
func (*MdnsProviderInterface_Start_Call) Run ¶ added in v0.6.0
func (_c *MdnsProviderInterface_Start_Call) Run(run func(pairingMode api.PairingMode, autoReconnect bool, cb api.MdnsResolveCB)) *MdnsProviderInterface_Start_Call
func (*MdnsProviderInterface_Start_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MdnsProviderInterface_Start_Call) RunAndReturn(run func(pairingMode api.PairingMode, autoReconnect bool, cb api.MdnsResolveCB) bool) *MdnsProviderInterface_Start_Call
type MdnsProviderInterface_UnannounceService_Call ¶ added in v0.7.0
MdnsProviderInterface_UnannounceService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnannounceService'
func (*MdnsProviderInterface_UnannounceService_Call) Return ¶ added in v0.7.0
func (_c *MdnsProviderInterface_UnannounceService_Call) Return(err error) *MdnsProviderInterface_UnannounceService_Call
func (*MdnsProviderInterface_UnannounceService_Call) Run ¶ added in v0.7.0
func (_c *MdnsProviderInterface_UnannounceService_Call) Run(run func(instanceID string)) *MdnsProviderInterface_UnannounceService_Call
func (*MdnsProviderInterface_UnannounceService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MdnsProviderInterface_UnannounceService_Call) RunAndReturn(run func(instanceID string) error) *MdnsProviderInterface_UnannounceService_Call
type MdnsReportInterface ¶
MdnsReportInterface is an autogenerated mock type for the MdnsReportInterface type
func NewMdnsReportInterface ¶
func NewMdnsReportInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MdnsReportInterface
NewMdnsReportInterface creates a new instance of MdnsReportInterface. 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 (*MdnsReportInterface) EXPECT ¶
func (_m *MdnsReportInterface) EXPECT() *MdnsReportInterface_Expecter
func (*MdnsReportInterface) ReportMdnsEntries ¶
func (_mock *MdnsReportInterface) ReportMdnsEntries(entries map[string]*api.MdnsEntry, newEntries bool)
ReportMdnsEntries provides a mock function for the type MdnsReportInterface
type MdnsReportInterface_Expecter ¶
type MdnsReportInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MdnsReportInterface_Expecter) ReportMdnsEntries ¶
func (_e *MdnsReportInterface_Expecter) ReportMdnsEntries(entries interface{}, newEntries interface{}) *MdnsReportInterface_ReportMdnsEntries_Call
ReportMdnsEntries is a helper method to define mock.On call
- entries map[string]*api.MdnsEntry
- newEntries bool
type MdnsReportInterface_ReportMdnsEntries_Call ¶
MdnsReportInterface_ReportMdnsEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReportMdnsEntries'
func (*MdnsReportInterface_ReportMdnsEntries_Call) Return ¶
func (_c *MdnsReportInterface_ReportMdnsEntries_Call) Return() *MdnsReportInterface_ReportMdnsEntries_Call
func (*MdnsReportInterface_ReportMdnsEntries_Call) Run ¶
func (_c *MdnsReportInterface_ReportMdnsEntries_Call) Run(run func(entries map[string]*api.MdnsEntry, newEntries bool)) *MdnsReportInterface_ReportMdnsEntries_Call
func (*MdnsReportInterface_ReportMdnsEntries_Call) RunAndReturn ¶
func (_c *MdnsReportInterface_ReportMdnsEntries_Call) RunAndReturn(run func(entries map[string]*api.MdnsEntry, newEntries bool)) *MdnsReportInterface_ReportMdnsEntries_Call
type MdnsResolveCB ¶
MdnsResolveCB is an autogenerated mock type for the MdnsResolveCB type
func NewMdnsResolveCB ¶
func NewMdnsResolveCB(t interface {
mock.TestingT
Cleanup(func())
}) *MdnsResolveCB
NewMdnsResolveCB creates a new instance of MdnsResolveCB. 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 (*MdnsResolveCB) EXPECT ¶
func (_m *MdnsResolveCB) EXPECT() *MdnsResolveCB_Expecter
type MdnsResolveCB_Execute_Call ¶
MdnsResolveCB_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MdnsResolveCB_Execute_Call) Return ¶
func (_c *MdnsResolveCB_Execute_Call) Return() *MdnsResolveCB_Execute_Call
func (*MdnsResolveCB_Execute_Call) Run ¶
func (_c *MdnsResolveCB_Execute_Call) Run(run func(elements map[string]string, name string, host string, addresses []net.IP, port int, remove bool)) *MdnsResolveCB_Execute_Call
func (*MdnsResolveCB_Execute_Call) RunAndReturn ¶
func (_c *MdnsResolveCB_Execute_Call) RunAndReturn(run func(map[string]string, string, string, []net.IP, int, bool)) *MdnsResolveCB_Execute_Call
type MdnsResolveCB_Expecter ¶
type MdnsResolveCB_Expecter struct {
// contains filtered or unexported fields
}
func (*MdnsResolveCB_Expecter) Execute ¶
func (_e *MdnsResolveCB_Expecter) Execute(elements interface{}, name interface{}, host interface{}, addresses interface{}, port interface{}, remove interface{}) *MdnsResolveCB_Execute_Call
Execute is a helper method to define mock.On call
- elements map[string]string
- name string
- host string
- addresses []net.IP
- port int
- remove bool
type MockHubReaderInterface ¶
type MockHubReaderInterface struct {
// contains filtered or unexported fields
}
MockHubReaderInterface is a mock of HubReaderInterface interface.
func NewMockHubReaderInterface ¶
func NewMockHubReaderInterface(ctrl *gomock.Controller) *MockHubReaderInterface
NewMockHubReaderInterface creates a new mock instance.
func (*MockHubReaderInterface) AllowWaitingForTrust ¶
func (m *MockHubReaderInterface) AllowWaitingForTrust(arg0 api.ServiceIdentity) bool
AllowWaitingForTrust mocks base method.
func (*MockHubReaderInterface) EXPECT ¶
func (m *MockHubReaderInterface) EXPECT() *MockHubReaderInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHubReaderInterface) RemoteServiceConnected ¶ added in v0.7.0
func (m *MockHubReaderInterface) RemoteServiceConnected(arg0 api.ServiceIdentity)
RemoteServiceConnected mocks base method.
func (*MockHubReaderInterface) RemoteServiceDisconnected ¶ added in v0.7.0
func (m *MockHubReaderInterface) RemoteServiceDisconnected(arg0 api.ServiceIdentity)
RemoteServiceDisconnected mocks base method.
func (*MockHubReaderInterface) ServicePairingDetailUpdate ¶
func (m *MockHubReaderInterface) ServicePairingDetailUpdate(arg0 api.ServiceIdentity, arg1 *api.ConnectionStateDetail)
ServicePairingDetailUpdate mocks base method.
func (*MockHubReaderInterface) ServiceUpdated ¶ added in v0.7.0
func (m *MockHubReaderInterface) ServiceUpdated(arg0 api.ServiceIdentity)
ServiceUpdated mocks base method.
func (*MockHubReaderInterface) SetupRemoteService ¶ added in v0.7.0
func (m *MockHubReaderInterface) SetupRemoteService(arg0 api.ServiceIdentity, arg1 api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
SetupRemoteService mocks base method.
func (*MockHubReaderInterface) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (m *MockHubReaderInterface) VisibleRemoteMdnsServicesUpdated(arg0 []api.RemoteMdnsService)
VisibleRemoteMdnsServicesUpdated mocks base method.
type MockHubReaderInterfaceMockRecorder ¶
type MockHubReaderInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHubReaderInterfaceMockRecorder is the mock recorder for MockHubReaderInterface.
func (*MockHubReaderInterfaceMockRecorder) AllowWaitingForTrust ¶
func (mr *MockHubReaderInterfaceMockRecorder) AllowWaitingForTrust(arg0 any) *gomock.Call
AllowWaitingForTrust indicates an expected call of AllowWaitingForTrust.
func (*MockHubReaderInterfaceMockRecorder) RemoteServiceConnected ¶ added in v0.7.0
func (mr *MockHubReaderInterfaceMockRecorder) RemoteServiceConnected(arg0 any) *gomock.Call
RemoteServiceConnected indicates an expected call of RemoteServiceConnected.
func (*MockHubReaderInterfaceMockRecorder) RemoteServiceDisconnected ¶ added in v0.7.0
func (mr *MockHubReaderInterfaceMockRecorder) RemoteServiceDisconnected(arg0 any) *gomock.Call
RemoteServiceDisconnected indicates an expected call of RemoteServiceDisconnected.
func (*MockHubReaderInterfaceMockRecorder) ServicePairingDetailUpdate ¶
func (mr *MockHubReaderInterfaceMockRecorder) ServicePairingDetailUpdate(arg0, arg1 any) *gomock.Call
ServicePairingDetailUpdate indicates an expected call of ServicePairingDetailUpdate.
func (*MockHubReaderInterfaceMockRecorder) ServiceUpdated ¶ added in v0.7.0
func (mr *MockHubReaderInterfaceMockRecorder) ServiceUpdated(arg0 any) *gomock.Call
ServiceUpdated indicates an expected call of ServiceUpdated.
func (*MockHubReaderInterfaceMockRecorder) SetupRemoteService ¶ added in v0.7.0
func (mr *MockHubReaderInterfaceMockRecorder) SetupRemoteService(arg0, arg1 any) *gomock.Call
SetupRemoteService indicates an expected call of SetupRemoteService.
func (*MockHubReaderInterfaceMockRecorder) VisibleRemoteMdnsServicesUpdated ¶ added in v0.7.0
func (mr *MockHubReaderInterfaceMockRecorder) VisibleRemoteMdnsServicesUpdated(arg0 any) *gomock.Call
VisibleRemoteMdnsServicesUpdated indicates an expected call of VisibleRemoteMdnsServicesUpdated.
type MockMdnsInterface ¶
type MockMdnsInterface struct {
// contains filtered or unexported fields
}
MockMdnsInterface is a mock of MdnsInterface interface.
func NewMockMdnsInterface ¶
func NewMockMdnsInterface(ctrl *gomock.Controller) *MockMdnsInterface
NewMockMdnsInterface creates a new mock instance.
func (*MockMdnsInterface) AnnounceMdnsEntry ¶
func (m *MockMdnsInterface) AnnounceMdnsEntry() error
AnnounceMdnsEntry mocks base method.
func (*MockMdnsInterface) DeviceBrand ¶ added in v0.7.0
func (m *MockMdnsInterface) DeviceBrand() string
DeviceBrand mocks base method.
func (*MockMdnsInterface) DeviceCategories ¶ added in v0.7.0
func (m *MockMdnsInterface) DeviceCategories() []api.DeviceCategoryType
DeviceCategories mocks base method.
func (*MockMdnsInterface) DeviceModel ¶ added in v0.7.0
func (m *MockMdnsInterface) DeviceModel() string
DeviceModel mocks base method.
func (*MockMdnsInterface) DeviceSerial ¶ added in v0.7.0
func (m *MockMdnsInterface) DeviceSerial() string
DeviceSerial mocks base method.
func (*MockMdnsInterface) DeviceType ¶ added in v0.7.0
func (m *MockMdnsInterface) DeviceType() string
DeviceType mocks base method.
func (*MockMdnsInterface) EXPECT ¶
func (m *MockMdnsInterface) EXPECT() *MockMdnsInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMdnsInterface) RequestMdnsEntries ¶
func (m *MockMdnsInterface) RequestMdnsEntries()
RequestMdnsEntries mocks base method.
func (*MockMdnsInterface) SetAutoAccept ¶
func (m *MockMdnsInterface) SetAutoAccept(arg0 bool)
SetAutoAccept mocks base method.
func (*MockMdnsInterface) Shutdown ¶
func (m *MockMdnsInterface) Shutdown()
Shutdown mocks base method.
func (*MockMdnsInterface) Start ¶
func (m *MockMdnsInterface) Start(arg0 api.PairingMode, arg1 api.MdnsReportInterface) error
Start mocks base method.
func (*MockMdnsInterface) UnannounceMdnsEntry ¶
func (m *MockMdnsInterface) UnannounceMdnsEntry()
UnannounceMdnsEntry mocks base method.
type MockMdnsInterfaceMockRecorder ¶
type MockMdnsInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMdnsInterfaceMockRecorder is the mock recorder for MockMdnsInterface.
func (*MockMdnsInterfaceMockRecorder) AnnounceMdnsEntry ¶
func (mr *MockMdnsInterfaceMockRecorder) AnnounceMdnsEntry() *gomock.Call
AnnounceMdnsEntry indicates an expected call of AnnounceMdnsEntry.
func (*MockMdnsInterfaceMockRecorder) DeviceBrand ¶ added in v0.7.0
func (mr *MockMdnsInterfaceMockRecorder) DeviceBrand() *gomock.Call
DeviceBrand indicates an expected call of DeviceBrand.
func (*MockMdnsInterfaceMockRecorder) DeviceCategories ¶ added in v0.7.0
func (mr *MockMdnsInterfaceMockRecorder) DeviceCategories() *gomock.Call
DeviceCategories indicates an expected call of DeviceCategories.
func (*MockMdnsInterfaceMockRecorder) DeviceModel ¶ added in v0.7.0
func (mr *MockMdnsInterfaceMockRecorder) DeviceModel() *gomock.Call
DeviceModel indicates an expected call of DeviceModel.
func (*MockMdnsInterfaceMockRecorder) DeviceSerial ¶ added in v0.7.0
func (mr *MockMdnsInterfaceMockRecorder) DeviceSerial() *gomock.Call
DeviceSerial indicates an expected call of DeviceSerial.
func (*MockMdnsInterfaceMockRecorder) DeviceType ¶ added in v0.7.0
func (mr *MockMdnsInterfaceMockRecorder) DeviceType() *gomock.Call
DeviceType indicates an expected call of DeviceType.
func (*MockMdnsInterfaceMockRecorder) RequestMdnsEntries ¶
func (mr *MockMdnsInterfaceMockRecorder) RequestMdnsEntries() *gomock.Call
RequestMdnsEntries indicates an expected call of RequestMdnsEntries.
func (*MockMdnsInterfaceMockRecorder) SetAutoAccept ¶
func (mr *MockMdnsInterfaceMockRecorder) SetAutoAccept(arg0 any) *gomock.Call
SetAutoAccept indicates an expected call of SetAutoAccept.
func (*MockMdnsInterfaceMockRecorder) Shutdown ¶
func (mr *MockMdnsInterfaceMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockMdnsInterfaceMockRecorder) Start ¶
func (mr *MockMdnsInterfaceMockRecorder) Start(arg0, arg1 any) *gomock.Call
Start indicates an expected call of Start.
func (*MockMdnsInterfaceMockRecorder) UnannounceMdnsEntry ¶
func (mr *MockMdnsInterfaceMockRecorder) UnannounceMdnsEntry() *gomock.Call
UnannounceMdnsEntry indicates an expected call of UnannounceMdnsEntry.
type PairingAnnouncerInterface ¶ added in v0.7.0
PairingAnnouncerInterface is an autogenerated mock type for the PairingAnnouncerInterface type
func NewPairingAnnouncerInterface ¶ added in v0.7.0
func NewPairingAnnouncerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingAnnouncerInterface
NewPairingAnnouncerInterface creates a new instance of PairingAnnouncerInterface. 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 (*PairingAnnouncerInterface) Announce ¶ added in v0.7.0
func (_mock *PairingAnnouncerInterface) Announce(target api.PairingTarget) error
Announce provides a mock function for the type PairingAnnouncerInterface
func (*PairingAnnouncerInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingAnnouncerInterface) EXPECT() *PairingAnnouncerInterface_Expecter
func (*PairingAnnouncerInterface) GetAnnouncementStatus ¶ added in v0.7.0
func (_mock *PairingAnnouncerInterface) GetAnnouncementStatus() api.AnnouncementStatus
GetAnnouncementStatus provides a mock function for the type PairingAnnouncerInterface
func (*PairingAnnouncerInterface) StopAnnouncement ¶ added in v0.7.0
func (_mock *PairingAnnouncerInterface) StopAnnouncement() error
StopAnnouncement provides a mock function for the type PairingAnnouncerInterface
type PairingAnnouncerInterface_Announce_Call ¶ added in v0.7.0
PairingAnnouncerInterface_Announce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Announce'
func (*PairingAnnouncerInterface_Announce_Call) Return ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_Announce_Call) Return(err error) *PairingAnnouncerInterface_Announce_Call
func (*PairingAnnouncerInterface_Announce_Call) Run ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_Announce_Call) Run(run func(target api.PairingTarget)) *PairingAnnouncerInterface_Announce_Call
func (*PairingAnnouncerInterface_Announce_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_Announce_Call) RunAndReturn(run func(target api.PairingTarget) error) *PairingAnnouncerInterface_Announce_Call
type PairingAnnouncerInterface_Expecter ¶ added in v0.7.0
type PairingAnnouncerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingAnnouncerInterface_Expecter) Announce ¶ added in v0.7.0
func (_e *PairingAnnouncerInterface_Expecter) Announce(target interface{}) *PairingAnnouncerInterface_Announce_Call
Announce is a helper method to define mock.On call
- target api.PairingTarget
func (*PairingAnnouncerInterface_Expecter) GetAnnouncementStatus ¶ added in v0.7.0
func (_e *PairingAnnouncerInterface_Expecter) GetAnnouncementStatus() *PairingAnnouncerInterface_GetAnnouncementStatus_Call
GetAnnouncementStatus is a helper method to define mock.On call
func (*PairingAnnouncerInterface_Expecter) StopAnnouncement ¶ added in v0.7.0
func (_e *PairingAnnouncerInterface_Expecter) StopAnnouncement() *PairingAnnouncerInterface_StopAnnouncement_Call
StopAnnouncement is a helper method to define mock.On call
type PairingAnnouncerInterface_GetAnnouncementStatus_Call ¶ added in v0.7.0
PairingAnnouncerInterface_GetAnnouncementStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnouncementStatus'
func (*PairingAnnouncerInterface_GetAnnouncementStatus_Call) Return ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) Return(announcementStatus api.AnnouncementStatus) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
func (*PairingAnnouncerInterface_GetAnnouncementStatus_Call) Run ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) Run(run func()) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
func (*PairingAnnouncerInterface_GetAnnouncementStatus_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_GetAnnouncementStatus_Call) RunAndReturn(run func() api.AnnouncementStatus) *PairingAnnouncerInterface_GetAnnouncementStatus_Call
type PairingAnnouncerInterface_StopAnnouncement_Call ¶ added in v0.7.0
PairingAnnouncerInterface_StopAnnouncement_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAnnouncement'
func (*PairingAnnouncerInterface_StopAnnouncement_Call) Return ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) Return(err error) *PairingAnnouncerInterface_StopAnnouncement_Call
func (*PairingAnnouncerInterface_StopAnnouncement_Call) Run ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) Run(run func()) *PairingAnnouncerInterface_StopAnnouncement_Call
func (*PairingAnnouncerInterface_StopAnnouncement_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingAnnouncerInterface_StopAnnouncement_Call) RunAndReturn(run func() error) *PairingAnnouncerInterface_StopAnnouncement_Call
type PairingCryptoInterface ¶ added in v0.7.0
PairingCryptoInterface is an autogenerated mock type for the PairingCryptoInterface type
func NewPairingCryptoInterface ¶ added in v0.7.0
func NewPairingCryptoInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingCryptoInterface
NewPairingCryptoInterface creates a new instance of PairingCryptoInterface. 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 (*PairingCryptoInterface) CalculateDigest ¶ added in v0.7.0
func (_mock *PairingCryptoInterface) CalculateDigest(secret api.PairingSecret, params api.HMACParams) ([]byte, error)
CalculateDigest provides a mock function for the type PairingCryptoInterface
func (*PairingCryptoInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingCryptoInterface) EXPECT() *PairingCryptoInterface_Expecter
func (*PairingCryptoInterface) GenerateNonce ¶ added in v0.7.0
func (_mock *PairingCryptoInterface) GenerateNonce() ([]byte, error)
GenerateNonce provides a mock function for the type PairingCryptoInterface
func (*PairingCryptoInterface) ValidateDigest ¶ added in v0.7.0
func (_mock *PairingCryptoInterface) ValidateDigest(secret api.PairingSecret, params api.HMACParams, expectedDigest []byte) error
ValidateDigest provides a mock function for the type PairingCryptoInterface
type PairingCryptoInterface_CalculateDigest_Call ¶ added in v0.7.0
PairingCryptoInterface_CalculateDigest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CalculateDigest'
func (*PairingCryptoInterface_CalculateDigest_Call) Return ¶ added in v0.7.0
func (_c *PairingCryptoInterface_CalculateDigest_Call) Return(bytes []byte, err error) *PairingCryptoInterface_CalculateDigest_Call
func (*PairingCryptoInterface_CalculateDigest_Call) Run ¶ added in v0.7.0
func (_c *PairingCryptoInterface_CalculateDigest_Call) Run(run func(secret api.PairingSecret, params api.HMACParams)) *PairingCryptoInterface_CalculateDigest_Call
func (*PairingCryptoInterface_CalculateDigest_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingCryptoInterface_CalculateDigest_Call) RunAndReturn(run func(secret api.PairingSecret, params api.HMACParams) ([]byte, error)) *PairingCryptoInterface_CalculateDigest_Call
type PairingCryptoInterface_Expecter ¶ added in v0.7.0
type PairingCryptoInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingCryptoInterface_Expecter) CalculateDigest ¶ added in v0.7.0
func (_e *PairingCryptoInterface_Expecter) CalculateDigest(secret interface{}, params interface{}) *PairingCryptoInterface_CalculateDigest_Call
CalculateDigest is a helper method to define mock.On call
- secret api.PairingSecret
- params api.HMACParams
func (*PairingCryptoInterface_Expecter) GenerateNonce ¶ added in v0.7.0
func (_e *PairingCryptoInterface_Expecter) GenerateNonce() *PairingCryptoInterface_GenerateNonce_Call
GenerateNonce is a helper method to define mock.On call
func (*PairingCryptoInterface_Expecter) ValidateDigest ¶ added in v0.7.0
func (_e *PairingCryptoInterface_Expecter) ValidateDigest(secret interface{}, params interface{}, expectedDigest interface{}) *PairingCryptoInterface_ValidateDigest_Call
ValidateDigest is a helper method to define mock.On call
- secret api.PairingSecret
- params api.HMACParams
- expectedDigest []byte
type PairingCryptoInterface_GenerateNonce_Call ¶ added in v0.7.0
PairingCryptoInterface_GenerateNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateNonce'
func (*PairingCryptoInterface_GenerateNonce_Call) Return ¶ added in v0.7.0
func (_c *PairingCryptoInterface_GenerateNonce_Call) Return(bytes []byte, err error) *PairingCryptoInterface_GenerateNonce_Call
func (*PairingCryptoInterface_GenerateNonce_Call) Run ¶ added in v0.7.0
func (_c *PairingCryptoInterface_GenerateNonce_Call) Run(run func()) *PairingCryptoInterface_GenerateNonce_Call
func (*PairingCryptoInterface_GenerateNonce_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingCryptoInterface_GenerateNonce_Call) RunAndReturn(run func() ([]byte, error)) *PairingCryptoInterface_GenerateNonce_Call
type PairingCryptoInterface_ValidateDigest_Call ¶ added in v0.7.0
PairingCryptoInterface_ValidateDigest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateDigest'
func (*PairingCryptoInterface_ValidateDigest_Call) Return ¶ added in v0.7.0
func (_c *PairingCryptoInterface_ValidateDigest_Call) Return(err error) *PairingCryptoInterface_ValidateDigest_Call
func (*PairingCryptoInterface_ValidateDigest_Call) Run ¶ added in v0.7.0
func (_c *PairingCryptoInterface_ValidateDigest_Call) Run(run func(secret api.PairingSecret, params api.HMACParams, expectedDigest []byte)) *PairingCryptoInterface_ValidateDigest_Call
func (*PairingCryptoInterface_ValidateDigest_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingCryptoInterface_ValidateDigest_Call) RunAndReturn(run func(secret api.PairingSecret, params api.HMACParams, expectedDigest []byte) error) *PairingCryptoInterface_ValidateDigest_Call
type PairingHistoryProviderInterface ¶ added in v0.7.0
PairingHistoryProviderInterface is an autogenerated mock type for the PairingHistoryProviderInterface type
func NewPairingHistoryProviderInterface ¶ added in v0.7.0
func NewPairingHistoryProviderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingHistoryProviderInterface
NewPairingHistoryProviderInterface creates a new instance of PairingHistoryProviderInterface. 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 (*PairingHistoryProviderInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingHistoryProviderInterface) EXPECT() *PairingHistoryProviderInterface_Expecter
func (*PairingHistoryProviderInterface) HasSeenDigest ¶ added in v0.7.0
func (_mock *PairingHistoryProviderInterface) HasSeenDigest(alg string, digest string) bool
HasSeenDigest provides a mock function for the type PairingHistoryProviderInterface
func (*PairingHistoryProviderInterface) RecordPairing ¶ added in v0.7.0
func (_mock *PairingHistoryProviderInterface) RecordPairing(alg string, digest string)
RecordPairing provides a mock function for the type PairingHistoryProviderInterface
type PairingHistoryProviderInterface_Expecter ¶ added in v0.7.0
type PairingHistoryProviderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingHistoryProviderInterface_Expecter) HasSeenDigest ¶ added in v0.7.0
func (_e *PairingHistoryProviderInterface_Expecter) HasSeenDigest(alg interface{}, digest interface{}) *PairingHistoryProviderInterface_HasSeenDigest_Call
HasSeenDigest is a helper method to define mock.On call
- alg string
- digest string
func (*PairingHistoryProviderInterface_Expecter) RecordPairing ¶ added in v0.7.0
func (_e *PairingHistoryProviderInterface_Expecter) RecordPairing(alg interface{}, digest interface{}) *PairingHistoryProviderInterface_RecordPairing_Call
RecordPairing is a helper method to define mock.On call
- alg string
- digest string
type PairingHistoryProviderInterface_HasSeenDigest_Call ¶ added in v0.7.0
PairingHistoryProviderInterface_HasSeenDigest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSeenDigest'
func (*PairingHistoryProviderInterface_HasSeenDigest_Call) Run ¶ added in v0.7.0
func (_c *PairingHistoryProviderInterface_HasSeenDigest_Call) Run(run func(alg string, digest string)) *PairingHistoryProviderInterface_HasSeenDigest_Call
func (*PairingHistoryProviderInterface_HasSeenDigest_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingHistoryProviderInterface_HasSeenDigest_Call) RunAndReturn(run func(alg string, digest string) bool) *PairingHistoryProviderInterface_HasSeenDigest_Call
type PairingHistoryProviderInterface_RecordPairing_Call ¶ added in v0.7.0
PairingHistoryProviderInterface_RecordPairing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordPairing'
func (*PairingHistoryProviderInterface_RecordPairing_Call) Run ¶ added in v0.7.0
func (_c *PairingHistoryProviderInterface_RecordPairing_Call) Run(run func(alg string, digest string)) *PairingHistoryProviderInterface_RecordPairing_Call
func (*PairingHistoryProviderInterface_RecordPairing_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingHistoryProviderInterface_RecordPairing_Call) RunAndReturn(run func(alg string, digest string)) *PairingHistoryProviderInterface_RecordPairing_Call
type PairingHubInterface ¶ added in v0.7.0
PairingHubInterface is an autogenerated mock type for the PairingHubInterface type
func NewPairingHubInterface ¶ added in v0.7.0
func NewPairingHubInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingHubInterface
NewPairingHubInterface creates a new instance of PairingHubInterface. 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 (*PairingHubInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingHubInterface) EXPECT() *PairingHubInterface_Expecter
func (*PairingHubInterface) GetTrustedAddCuDevice ¶ added in v0.7.0
func (_mock *PairingHubInterface) GetTrustedAddCuDevice() *api.ServiceDetails
GetTrustedAddCuDevice provides a mock function for the type PairingHubInterface
func (*PairingHubInterface) OnPairingFailure ¶ added in v0.7.0
func (_mock *PairingHubInterface) OnPairingFailure(remoteShipID string, remoteFingerprint string, reason error)
OnPairingFailure provides a mock function for the type PairingHubInterface
func (*PairingHubInterface) OnPairingSuccess ¶ added in v0.7.0
func (_mock *PairingHubInterface) OnPairingSuccess(remoteShipID string, remoteFingerprint string)
OnPairingSuccess provides a mock function for the type PairingHubInterface
type PairingHubInterface_Expecter ¶ added in v0.7.0
type PairingHubInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingHubInterface_Expecter) GetTrustedAddCuDevice ¶ added in v0.7.0
func (_e *PairingHubInterface_Expecter) GetTrustedAddCuDevice() *PairingHubInterface_GetTrustedAddCuDevice_Call
GetTrustedAddCuDevice is a helper method to define mock.On call
func (*PairingHubInterface_Expecter) OnPairingFailure ¶ added in v0.7.0
func (_e *PairingHubInterface_Expecter) OnPairingFailure(remoteShipID interface{}, remoteFingerprint interface{}, reason interface{}) *PairingHubInterface_OnPairingFailure_Call
OnPairingFailure is a helper method to define mock.On call
- remoteShipID string
- remoteFingerprint string
- reason error
func (*PairingHubInterface_Expecter) OnPairingSuccess ¶ added in v0.7.0
func (_e *PairingHubInterface_Expecter) OnPairingSuccess(remoteShipID interface{}, remoteFingerprint interface{}) *PairingHubInterface_OnPairingSuccess_Call
OnPairingSuccess is a helper method to define mock.On call
- remoteShipID string
- remoteFingerprint string
type PairingHubInterface_GetTrustedAddCuDevice_Call ¶ added in v0.7.0
PairingHubInterface_GetTrustedAddCuDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTrustedAddCuDevice'
func (*PairingHubInterface_GetTrustedAddCuDevice_Call) Return ¶ added in v0.7.0
func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api.ServiceDetails) *PairingHubInterface_GetTrustedAddCuDevice_Call
func (*PairingHubInterface_GetTrustedAddCuDevice_Call) Run ¶ added in v0.7.0
func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) Run(run func()) *PairingHubInterface_GetTrustedAddCuDevice_Call
func (*PairingHubInterface_GetTrustedAddCuDevice_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingHubInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api.ServiceDetails) *PairingHubInterface_GetTrustedAddCuDevice_Call
type PairingHubInterface_OnPairingFailure_Call ¶ added in v0.7.0
PairingHubInterface_OnPairingFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPairingFailure'
func (*PairingHubInterface_OnPairingFailure_Call) Return ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingFailure_Call) Return() *PairingHubInterface_OnPairingFailure_Call
func (*PairingHubInterface_OnPairingFailure_Call) Run ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingFailure_Call) Run(run func(remoteShipID string, remoteFingerprint string, reason error)) *PairingHubInterface_OnPairingFailure_Call
func (*PairingHubInterface_OnPairingFailure_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingFailure_Call) RunAndReturn(run func(remoteShipID string, remoteFingerprint string, reason error)) *PairingHubInterface_OnPairingFailure_Call
type PairingHubInterface_OnPairingSuccess_Call ¶ added in v0.7.0
PairingHubInterface_OnPairingSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPairingSuccess'
func (*PairingHubInterface_OnPairingSuccess_Call) Return ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingSuccess_Call) Return() *PairingHubInterface_OnPairingSuccess_Call
func (*PairingHubInterface_OnPairingSuccess_Call) Run ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingSuccess_Call) Run(run func(remoteShipID string, remoteFingerprint string)) *PairingHubInterface_OnPairingSuccess_Call
func (*PairingHubInterface_OnPairingSuccess_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingHubInterface_OnPairingSuccess_Call) RunAndReturn(run func(remoteShipID string, remoteFingerprint string)) *PairingHubInterface_OnPairingSuccess_Call
type PairingListenerInterface ¶ added in v0.7.0
PairingListenerInterface is an autogenerated mock type for the PairingListenerInterface type
func NewPairingListenerInterface ¶ added in v0.7.0
func NewPairingListenerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingListenerInterface
NewPairingListenerInterface creates a new instance of PairingListenerInterface. 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 (*PairingListenerInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingListenerInterface) EXPECT() *PairingListenerInterface_Expecter
func (*PairingListenerInterface) GetListenerStatus ¶ added in v0.7.0
func (_mock *PairingListenerInterface) GetListenerStatus() api.ListenerStatus
GetListenerStatus provides a mock function for the type PairingListenerInterface
func (*PairingListenerInterface) ProcessPendingEntries ¶ added in v0.7.0
func (_mock *PairingListenerInterface) ProcessPendingEntries(entries map[string]*api.ShipPairingTXT) error
ProcessPendingEntries provides a mock function for the type PairingListenerInterface
func (*PairingListenerInterface) StartListening ¶ added in v0.7.0
func (_mock *PairingListenerInterface) StartListening(ctx context.Context, secret api.PairingSecret) error
StartListening provides a mock function for the type PairingListenerInterface
func (*PairingListenerInterface) StopListening ¶ added in v0.7.0
func (_mock *PairingListenerInterface) StopListening() error
StopListening provides a mock function for the type PairingListenerInterface
type PairingListenerInterface_Expecter ¶ added in v0.7.0
type PairingListenerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingListenerInterface_Expecter) GetListenerStatus ¶ added in v0.7.0
func (_e *PairingListenerInterface_Expecter) GetListenerStatus() *PairingListenerInterface_GetListenerStatus_Call
GetListenerStatus is a helper method to define mock.On call
func (*PairingListenerInterface_Expecter) ProcessPendingEntries ¶ added in v0.7.0
func (_e *PairingListenerInterface_Expecter) ProcessPendingEntries(entries interface{}) *PairingListenerInterface_ProcessPendingEntries_Call
ProcessPendingEntries is a helper method to define mock.On call
- entries map[string]*api.ShipPairingTXT
func (*PairingListenerInterface_Expecter) StartListening ¶ added in v0.7.0
func (_e *PairingListenerInterface_Expecter) StartListening(ctx interface{}, secret interface{}) *PairingListenerInterface_StartListening_Call
StartListening is a helper method to define mock.On call
- ctx context.Context
- secret api.PairingSecret
func (*PairingListenerInterface_Expecter) StopListening ¶ added in v0.7.0
func (_e *PairingListenerInterface_Expecter) StopListening() *PairingListenerInterface_StopListening_Call
StopListening is a helper method to define mock.On call
type PairingListenerInterface_GetListenerStatus_Call ¶ added in v0.7.0
PairingListenerInterface_GetListenerStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetListenerStatus'
func (*PairingListenerInterface_GetListenerStatus_Call) Return ¶ added in v0.7.0
func (_c *PairingListenerInterface_GetListenerStatus_Call) Return(listenerStatus api.ListenerStatus) *PairingListenerInterface_GetListenerStatus_Call
func (*PairingListenerInterface_GetListenerStatus_Call) Run ¶ added in v0.7.0
func (_c *PairingListenerInterface_GetListenerStatus_Call) Run(run func()) *PairingListenerInterface_GetListenerStatus_Call
func (*PairingListenerInterface_GetListenerStatus_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingListenerInterface_GetListenerStatus_Call) RunAndReturn(run func() api.ListenerStatus) *PairingListenerInterface_GetListenerStatus_Call
type PairingListenerInterface_ProcessPendingEntries_Call ¶ added in v0.7.0
PairingListenerInterface_ProcessPendingEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessPendingEntries'
func (*PairingListenerInterface_ProcessPendingEntries_Call) Run ¶ added in v0.7.0
func (_c *PairingListenerInterface_ProcessPendingEntries_Call) Run(run func(entries map[string]*api.ShipPairingTXT)) *PairingListenerInterface_ProcessPendingEntries_Call
func (*PairingListenerInterface_ProcessPendingEntries_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingListenerInterface_ProcessPendingEntries_Call) RunAndReturn(run func(entries map[string]*api.ShipPairingTXT) error) *PairingListenerInterface_ProcessPendingEntries_Call
type PairingListenerInterface_StartListening_Call ¶ added in v0.7.0
PairingListenerInterface_StartListening_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartListening'
func (*PairingListenerInterface_StartListening_Call) Return ¶ added in v0.7.0
func (_c *PairingListenerInterface_StartListening_Call) Return(err error) *PairingListenerInterface_StartListening_Call
func (*PairingListenerInterface_StartListening_Call) Run ¶ added in v0.7.0
func (_c *PairingListenerInterface_StartListening_Call) Run(run func(ctx context.Context, secret api.PairingSecret)) *PairingListenerInterface_StartListening_Call
func (*PairingListenerInterface_StartListening_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingListenerInterface_StartListening_Call) RunAndReturn(run func(ctx context.Context, secret api.PairingSecret) error) *PairingListenerInterface_StartListening_Call
type PairingListenerInterface_StopListening_Call ¶ added in v0.7.0
PairingListenerInterface_StopListening_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopListening'
func (*PairingListenerInterface_StopListening_Call) Return ¶ added in v0.7.0
func (_c *PairingListenerInterface_StopListening_Call) Return(err error) *PairingListenerInterface_StopListening_Call
func (*PairingListenerInterface_StopListening_Call) Run ¶ added in v0.7.0
func (_c *PairingListenerInterface_StopListening_Call) Run(run func()) *PairingListenerInterface_StopListening_Call
func (*PairingListenerInterface_StopListening_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingListenerInterface_StopListening_Call) RunAndReturn(run func() error) *PairingListenerInterface_StopListening_Call
type PairingServiceReaderInterface ¶ added in v0.7.0
PairingServiceReaderInterface is an autogenerated mock type for the PairingServiceReaderInterface type
func NewPairingServiceReaderInterface ¶ added in v0.7.0
func NewPairingServiceReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *PairingServiceReaderInterface
NewPairingServiceReaderInterface creates a new instance of PairingServiceReaderInterface. 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 (*PairingServiceReaderInterface) EXPECT ¶ added in v0.7.0
func (_m *PairingServiceReaderInterface) EXPECT() *PairingServiceReaderInterface_Expecter
func (*PairingServiceReaderInterface) ServiceAutoTrustFailed ¶ added in v0.7.0
func (_mock *PairingServiceReaderInterface) ServiceAutoTrustFailed(identity api.ServiceIdentity, reason error)
ServiceAutoTrustFailed provides a mock function for the type PairingServiceReaderInterface
func (*PairingServiceReaderInterface) ServiceAutoTrustRemoved ¶ added in v0.7.0
func (_mock *PairingServiceReaderInterface) ServiceAutoTrustRemoved(identity api.ServiceIdentity, reason string)
ServiceAutoTrustRemoved provides a mock function for the type PairingServiceReaderInterface
func (*PairingServiceReaderInterface) ServiceAutoTrusted ¶ added in v0.7.0
func (_mock *PairingServiceReaderInterface) ServiceAutoTrusted(identity api.ServiceIdentity)
ServiceAutoTrusted provides a mock function for the type PairingServiceReaderInterface
type PairingServiceReaderInterface_Expecter ¶ added in v0.7.0
type PairingServiceReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PairingServiceReaderInterface_Expecter) ServiceAutoTrustFailed ¶ added in v0.7.0
func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrustFailed(identity interface{}, reason interface{}) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
ServiceAutoTrustFailed is a helper method to define mock.On call
- identity api.ServiceIdentity
- reason error
func (*PairingServiceReaderInterface_Expecter) ServiceAutoTrustRemoved ¶ added in v0.7.0
func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrustRemoved(identity interface{}, reason interface{}) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
ServiceAutoTrustRemoved is a helper method to define mock.On call
- identity api.ServiceIdentity
- reason string
func (*PairingServiceReaderInterface_Expecter) ServiceAutoTrusted ¶ added in v0.7.0
func (_e *PairingServiceReaderInterface_Expecter) ServiceAutoTrusted(identity interface{}) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
ServiceAutoTrusted is a helper method to define mock.On call
- identity api.ServiceIdentity
type PairingServiceReaderInterface_ServiceAutoTrustFailed_Call ¶ added in v0.7.0
PairingServiceReaderInterface_ServiceAutoTrustFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustFailed'
func (*PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Run ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Run(run func(identity api.ServiceIdentity, reason error)) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
func (*PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason error)) *PairingServiceReaderInterface_ServiceAutoTrustFailed_Call
type PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call ¶ added in v0.7.0
PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustRemoved'
func (*PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run(run func(identity api.ServiceIdentity, reason string)) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
func (*PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn(run func(identity api.ServiceIdentity, reason string)) *PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call
type PairingServiceReaderInterface_ServiceAutoTrusted_Call ¶ added in v0.7.0
PairingServiceReaderInterface_ServiceAutoTrusted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrusted'
func (*PairingServiceReaderInterface_ServiceAutoTrusted_Call) Run ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrusted_Call) Run(run func(identity api.ServiceIdentity)) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
func (*PairingServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn ¶ added in v0.7.0
func (_c *PairingServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn(run func(identity api.ServiceIdentity)) *PairingServiceReaderInterface_ServiceAutoTrusted_Call
type RingBufferPersistence ¶ added in v0.7.0
RingBufferPersistence is an autogenerated mock type for the RingBufferPersistence type
func NewRingBufferPersistence ¶ added in v0.7.0
func NewRingBufferPersistence(t interface {
mock.TestingT
Cleanup(func())
}) *RingBufferPersistence
NewRingBufferPersistence creates a new instance of RingBufferPersistence. 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 (*RingBufferPersistence) EXPECT ¶ added in v0.7.0
func (_m *RingBufferPersistence) EXPECT() *RingBufferPersistence_Expecter
func (*RingBufferPersistence) LoadRingBuffer ¶ added in v0.7.0
func (_mock *RingBufferPersistence) LoadRingBuffer() ([]api.DigestEntry, int, error)
LoadRingBuffer provides a mock function for the type RingBufferPersistence
func (*RingBufferPersistence) SaveRingBuffer ¶ added in v0.7.0
func (_mock *RingBufferPersistence) SaveRingBuffer(entries []api.DigestEntry, nextIndex int) error
SaveRingBuffer provides a mock function for the type RingBufferPersistence
type RingBufferPersistence_Expecter ¶ added in v0.7.0
type RingBufferPersistence_Expecter struct {
// contains filtered or unexported fields
}
func (*RingBufferPersistence_Expecter) LoadRingBuffer ¶ added in v0.7.0
func (_e *RingBufferPersistence_Expecter) LoadRingBuffer() *RingBufferPersistence_LoadRingBuffer_Call
LoadRingBuffer is a helper method to define mock.On call
func (*RingBufferPersistence_Expecter) SaveRingBuffer ¶ added in v0.7.0
func (_e *RingBufferPersistence_Expecter) SaveRingBuffer(entries interface{}, nextIndex interface{}) *RingBufferPersistence_SaveRingBuffer_Call
SaveRingBuffer is a helper method to define mock.On call
- entries []api.DigestEntry
- nextIndex int
type RingBufferPersistence_LoadRingBuffer_Call ¶ added in v0.7.0
RingBufferPersistence_LoadRingBuffer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadRingBuffer'
func (*RingBufferPersistence_LoadRingBuffer_Call) Return ¶ added in v0.7.0
func (_c *RingBufferPersistence_LoadRingBuffer_Call) Return(digestEntrys []api.DigestEntry, n int, err error) *RingBufferPersistence_LoadRingBuffer_Call
func (*RingBufferPersistence_LoadRingBuffer_Call) Run ¶ added in v0.7.0
func (_c *RingBufferPersistence_LoadRingBuffer_Call) Run(run func()) *RingBufferPersistence_LoadRingBuffer_Call
func (*RingBufferPersistence_LoadRingBuffer_Call) RunAndReturn ¶ added in v0.7.0
func (_c *RingBufferPersistence_LoadRingBuffer_Call) RunAndReturn(run func() ([]api.DigestEntry, int, error)) *RingBufferPersistence_LoadRingBuffer_Call
type RingBufferPersistence_SaveRingBuffer_Call ¶ added in v0.7.0
RingBufferPersistence_SaveRingBuffer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveRingBuffer'
func (*RingBufferPersistence_SaveRingBuffer_Call) Return ¶ added in v0.7.0
func (_c *RingBufferPersistence_SaveRingBuffer_Call) Return(err error) *RingBufferPersistence_SaveRingBuffer_Call
func (*RingBufferPersistence_SaveRingBuffer_Call) Run ¶ added in v0.7.0
func (_c *RingBufferPersistence_SaveRingBuffer_Call) Run(run func(entries []api.DigestEntry, nextIndex int)) *RingBufferPersistence_SaveRingBuffer_Call
func (*RingBufferPersistence_SaveRingBuffer_Call) RunAndReturn ¶ added in v0.7.0
func (_c *RingBufferPersistence_SaveRingBuffer_Call) RunAndReturn(run func(entries []api.DigestEntry, nextIndex int) error) *RingBufferPersistence_SaveRingBuffer_Call
type ShipConnectionDataReaderInterface ¶
ShipConnectionDataReaderInterface is an autogenerated mock type for the ShipConnectionDataReaderInterface type
func NewShipConnectionDataReaderInterface ¶
func NewShipConnectionDataReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ShipConnectionDataReaderInterface
NewShipConnectionDataReaderInterface creates a new instance of ShipConnectionDataReaderInterface. 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 (*ShipConnectionDataReaderInterface) EXPECT ¶
func (_m *ShipConnectionDataReaderInterface) EXPECT() *ShipConnectionDataReaderInterface_Expecter
func (*ShipConnectionDataReaderInterface) HandleShipPayloadMessage ¶
func (_mock *ShipConnectionDataReaderInterface) HandleShipPayloadMessage(message []byte)
HandleShipPayloadMessage provides a mock function for the type ShipConnectionDataReaderInterface
type ShipConnectionDataReaderInterface_Expecter ¶
type ShipConnectionDataReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ShipConnectionDataReaderInterface_Expecter) HandleShipPayloadMessage ¶
func (_e *ShipConnectionDataReaderInterface_Expecter) HandleShipPayloadMessage(message interface{}) *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
HandleShipPayloadMessage is a helper method to define mock.On call
- message []byte
type ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call ¶
ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleShipPayloadMessage'
func (*ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Run ¶
func (_c *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Run(run func(message []byte)) *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
func (*ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) RunAndReturn ¶
func (_c *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) RunAndReturn(run func(message []byte)) *ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call
type ShipConnectionDataWriterInterface ¶
ShipConnectionDataWriterInterface is an autogenerated mock type for the ShipConnectionDataWriterInterface type
func NewShipConnectionDataWriterInterface ¶
func NewShipConnectionDataWriterInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ShipConnectionDataWriterInterface
NewShipConnectionDataWriterInterface creates a new instance of ShipConnectionDataWriterInterface. 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 (*ShipConnectionDataWriterInterface) EXPECT ¶
func (_m *ShipConnectionDataWriterInterface) EXPECT() *ShipConnectionDataWriterInterface_Expecter
func (*ShipConnectionDataWriterInterface) WriteShipMessageWithPayload ¶
func (_mock *ShipConnectionDataWriterInterface) WriteShipMessageWithPayload(message []byte)
WriteShipMessageWithPayload provides a mock function for the type ShipConnectionDataWriterInterface
type ShipConnectionDataWriterInterface_Expecter ¶
type ShipConnectionDataWriterInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ShipConnectionDataWriterInterface_Expecter) WriteShipMessageWithPayload ¶
func (_e *ShipConnectionDataWriterInterface_Expecter) WriteShipMessageWithPayload(message interface{}) *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
WriteShipMessageWithPayload is a helper method to define mock.On call
- message []byte
type ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call ¶
ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteShipMessageWithPayload'
func (*ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Run ¶
func (_c *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Run(run func(message []byte)) *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
func (*ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) RunAndReturn ¶
func (_c *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) RunAndReturn(run func(message []byte)) *ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call
type ShipConnectionInfoProviderInterface ¶
ShipConnectionInfoProviderInterface is an autogenerated mock type for the ShipConnectionInfoProviderInterface type
func NewShipConnectionInfoProviderInterface ¶
func NewShipConnectionInfoProviderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ShipConnectionInfoProviderInterface
NewShipConnectionInfoProviderInterface creates a new instance of ShipConnectionInfoProviderInterface. 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 (*ShipConnectionInfoProviderInterface) AllowWaitingForTrust ¶
func (_mock *ShipConnectionInfoProviderInterface) AllowWaitingForTrust(ski string) bool
AllowWaitingForTrust provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) EXPECT ¶
func (_m *ShipConnectionInfoProviderInterface) EXPECT() *ShipConnectionInfoProviderInterface_Expecter
func (*ShipConnectionInfoProviderInterface) HandleConnectionClosed ¶
func (_mock *ShipConnectionInfoProviderInterface) HandleConnectionClosed(shipConnectionInterface api.ShipConnectionInterface, b bool)
HandleConnectionClosed provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) HandleShipHandshakeStateUpdate ¶
func (_mock *ShipConnectionInfoProviderInterface) HandleShipHandshakeStateUpdate(ski string, state model.ShipState)
HandleShipHandshakeStateUpdate provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) IsAutoAcceptEnabled ¶
func (_mock *ShipConnectionInfoProviderInterface) IsAutoAcceptEnabled() bool
IsAutoAcceptEnabled provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) IsRemoteServiceForSKIPaired ¶
func (_mock *ShipConnectionInfoProviderInterface) IsRemoteServiceForSKIPaired(ski string) bool
IsRemoteServiceForSKIPaired provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) ReportServiceShipID ¶
func (_mock *ShipConnectionInfoProviderInterface) ReportServiceShipID(ski string, shipID string)
ReportServiceShipID provides a mock function for the type ShipConnectionInfoProviderInterface
func (*ShipConnectionInfoProviderInterface) SetupRemoteService ¶ added in v0.7.0
func (_mock *ShipConnectionInfoProviderInterface) SetupRemoteService(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface
SetupRemoteService provides a mock function for the type ShipConnectionInfoProviderInterface
type ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call ¶
ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrust'
func (*ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Run ¶
func (_c *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Run(run func(ski string)) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
func (*ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) RunAndReturn(run func(ski string) bool) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
type ShipConnectionInfoProviderInterface_Expecter ¶
type ShipConnectionInfoProviderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ShipConnectionInfoProviderInterface_Expecter) AllowWaitingForTrust ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) AllowWaitingForTrust(ski interface{}) *ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call
AllowWaitingForTrust is a helper method to define mock.On call
- ski string
func (*ShipConnectionInfoProviderInterface_Expecter) HandleConnectionClosed ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) HandleConnectionClosed(shipConnectionInterface interface{}, b interface{}) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
HandleConnectionClosed is a helper method to define mock.On call
- shipConnectionInterface api.ShipConnectionInterface
- b bool
func (*ShipConnectionInfoProviderInterface_Expecter) HandleShipHandshakeStateUpdate ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) HandleShipHandshakeStateUpdate(ski interface{}, state interface{}) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
HandleShipHandshakeStateUpdate is a helper method to define mock.On call
- ski string
- state model.ShipState
func (*ShipConnectionInfoProviderInterface_Expecter) IsAutoAcceptEnabled ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) IsAutoAcceptEnabled() *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
IsAutoAcceptEnabled is a helper method to define mock.On call
func (*ShipConnectionInfoProviderInterface_Expecter) IsRemoteServiceForSKIPaired ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) IsRemoteServiceForSKIPaired(ski interface{}) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
IsRemoteServiceForSKIPaired is a helper method to define mock.On call
- ski string
func (*ShipConnectionInfoProviderInterface_Expecter) ReportServiceShipID ¶
func (_e *ShipConnectionInfoProviderInterface_Expecter) ReportServiceShipID(ski interface{}, shipID interface{}) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
ReportServiceShipID is a helper method to define mock.On call
- ski string
- shipID string
func (*ShipConnectionInfoProviderInterface_Expecter) SetupRemoteService ¶ added in v0.7.0
func (_e *ShipConnectionInfoProviderInterface_Expecter) SetupRemoteService(ski interface{}, writeI interface{}) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
SetupRemoteService is a helper method to define mock.On call
- ski string
- writeI api.ShipConnectionDataWriterInterface
type ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call ¶
ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleConnectionClosed'
func (*ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Run ¶
func (_c *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Run(run func(shipConnectionInterface api.ShipConnectionInterface, b bool)) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
func (*ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) RunAndReturn(run func(shipConnectionInterface api.ShipConnectionInterface, b bool)) *ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call
type ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call ¶
ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleShipHandshakeStateUpdate'
func (*ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Run ¶
func (_c *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Run(run func(ski string, state model.ShipState)) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
func (*ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) RunAndReturn(run func(ski string, state model.ShipState)) *ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call
type ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call ¶
ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAutoAcceptEnabled'
func (*ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call
type ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call ¶
ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRemoteServiceForSKIPaired'
func (*ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) RunAndReturn(run func(ski string) bool) *ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call
type ShipConnectionInfoProviderInterface_ReportServiceShipID_Call ¶
ShipConnectionInfoProviderInterface_ReportServiceShipID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReportServiceShipID'
func (*ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Run ¶
func (_c *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Run(run func(ski string, shipID string)) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
func (*ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) RunAndReturn ¶
func (_c *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) RunAndReturn(run func(ski string, shipID string)) *ShipConnectionInfoProviderInterface_ReportServiceShipID_Call
type ShipConnectionInfoProviderInterface_SetupRemoteService_Call ¶ added in v0.7.0
ShipConnectionInfoProviderInterface_SetupRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetupRemoteService'
func (*ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Return ¶ added in v0.7.0
func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Return(shipConnectionDataReaderInterface api.ShipConnectionDataReaderInterface) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
func (*ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Run ¶ added in v0.7.0
func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Run(run func(ski string, writeI api.ShipConnectionDataWriterInterface)) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
func (*ShipConnectionInfoProviderInterface_SetupRemoteService_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipConnectionInfoProviderInterface_SetupRemoteService_Call) RunAndReturn(run func(ski string, writeI api.ShipConnectionDataWriterInterface) api.ShipConnectionDataReaderInterface) *ShipConnectionInfoProviderInterface_SetupRemoteService_Call
type ShipConnectionInterface ¶
ShipConnectionInterface is an autogenerated mock type for the ShipConnectionInterface type
func NewShipConnectionInterface ¶
func NewShipConnectionInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ShipConnectionInterface
NewShipConnectionInterface creates a new instance of ShipConnectionInterface. 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 (*ShipConnectionInterface) AbortPendingHandshake ¶
func (_mock *ShipConnectionInterface) AbortPendingHandshake()
AbortPendingHandshake provides a mock function for the type ShipConnectionInterface
func (*ShipConnectionInterface) ApprovePendingHandshake ¶
func (_mock *ShipConnectionInterface) ApprovePendingHandshake()
ApprovePendingHandshake provides a mock function for the type ShipConnectionInterface
func (*ShipConnectionInterface) CloseConnection ¶
func (_mock *ShipConnectionInterface) CloseConnection(safe bool, code int, reason string)
CloseConnection provides a mock function for the type ShipConnectionInterface
func (*ShipConnectionInterface) DataHandler ¶
func (_mock *ShipConnectionInterface) DataHandler() api.WebsocketDataWriterInterface
DataHandler provides a mock function for the type ShipConnectionInterface
func (*ShipConnectionInterface) EXPECT ¶
func (_m *ShipConnectionInterface) EXPECT() *ShipConnectionInterface_Expecter
func (*ShipConnectionInterface) RemoteSKI ¶
func (_mock *ShipConnectionInterface) RemoteSKI() string
RemoteSKI provides a mock function for the type ShipConnectionInterface
func (*ShipConnectionInterface) ShipHandshakeState ¶
func (_mock *ShipConnectionInterface) ShipHandshakeState() (model.ShipMessageExchangeState, error)
ShipHandshakeState provides a mock function for the type ShipConnectionInterface
type ShipConnectionInterface_AbortPendingHandshake_Call ¶
ShipConnectionInterface_AbortPendingHandshake_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortPendingHandshake'
func (*ShipConnectionInterface_AbortPendingHandshake_Call) Run ¶
func (_c *ShipConnectionInterface_AbortPendingHandshake_Call) Run(run func()) *ShipConnectionInterface_AbortPendingHandshake_Call
func (*ShipConnectionInterface_AbortPendingHandshake_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_AbortPendingHandshake_Call) RunAndReturn(run func()) *ShipConnectionInterface_AbortPendingHandshake_Call
type ShipConnectionInterface_ApprovePendingHandshake_Call ¶
ShipConnectionInterface_ApprovePendingHandshake_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovePendingHandshake'
func (*ShipConnectionInterface_ApprovePendingHandshake_Call) Run ¶
func (_c *ShipConnectionInterface_ApprovePendingHandshake_Call) Run(run func()) *ShipConnectionInterface_ApprovePendingHandshake_Call
func (*ShipConnectionInterface_ApprovePendingHandshake_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_ApprovePendingHandshake_Call) RunAndReturn(run func()) *ShipConnectionInterface_ApprovePendingHandshake_Call
type ShipConnectionInterface_CloseConnection_Call ¶
ShipConnectionInterface_CloseConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseConnection'
func (*ShipConnectionInterface_CloseConnection_Call) Return ¶
func (_c *ShipConnectionInterface_CloseConnection_Call) Return() *ShipConnectionInterface_CloseConnection_Call
func (*ShipConnectionInterface_CloseConnection_Call) Run ¶
func (_c *ShipConnectionInterface_CloseConnection_Call) Run(run func(safe bool, code int, reason string)) *ShipConnectionInterface_CloseConnection_Call
func (*ShipConnectionInterface_CloseConnection_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_CloseConnection_Call) RunAndReturn(run func(safe bool, code int, reason string)) *ShipConnectionInterface_CloseConnection_Call
type ShipConnectionInterface_DataHandler_Call ¶
ShipConnectionInterface_DataHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DataHandler'
func (*ShipConnectionInterface_DataHandler_Call) Return ¶
func (_c *ShipConnectionInterface_DataHandler_Call) Return(websocketDataWriterInterface api.WebsocketDataWriterInterface) *ShipConnectionInterface_DataHandler_Call
func (*ShipConnectionInterface_DataHandler_Call) Run ¶
func (_c *ShipConnectionInterface_DataHandler_Call) Run(run func()) *ShipConnectionInterface_DataHandler_Call
func (*ShipConnectionInterface_DataHandler_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_DataHandler_Call) RunAndReturn(run func() api.WebsocketDataWriterInterface) *ShipConnectionInterface_DataHandler_Call
type ShipConnectionInterface_Expecter ¶
type ShipConnectionInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ShipConnectionInterface_Expecter) AbortPendingHandshake ¶
func (_e *ShipConnectionInterface_Expecter) AbortPendingHandshake() *ShipConnectionInterface_AbortPendingHandshake_Call
AbortPendingHandshake is a helper method to define mock.On call
func (*ShipConnectionInterface_Expecter) ApprovePendingHandshake ¶
func (_e *ShipConnectionInterface_Expecter) ApprovePendingHandshake() *ShipConnectionInterface_ApprovePendingHandshake_Call
ApprovePendingHandshake is a helper method to define mock.On call
func (*ShipConnectionInterface_Expecter) CloseConnection ¶
func (_e *ShipConnectionInterface_Expecter) CloseConnection(safe interface{}, code interface{}, reason interface{}) *ShipConnectionInterface_CloseConnection_Call
CloseConnection is a helper method to define mock.On call
- safe bool
- code int
- reason string
func (*ShipConnectionInterface_Expecter) DataHandler ¶
func (_e *ShipConnectionInterface_Expecter) DataHandler() *ShipConnectionInterface_DataHandler_Call
DataHandler is a helper method to define mock.On call
func (*ShipConnectionInterface_Expecter) RemoteSKI ¶
func (_e *ShipConnectionInterface_Expecter) RemoteSKI() *ShipConnectionInterface_RemoteSKI_Call
RemoteSKI is a helper method to define mock.On call
func (*ShipConnectionInterface_Expecter) ShipHandshakeState ¶
func (_e *ShipConnectionInterface_Expecter) ShipHandshakeState() *ShipConnectionInterface_ShipHandshakeState_Call
ShipHandshakeState is a helper method to define mock.On call
type ShipConnectionInterface_RemoteSKI_Call ¶
ShipConnectionInterface_RemoteSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKI'
func (*ShipConnectionInterface_RemoteSKI_Call) Return ¶
func (_c *ShipConnectionInterface_RemoteSKI_Call) Return(s string) *ShipConnectionInterface_RemoteSKI_Call
func (*ShipConnectionInterface_RemoteSKI_Call) Run ¶
func (_c *ShipConnectionInterface_RemoteSKI_Call) Run(run func()) *ShipConnectionInterface_RemoteSKI_Call
func (*ShipConnectionInterface_RemoteSKI_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_RemoteSKI_Call) RunAndReturn(run func() string) *ShipConnectionInterface_RemoteSKI_Call
type ShipConnectionInterface_ShipHandshakeState_Call ¶
ShipConnectionInterface_ShipHandshakeState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShipHandshakeState'
func (*ShipConnectionInterface_ShipHandshakeState_Call) Return ¶
func (_c *ShipConnectionInterface_ShipHandshakeState_Call) Return(shipMessageExchangeState model.ShipMessageExchangeState, err error) *ShipConnectionInterface_ShipHandshakeState_Call
func (*ShipConnectionInterface_ShipHandshakeState_Call) Run ¶
func (_c *ShipConnectionInterface_ShipHandshakeState_Call) Run(run func()) *ShipConnectionInterface_ShipHandshakeState_Call
func (*ShipConnectionInterface_ShipHandshakeState_Call) RunAndReturn ¶
func (_c *ShipConnectionInterface_ShipHandshakeState_Call) RunAndReturn(run func() (model.ShipMessageExchangeState, error)) *ShipConnectionInterface_ShipHandshakeState_Call
type ShipPairingServiceInterface ¶ added in v0.7.0
ShipPairingServiceInterface is an autogenerated mock type for the ShipPairingServiceInterface type
func NewShipPairingServiceInterface ¶ added in v0.7.0
func NewShipPairingServiceInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ShipPairingServiceInterface
NewShipPairingServiceInterface creates a new instance of ShipPairingServiceInterface. 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 (*ShipPairingServiceInterface) CreateAnnouncer ¶ added in v0.7.0
func (_mock *ShipPairingServiceInterface) CreateAnnouncer() api.PairingAnnouncerInterface
CreateAnnouncer provides a mock function for the type ShipPairingServiceInterface
func (*ShipPairingServiceInterface) CreateListener ¶ added in v0.7.0
func (_mock *ShipPairingServiceInterface) CreateListener() api.PairingListenerInterface
CreateListener provides a mock function for the type ShipPairingServiceInterface
func (*ShipPairingServiceInterface) EXPECT ¶ added in v0.7.0
func (_m *ShipPairingServiceInterface) EXPECT() *ShipPairingServiceInterface_Expecter
func (*ShipPairingServiceInterface) IsServiceRunning ¶ added in v0.7.0
func (_mock *ShipPairingServiceInterface) IsServiceRunning() bool
IsServiceRunning provides a mock function for the type ShipPairingServiceInterface
func (*ShipPairingServiceInterface) Shutdown ¶ added in v0.7.0
func (_mock *ShipPairingServiceInterface) Shutdown()
Shutdown provides a mock function for the type ShipPairingServiceInterface
func (*ShipPairingServiceInterface) Start ¶ added in v0.7.0
func (_mock *ShipPairingServiceInterface) Start() error
Start provides a mock function for the type ShipPairingServiceInterface
type ShipPairingServiceInterface_CreateAnnouncer_Call ¶ added in v0.7.0
ShipPairingServiceInterface_CreateAnnouncer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAnnouncer'
func (*ShipPairingServiceInterface_CreateAnnouncer_Call) Return ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) Return(pairingAnnouncerInterface api.PairingAnnouncerInterface) *ShipPairingServiceInterface_CreateAnnouncer_Call
func (*ShipPairingServiceInterface_CreateAnnouncer_Call) Run ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) Run(run func()) *ShipPairingServiceInterface_CreateAnnouncer_Call
func (*ShipPairingServiceInterface_CreateAnnouncer_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateAnnouncer_Call) RunAndReturn(run func() api.PairingAnnouncerInterface) *ShipPairingServiceInterface_CreateAnnouncer_Call
type ShipPairingServiceInterface_CreateListener_Call ¶ added in v0.7.0
ShipPairingServiceInterface_CreateListener_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateListener'
func (*ShipPairingServiceInterface_CreateListener_Call) Return ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateListener_Call) Return(pairingListenerInterface api.PairingListenerInterface) *ShipPairingServiceInterface_CreateListener_Call
func (*ShipPairingServiceInterface_CreateListener_Call) Run ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateListener_Call) Run(run func()) *ShipPairingServiceInterface_CreateListener_Call
func (*ShipPairingServiceInterface_CreateListener_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_CreateListener_Call) RunAndReturn(run func() api.PairingListenerInterface) *ShipPairingServiceInterface_CreateListener_Call
type ShipPairingServiceInterface_Expecter ¶ added in v0.7.0
type ShipPairingServiceInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ShipPairingServiceInterface_Expecter) CreateAnnouncer ¶ added in v0.7.0
func (_e *ShipPairingServiceInterface_Expecter) CreateAnnouncer() *ShipPairingServiceInterface_CreateAnnouncer_Call
CreateAnnouncer is a helper method to define mock.On call
func (*ShipPairingServiceInterface_Expecter) CreateListener ¶ added in v0.7.0
func (_e *ShipPairingServiceInterface_Expecter) CreateListener() *ShipPairingServiceInterface_CreateListener_Call
CreateListener is a helper method to define mock.On call
func (*ShipPairingServiceInterface_Expecter) IsServiceRunning ¶ added in v0.7.0
func (_e *ShipPairingServiceInterface_Expecter) IsServiceRunning() *ShipPairingServiceInterface_IsServiceRunning_Call
IsServiceRunning is a helper method to define mock.On call
func (*ShipPairingServiceInterface_Expecter) Shutdown ¶ added in v0.7.0
func (_e *ShipPairingServiceInterface_Expecter) Shutdown() *ShipPairingServiceInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*ShipPairingServiceInterface_Expecter) Start ¶ added in v0.7.0
func (_e *ShipPairingServiceInterface_Expecter) Start() *ShipPairingServiceInterface_Start_Call
Start is a helper method to define mock.On call
type ShipPairingServiceInterface_IsServiceRunning_Call ¶ added in v0.7.0
ShipPairingServiceInterface_IsServiceRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServiceRunning'
func (*ShipPairingServiceInterface_IsServiceRunning_Call) Run ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_IsServiceRunning_Call) Run(run func()) *ShipPairingServiceInterface_IsServiceRunning_Call
func (*ShipPairingServiceInterface_IsServiceRunning_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_IsServiceRunning_Call) RunAndReturn(run func() bool) *ShipPairingServiceInterface_IsServiceRunning_Call
type ShipPairingServiceInterface_Shutdown_Call ¶ added in v0.7.0
ShipPairingServiceInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*ShipPairingServiceInterface_Shutdown_Call) Return ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Shutdown_Call) Return() *ShipPairingServiceInterface_Shutdown_Call
func (*ShipPairingServiceInterface_Shutdown_Call) Run ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Shutdown_Call) Run(run func()) *ShipPairingServiceInterface_Shutdown_Call
func (*ShipPairingServiceInterface_Shutdown_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Shutdown_Call) RunAndReturn(run func()) *ShipPairingServiceInterface_Shutdown_Call
type ShipPairingServiceInterface_Start_Call ¶ added in v0.7.0
ShipPairingServiceInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ShipPairingServiceInterface_Start_Call) Return ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Start_Call) Return(err error) *ShipPairingServiceInterface_Start_Call
func (*ShipPairingServiceInterface_Start_Call) Run ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Start_Call) Run(run func()) *ShipPairingServiceInterface_Start_Call
func (*ShipPairingServiceInterface_Start_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ShipPairingServiceInterface_Start_Call) RunAndReturn(run func() error) *ShipPairingServiceInterface_Start_Call
type WebsocketDataReaderInterface ¶
WebsocketDataReaderInterface is an autogenerated mock type for the WebsocketDataReaderInterface type
func NewWebsocketDataReaderInterface ¶
func NewWebsocketDataReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *WebsocketDataReaderInterface
NewWebsocketDataReaderInterface creates a new instance of WebsocketDataReaderInterface. 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 (*WebsocketDataReaderInterface) EXPECT ¶
func (_m *WebsocketDataReaderInterface) EXPECT() *WebsocketDataReaderInterface_Expecter
func (*WebsocketDataReaderInterface) HandleIncomingWebsocketMessage ¶
func (_mock *WebsocketDataReaderInterface) HandleIncomingWebsocketMessage(bytes []byte)
HandleIncomingWebsocketMessage provides a mock function for the type WebsocketDataReaderInterface
func (*WebsocketDataReaderInterface) ReportConnectionError ¶
func (_mock *WebsocketDataReaderInterface) ReportConnectionError(err error)
ReportConnectionError provides a mock function for the type WebsocketDataReaderInterface
type WebsocketDataReaderInterface_Expecter ¶
type WebsocketDataReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*WebsocketDataReaderInterface_Expecter) HandleIncomingWebsocketMessage ¶
func (_e *WebsocketDataReaderInterface_Expecter) HandleIncomingWebsocketMessage(bytes interface{}) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
HandleIncomingWebsocketMessage is a helper method to define mock.On call
- bytes []byte
func (*WebsocketDataReaderInterface_Expecter) ReportConnectionError ¶
func (_e *WebsocketDataReaderInterface_Expecter) ReportConnectionError(err interface{}) *WebsocketDataReaderInterface_ReportConnectionError_Call
ReportConnectionError is a helper method to define mock.On call
- err error
type WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call ¶
WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleIncomingWebsocketMessage'
func (*WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Run ¶
func (_c *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Run(run func(bytes []byte)) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
func (*WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) RunAndReturn ¶
func (_c *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) RunAndReturn(run func(bytes []byte)) *WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call
type WebsocketDataReaderInterface_ReportConnectionError_Call ¶
WebsocketDataReaderInterface_ReportConnectionError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReportConnectionError'
func (*WebsocketDataReaderInterface_ReportConnectionError_Call) Run ¶
func (_c *WebsocketDataReaderInterface_ReportConnectionError_Call) Run(run func(err error)) *WebsocketDataReaderInterface_ReportConnectionError_Call
func (*WebsocketDataReaderInterface_ReportConnectionError_Call) RunAndReturn ¶
func (_c *WebsocketDataReaderInterface_ReportConnectionError_Call) RunAndReturn(run func(err error)) *WebsocketDataReaderInterface_ReportConnectionError_Call
type WebsocketDataWriterInterface ¶
WebsocketDataWriterInterface is an autogenerated mock type for the WebsocketDataWriterInterface type
func NewWebsocketDataWriterInterface ¶
func NewWebsocketDataWriterInterface(t interface {
mock.TestingT
Cleanup(func())
}) *WebsocketDataWriterInterface
NewWebsocketDataWriterInterface creates a new instance of WebsocketDataWriterInterface. 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 (*WebsocketDataWriterInterface) CloseDataConnection ¶
func (_mock *WebsocketDataWriterInterface) CloseDataConnection(closeCode int, reason string)
CloseDataConnection provides a mock function for the type WebsocketDataWriterInterface
func (*WebsocketDataWriterInterface) EXPECT ¶
func (_m *WebsocketDataWriterInterface) EXPECT() *WebsocketDataWriterInterface_Expecter
func (*WebsocketDataWriterInterface) InitDataProcessing ¶
func (_mock *WebsocketDataWriterInterface) InitDataProcessing(websocketDataReaderInterface api.WebsocketDataReaderInterface)
InitDataProcessing provides a mock function for the type WebsocketDataWriterInterface
func (*WebsocketDataWriterInterface) IsDataConnectionClosed ¶
func (_mock *WebsocketDataWriterInterface) IsDataConnectionClosed() (bool, error)
IsDataConnectionClosed provides a mock function for the type WebsocketDataWriterInterface
func (*WebsocketDataWriterInterface) WriteMessageToWebsocketConnection ¶
func (_mock *WebsocketDataWriterInterface) WriteMessageToWebsocketConnection(bytes []byte) error
WriteMessageToWebsocketConnection provides a mock function for the type WebsocketDataWriterInterface
type WebsocketDataWriterInterface_CloseDataConnection_Call ¶
WebsocketDataWriterInterface_CloseDataConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseDataConnection'
func (*WebsocketDataWriterInterface_CloseDataConnection_Call) Run ¶
func (_c *WebsocketDataWriterInterface_CloseDataConnection_Call) Run(run func(closeCode int, reason string)) *WebsocketDataWriterInterface_CloseDataConnection_Call
func (*WebsocketDataWriterInterface_CloseDataConnection_Call) RunAndReturn ¶
func (_c *WebsocketDataWriterInterface_CloseDataConnection_Call) RunAndReturn(run func(closeCode int, reason string)) *WebsocketDataWriterInterface_CloseDataConnection_Call
type WebsocketDataWriterInterface_Expecter ¶
type WebsocketDataWriterInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*WebsocketDataWriterInterface_Expecter) CloseDataConnection ¶
func (_e *WebsocketDataWriterInterface_Expecter) CloseDataConnection(closeCode interface{}, reason interface{}) *WebsocketDataWriterInterface_CloseDataConnection_Call
CloseDataConnection is a helper method to define mock.On call
- closeCode int
- reason string
func (*WebsocketDataWriterInterface_Expecter) InitDataProcessing ¶
func (_e *WebsocketDataWriterInterface_Expecter) InitDataProcessing(websocketDataReaderInterface interface{}) *WebsocketDataWriterInterface_InitDataProcessing_Call
InitDataProcessing is a helper method to define mock.On call
- websocketDataReaderInterface api.WebsocketDataReaderInterface
func (*WebsocketDataWriterInterface_Expecter) IsDataConnectionClosed ¶
func (_e *WebsocketDataWriterInterface_Expecter) IsDataConnectionClosed() *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
IsDataConnectionClosed is a helper method to define mock.On call
func (*WebsocketDataWriterInterface_Expecter) WriteMessageToWebsocketConnection ¶
func (_e *WebsocketDataWriterInterface_Expecter) WriteMessageToWebsocketConnection(bytes interface{}) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
WriteMessageToWebsocketConnection is a helper method to define mock.On call
- bytes []byte
type WebsocketDataWriterInterface_InitDataProcessing_Call ¶
WebsocketDataWriterInterface_InitDataProcessing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitDataProcessing'
func (*WebsocketDataWriterInterface_InitDataProcessing_Call) Run ¶
func (_c *WebsocketDataWriterInterface_InitDataProcessing_Call) Run(run func(websocketDataReaderInterface api.WebsocketDataReaderInterface)) *WebsocketDataWriterInterface_InitDataProcessing_Call
func (*WebsocketDataWriterInterface_InitDataProcessing_Call) RunAndReturn ¶
func (_c *WebsocketDataWriterInterface_InitDataProcessing_Call) RunAndReturn(run func(websocketDataReaderInterface api.WebsocketDataReaderInterface)) *WebsocketDataWriterInterface_InitDataProcessing_Call
type WebsocketDataWriterInterface_IsDataConnectionClosed_Call ¶
WebsocketDataWriterInterface_IsDataConnectionClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDataConnectionClosed'
func (*WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Run ¶
func (_c *WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Run(run func()) *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
func (*WebsocketDataWriterInterface_IsDataConnectionClosed_Call) RunAndReturn ¶
func (_c *WebsocketDataWriterInterface_IsDataConnectionClosed_Call) RunAndReturn(run func() (bool, error)) *WebsocketDataWriterInterface_IsDataConnectionClosed_Call
type WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call ¶
WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteMessageToWebsocketConnection'
func (*WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Run ¶
func (_c *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Run(run func(bytes []byte)) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
func (*WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) RunAndReturn ¶
func (_c *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) RunAndReturn(run func(bytes []byte) error) *WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call
Source Files
¶
- HubInterface.go
- HubReaderInterface.go
- HubReaderServiceIdentityInterface.go
- HubServiceIdentityInterface.go
- LoggingInterface.go
- MdnsInterface.go
- MdnsPairingInterface.go
- MdnsProviderInterface.go
- MdnsReportInterface.go
- MdnsResolveCB.go
- PairingAnnouncerInterface.go
- PairingCryptoInterface.go
- PairingHistoryProviderInterface.go
- PairingHubInterface.go
- PairingListenerInterface.go
- PairingServiceReaderInterface.go
- RingBufferPersistence.go
- ShipConnectionDataReaderInterface.go
- ShipConnectionDataWriterInterface.go
- ShipConnectionInfoProviderInterface.go
- ShipConnectionInterface.go
- ShipPairingServiceInterface.go
- WebsocketDataReaderInterface.go
- WebsocketDataWriterInterface.go
- mockgen_api.go