mocks

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubInterface

type HubInterface struct {
	mock.Mock
}

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

type HubInterface_CancelPairing_Call struct {
	*mock.Call
}

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 (*HubInterface_CancelPairing_Call) Run added in v0.7.0

func (*HubInterface_CancelPairing_Call) RunAndReturn added in v0.7.0

type HubInterface_DisconnectService_Call added in v0.7.0

type HubInterface_DisconnectService_Call struct {
	*mock.Call
}

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 (*HubInterface_DisconnectService_Call) Run added in v0.7.0

func (*HubInterface_DisconnectService_Call) RunAndReturn added in v0.7.0

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

GeneratePairingQR is a helper method to define mock.On call

func (*HubInterface_Expecter) GetActiveAnnouncements added in v0.7.0

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

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

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

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

Shutdown is a helper method to define mock.On call

func (*HubInterface_Expecter) Start

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

type HubInterface_GeneratePairingQR_Call struct {
	*mock.Call
}

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 (*HubInterface_GeneratePairingQR_Call) Run added in v0.7.0

func (*HubInterface_GeneratePairingQR_Call) RunAndReturn added in v0.7.0

type HubInterface_GetActiveAnnouncements_Call added in v0.7.0

type HubInterface_GetActiveAnnouncements_Call struct {
	*mock.Call
}

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 (*HubInterface_GetActiveAnnouncements_Call) Run added in v0.7.0

func (*HubInterface_GetActiveAnnouncements_Call) RunAndReturn added in v0.7.0

type HubInterface_GetLocalCertificateFingerprint_Call added in v0.7.0

type HubInterface_GetLocalCertificateFingerprint_Call struct {
	*mock.Call
}

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 (*HubInterface_GetLocalCertificateFingerprint_Call) Run added in v0.7.0

func (*HubInterface_GetLocalCertificateFingerprint_Call) RunAndReturn added in v0.7.0

type HubInterface_GetTrustedAddCuDevice_Call added in v0.7.0

type HubInterface_GetTrustedAddCuDevice_Call struct {
	*mock.Call
}

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 (*HubInterface_GetTrustedAddCuDevice_Call) Run added in v0.7.0

func (*HubInterface_GetTrustedAddCuDevice_Call) RunAndReturn added in v0.7.0

type HubInterface_IsAnnouncingTo_Call added in v0.7.0

type HubInterface_IsAnnouncingTo_Call struct {
	*mock.Call
}

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 (*HubInterface_IsAnnouncingTo_Call) Run added in v0.7.0

func (*HubInterface_IsAnnouncingTo_Call) RunAndReturn added in v0.7.0

type HubInterface_IsAutoAcceptEnabled_Call added in v0.7.0

type HubInterface_IsAutoAcceptEnabled_Call struct {
	*mock.Call
}

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 (*HubInterface_IsAutoAcceptEnabled_Call) Run added in v0.7.0

func (*HubInterface_IsAutoAcceptEnabled_Call) RunAndReturn added in v0.7.0

type HubInterface_PairingDetailFor_Call added in v0.7.0

type HubInterface_PairingDetailFor_Call struct {
	*mock.Call
}

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 (*HubInterface_PairingDetailFor_Call) Run added in v0.7.0

func (*HubInterface_PairingDetailFor_Call) RunAndReturn added in v0.7.0

type HubInterface_PairingService_Call added in v0.7.0

type HubInterface_PairingService_Call struct {
	*mock.Call
}

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 (*HubInterface_PairingService_Call) Run added in v0.7.0

func (*HubInterface_PairingService_Call) RunAndReturn added in v0.7.0

type HubInterface_RegisterRemoteService_Call added in v0.7.0

type HubInterface_RegisterRemoteService_Call struct {
	*mock.Call
}

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 (*HubInterface_RegisterRemoteService_Call) Run added in v0.7.0

func (*HubInterface_RegisterRemoteService_Call) RunAndReturn added in v0.7.0

type HubInterface_ServiceForIdentifier_Call added in v0.7.0

type HubInterface_ServiceForIdentifier_Call struct {
	*mock.Call
}

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 (*HubInterface_ServiceForIdentifier_Call) Run added in v0.7.0

func (*HubInterface_ServiceForIdentifier_Call) RunAndReturn added in v0.7.0

type HubInterface_ServiceFor_Call added in v0.7.0

type HubInterface_ServiceFor_Call struct {
	*mock.Call
}

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 (*HubInterface_ServiceFor_Call) Run added in v0.7.0

func (*HubInterface_ServiceFor_Call) RunAndReturn added in v0.7.0

type HubInterface_SetAutoAccept_Call

type HubInterface_SetAutoAccept_Call struct {
	*mock.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 (*HubInterface_SetAutoAccept_Call) Run

func (*HubInterface_SetAutoAccept_Call) RunAndReturn

type HubInterface_SetMaxConnections_Call added in v0.7.0

type HubInterface_SetMaxConnections_Call struct {
	*mock.Call
}

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 (*HubInterface_SetMaxConnections_Call) Run added in v0.7.0

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

type HubInterface_SetPairingService_Call struct {
	*mock.Call
}

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 (*HubInterface_SetPairingService_Call) Run added in v0.7.0

func (*HubInterface_SetPairingService_Call) RunAndReturn added in v0.7.0

type HubInterface_Shutdown_Call

type HubInterface_Shutdown_Call struct {
	*mock.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 (*HubInterface_Shutdown_Call) Run

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

type HubInterface_StartAnnouncementTo_Call struct {
	*mock.Call
}

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 (*HubInterface_StartAnnouncementTo_Call) Run added in v0.7.0

func (*HubInterface_StartAnnouncementTo_Call) RunAndReturn added in v0.7.0

type HubInterface_Start_Call

type HubInterface_Start_Call struct {
	*mock.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 (*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

type HubInterface_StopAnnouncementTo_Call struct {
	*mock.Call
}

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 (*HubInterface_StopAnnouncementTo_Call) Run added in v0.7.0

func (*HubInterface_StopAnnouncementTo_Call) RunAndReturn added in v0.7.0

type HubInterface_UnregisterRemoteService_Call added in v0.7.0

type HubInterface_UnregisterRemoteService_Call struct {
	*mock.Call
}

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 (*HubInterface_UnregisterRemoteService_Call) Run added in v0.7.0

func (*HubInterface_UnregisterRemoteService_Call) RunAndReturn added in v0.7.0

type HubReaderInterface

type HubReaderInterface struct {
	mock.Mock
}

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 (*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

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

type HubReaderInterface_AllowWaitingForTrust_Call struct {
	*mock.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 (*HubReaderInterface_AllowWaitingForTrust_Call) Run

func (*HubReaderInterface_AllowWaitingForTrust_Call) RunAndReturn

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

type HubReaderInterface_RemoteServiceConnected_Call struct {
	*mock.Call
}

HubReaderInterface_RemoteServiceConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceConnected'

func (*HubReaderInterface_RemoteServiceConnected_Call) Return added in v0.7.0

func (*HubReaderInterface_RemoteServiceConnected_Call) Run added in v0.7.0

func (*HubReaderInterface_RemoteServiceConnected_Call) RunAndReturn added in v0.7.0

type HubReaderInterface_RemoteServiceDisconnected_Call added in v0.7.0

type HubReaderInterface_RemoteServiceDisconnected_Call struct {
	*mock.Call
}

HubReaderInterface_RemoteServiceDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceDisconnected'

func (*HubReaderInterface_RemoteServiceDisconnected_Call) Return added in v0.7.0

func (*HubReaderInterface_RemoteServiceDisconnected_Call) Run added in v0.7.0

func (*HubReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn added in v0.7.0

type HubReaderInterface_ServicePairingDetailUpdate_Call

type HubReaderInterface_ServicePairingDetailUpdate_Call struct {
	*mock.Call
}

HubReaderInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'

func (*HubReaderInterface_ServicePairingDetailUpdate_Call) Return

func (*HubReaderInterface_ServicePairingDetailUpdate_Call) Run

func (*HubReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn

type HubReaderInterface_ServiceUpdated_Call added in v0.7.0

type HubReaderInterface_ServiceUpdated_Call struct {
	*mock.Call
}

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 (*HubReaderInterface_ServiceUpdated_Call) Run added in v0.7.0

func (*HubReaderInterface_ServiceUpdated_Call) RunAndReturn added in v0.7.0

type HubReaderInterface_SetupRemoteService_Call added in v0.7.0

type HubReaderInterface_SetupRemoteService_Call struct {
	*mock.Call
}

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 (*HubReaderInterface_SetupRemoteService_Call) Run added in v0.7.0

func (*HubReaderInterface_SetupRemoteService_Call) RunAndReturn added in v0.7.0

type HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call added in v0.7.0

type HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call struct {
	*mock.Call
}

HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VisibleRemoteMdnsServicesUpdated'

func (*HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Return added in v0.7.0

func (*HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run added in v0.7.0

func (*HubReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface added in v0.7.0

type HubReaderServiceIdentityInterface struct {
	mock.Mock
}

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 (*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

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

type HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call struct {
	*mock.Call
}

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 (*HubReaderServiceIdentityInterface_AllowWaitingForTrustIdentity_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call added in v0.7.0

type HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrust'

func (*HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_AllowWaitingForTrust_Call) RunAndReturn added in v0.7.0

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

AllowWaitingForTrust is a helper method to define mock.On call

  • ski string

func (*HubReaderServiceIdentityInterface_Expecter) AllowWaitingForTrustIdentity added in v0.7.0

AllowWaitingForTrustIdentity is a helper method to define mock.On call

  • identity api.ServiceIdentity

func (*HubReaderServiceIdentityInterface_Expecter) RemoteSKIConnected added in v0.7.0

RemoteSKIConnected is a helper method to define mock.On call

  • ski string

func (*HubReaderServiceIdentityInterface_Expecter) RemoteSKIDisconnected added in v0.7.0

RemoteSKIDisconnected is a helper method to define mock.On call

  • ski string

func (*HubReaderServiceIdentityInterface_Expecter) RemoteServiceConnected added in v0.7.0

RemoteServiceConnected is a helper method to define mock.On call

  • identity api.ServiceIdentity

func (*HubReaderServiceIdentityInterface_Expecter) RemoteServiceDisconnected added in v0.7.0

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

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

VisibleRemoteMdnsServicesUpdated is a helper method to define mock.On call

  • entries []api.RemoteMdnsService

type HubReaderServiceIdentityInterface_RemoteSKIConnected_Call added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteSKIConnected_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_RemoteSKIConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIConnected'

func (*HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteSKIConnected_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteSKIDisconnected'

func (*HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteSKIDisconnected_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteServiceConnected_Call added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteServiceConnected_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_RemoteServiceConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceConnected'

func (*HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteServiceConnected_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call added in v0.7.0

type HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceDisconnected'

func (*HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_RemoteServiceDisconnected_Call) RunAndReturn added in v0.7.0

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 (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdateIdentity_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call added in v0.7.0

type HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'

func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServicePairingDetailUpdate_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call added in v0.7.0

type HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceShipIDUpdate'

func (*HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServiceShipIDUpdate_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_ServiceUpdated_Call added in v0.7.0

type HubReaderServiceIdentityInterface_ServiceUpdated_Call struct {
	*mock.Call
}

HubReaderServiceIdentityInterface_ServiceUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceUpdated'

func (*HubReaderServiceIdentityInterface_ServiceUpdated_Call) Return added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServiceUpdated_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_ServiceUpdated_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_SetupRemoteDevice_Call added in v0.7.0

type HubReaderServiceIdentityInterface_SetupRemoteDevice_Call struct {
	*mock.Call
}

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 (*HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) Run added in v0.7.0

func (*HubReaderServiceIdentityInterface_SetupRemoteDevice_Call) RunAndReturn added in v0.7.0

type HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call added in v0.7.0

type HubReaderServiceIdentityInterface_VisibleRemoteMdnsServicesUpdated_Call struct {
	*mock.Call
}

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

type HubServiceIdentityInterface added in v0.7.0

type HubServiceIdentityInterface struct {
	mock.Mock
}

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 (*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

type HubServiceIdentityInterface_CancelPairingWithSKI_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_CancelPairingWithSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairingWithSKI'

func (*HubServiceIdentityInterface_CancelPairingWithSKI_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_CancelPairingWithSKI_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_CancelPairingWithSKI_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call added in v0.7.0

type HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairingWithServiceIdentity'

func (*HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_CancelPairingWithServiceIdentity_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_DisconnectSKI_Call added in v0.7.0

type HubServiceIdentityInterface_DisconnectSKI_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_DisconnectSKI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectSKI'

func (*HubServiceIdentityInterface_DisconnectSKI_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_DisconnectSKI_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_DisconnectSKI_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_DisconnectServiceIdentity_Call added in v0.7.0

type HubServiceIdentityInterface_DisconnectServiceIdentity_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_DisconnectServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectServiceIdentity'

func (*HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_DisconnectServiceIdentity_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_DisconnectServiceIdentity_Call) RunAndReturn added in v0.7.0

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

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

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

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

SetAutoAccept is a helper method to define mock.On call

  • b bool

func (*HubServiceIdentityInterface_Expecter) Shutdown added in v0.7.0

Shutdown is a helper method to define mock.On call

func (*HubServiceIdentityInterface_Expecter) Start added in v0.7.0

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

type HubServiceIdentityInterface_PairingDetailForIdentifier_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_PairingDetailForIdentifier_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_PairingDetailForIdentifier_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_PairingDetailFor_Call added in v0.7.0

type HubServiceIdentityInterface_PairingDetailFor_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_PairingDetailFor_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_PairingDetailFor_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call added in v0.7.0

type HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteServiceIdentity'

func (*HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_RegisterRemoteServiceIdentity_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_RegisterRemoteService_Call added in v0.7.0

type HubServiceIdentityInterface_RegisterRemoteService_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_RegisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteService'

func (*HubServiceIdentityInterface_RegisterRemoteService_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_RegisterRemoteService_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_RegisterRemoteService_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_ServiceForIdentifier_Call added in v0.7.0

type HubServiceIdentityInterface_ServiceForIdentifier_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_ServiceForIdentifier_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_ServiceForIdentifier_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_ServiceFor_Call added in v0.7.0

type HubServiceIdentityInterface_ServiceFor_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_ServiceFor_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_ServiceFor_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_SetAutoAccept_Call added in v0.7.0

type HubServiceIdentityInterface_SetAutoAccept_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'

func (*HubServiceIdentityInterface_SetAutoAccept_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_SetAutoAccept_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_SetAutoAccept_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_Shutdown_Call added in v0.7.0

type HubServiceIdentityInterface_Shutdown_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_Shutdown_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_Shutdown_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_Start_Call added in v0.7.0

type HubServiceIdentityInterface_Start_Call struct {
	*mock.Call
}

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 (*HubServiceIdentityInterface_Start_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_Start_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call added in v0.7.0

type HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteServiceIdentity'

func (*HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_UnregisterRemoteServiceIdentity_Call) RunAndReturn added in v0.7.0

type HubServiceIdentityInterface_UnregisterRemoteService_Call added in v0.7.0

type HubServiceIdentityInterface_UnregisterRemoteService_Call struct {
	*mock.Call
}

HubServiceIdentityInterface_UnregisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteService'

func (*HubServiceIdentityInterface_UnregisterRemoteService_Call) Return added in v0.7.0

func (*HubServiceIdentityInterface_UnregisterRemoteService_Call) Run added in v0.7.0

func (*HubServiceIdentityInterface_UnregisterRemoteService_Call) RunAndReturn added in v0.7.0

type LoggingInterface

type LoggingInterface struct {
	mock.Mock
}

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 (*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

type LoggingInterface_Debug_Call struct {
	*mock.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 (*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

type LoggingInterface_Debugf_Call struct {
	*mock.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 (*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

type LoggingInterface_Error_Call struct {
	*mock.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 (*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

type LoggingInterface_Errorf_Call struct {
	*mock.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 (*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

type LoggingInterface_Info_Call struct {
	*mock.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 (*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

type LoggingInterface_Infof_Call struct {
	*mock.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 (*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

type LoggingInterface_Trace_Call struct {
	*mock.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 (*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

type LoggingInterface_Tracef_Call struct {
	*mock.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 (*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

type MdnsInterface struct {
	mock.Mock
}

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

type MdnsInterface_AnnounceMdnsEntry_Call struct {
	*mock.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 (*MdnsInterface_AnnounceMdnsEntry_Call) Run

func (*MdnsInterface_AnnounceMdnsEntry_Call) RunAndReturn

type MdnsInterface_DeviceBrand_Call added in v0.7.0

type MdnsInterface_DeviceBrand_Call struct {
	*mock.Call
}

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 (*MdnsInterface_DeviceBrand_Call) Run added in v0.7.0

func (*MdnsInterface_DeviceBrand_Call) RunAndReturn added in v0.7.0

type MdnsInterface_DeviceCategories_Call added in v0.7.0

type MdnsInterface_DeviceCategories_Call struct {
	*mock.Call
}

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 (*MdnsInterface_DeviceCategories_Call) Run added in v0.7.0

func (*MdnsInterface_DeviceCategories_Call) RunAndReturn added in v0.7.0

type MdnsInterface_DeviceModel_Call added in v0.7.0

type MdnsInterface_DeviceModel_Call struct {
	*mock.Call
}

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 (*MdnsInterface_DeviceModel_Call) Run added in v0.7.0

func (*MdnsInterface_DeviceModel_Call) RunAndReturn added in v0.7.0

type MdnsInterface_DeviceSerial_Call added in v0.7.0

type MdnsInterface_DeviceSerial_Call struct {
	*mock.Call
}

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 (*MdnsInterface_DeviceSerial_Call) Run added in v0.7.0

func (*MdnsInterface_DeviceSerial_Call) RunAndReturn added in v0.7.0

type MdnsInterface_DeviceType_Call added in v0.7.0

type MdnsInterface_DeviceType_Call struct {
	*mock.Call
}

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 (*MdnsInterface_DeviceType_Call) Run added in v0.7.0

func (*MdnsInterface_DeviceType_Call) RunAndReturn added in v0.7.0

type MdnsInterface_Expecter

type MdnsInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MdnsInterface_Expecter) AnnounceMdnsEntry

AnnounceMdnsEntry is a helper method to define mock.On call

func (*MdnsInterface_Expecter) DeviceBrand added in v0.7.0

DeviceBrand is a helper method to define mock.On call

func (*MdnsInterface_Expecter) DeviceCategories added in v0.7.0

DeviceCategories is a helper method to define mock.On call

func (*MdnsInterface_Expecter) DeviceModel added in v0.7.0

DeviceModel is a helper method to define mock.On call

func (*MdnsInterface_Expecter) DeviceSerial added in v0.7.0

DeviceSerial is a helper method to define mock.On call

func (*MdnsInterface_Expecter) DeviceType added in v0.7.0

DeviceType is a helper method to define mock.On call

func (*MdnsInterface_Expecter) RequestMdnsEntries

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

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

UnannounceMdnsEntry is a helper method to define mock.On call

type MdnsInterface_RequestMdnsEntries_Call

type MdnsInterface_RequestMdnsEntries_Call struct {
	*mock.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 (*MdnsInterface_RequestMdnsEntries_Call) Run

func (*MdnsInterface_RequestMdnsEntries_Call) RunAndReturn

type MdnsInterface_SetAutoAccept_Call

type MdnsInterface_SetAutoAccept_Call struct {
	*mock.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 (*MdnsInterface_SetAutoAccept_Call) Run

func (*MdnsInterface_SetAutoAccept_Call) RunAndReturn

type MdnsInterface_Shutdown_Call

type MdnsInterface_Shutdown_Call struct {
	*mock.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 (*MdnsInterface_Shutdown_Call) Run

func (*MdnsInterface_Shutdown_Call) RunAndReturn

func (_c *MdnsInterface_Shutdown_Call) RunAndReturn(run func()) *MdnsInterface_Shutdown_Call

type MdnsInterface_Start_Call

type MdnsInterface_Start_Call struct {
	*mock.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 (*MdnsInterface_Start_Call) Run

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

type MdnsInterface_UnannounceMdnsEntry_Call struct {
	*mock.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 (*MdnsInterface_UnannounceMdnsEntry_Call) Run

func (*MdnsInterface_UnannounceMdnsEntry_Call) RunAndReturn

type MdnsPairingInterface added in v0.7.0

type MdnsPairingInterface struct {
	mock.Mock
}

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 (*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

type MdnsPairingInterface_AnnouncePairingService_Call struct {
	*mock.Call
}

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 (*MdnsPairingInterface_AnnouncePairingService_Call) Run added in v0.7.0

func (*MdnsPairingInterface_AnnouncePairingService_Call) RunAndReturn added in v0.7.0

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

IsPairingServiceAnnounced is a helper method to define mock.On call

func (*MdnsPairingInterface_Expecter) RequestPairingEntries added in v0.7.0

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

type MdnsPairingInterface_IsPairingServiceAnnounced_Call struct {
	*mock.Call
}

MdnsPairingInterface_IsPairingServiceAnnounced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsPairingServiceAnnounced'

func (*MdnsPairingInterface_IsPairingServiceAnnounced_Call) Return added in v0.7.0

func (*MdnsPairingInterface_IsPairingServiceAnnounced_Call) Run added in v0.7.0

func (*MdnsPairingInterface_IsPairingServiceAnnounced_Call) RunAndReturn added in v0.7.0

type MdnsPairingInterface_RequestPairingEntries_Call added in v0.7.0

type MdnsPairingInterface_RequestPairingEntries_Call struct {
	*mock.Call
}

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 (*MdnsPairingInterface_RequestPairingEntries_Call) Run added in v0.7.0

func (*MdnsPairingInterface_RequestPairingEntries_Call) RunAndReturn added in v0.7.0

type MdnsPairingInterface_SearchPairingServices_Call added in v0.7.0

type MdnsPairingInterface_SearchPairingServices_Call struct {
	*mock.Call
}

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 (*MdnsPairingInterface_SearchPairingServices_Call) Run added in v0.7.0

func (*MdnsPairingInterface_SearchPairingServices_Call) RunAndReturn added in v0.7.0

type MdnsPairingInterface_UnannouncePairingService_Call added in v0.7.0

type MdnsPairingInterface_UnannouncePairingService_Call struct {
	*mock.Call
}

MdnsPairingInterface_UnannouncePairingService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnannouncePairingService'

func (*MdnsPairingInterface_UnannouncePairingService_Call) Return added in v0.7.0

func (*MdnsPairingInterface_UnannouncePairingService_Call) Run added in v0.7.0

func (*MdnsPairingInterface_UnannouncePairingService_Call) RunAndReturn added in v0.7.0

type MdnsProviderInterface

type MdnsProviderInterface struct {
	mock.Mock
}

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 (*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

type MdnsProviderInterface_AnnounceService_Call struct {
	*mock.Call
}

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 (*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

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

type MdnsProviderInterface_Shutdown_Call struct {
	*mock.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 (*MdnsProviderInterface_Shutdown_Call) Run

func (*MdnsProviderInterface_Shutdown_Call) RunAndReturn

type MdnsProviderInterface_Start_Call added in v0.6.0

type MdnsProviderInterface_Start_Call struct {
	*mock.Call
}

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 (*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

type MdnsProviderInterface_UnannounceService_Call struct {
	*mock.Call
}

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 (*MdnsProviderInterface_UnannounceService_Call) Run added in v0.7.0

func (*MdnsProviderInterface_UnannounceService_Call) RunAndReturn added in v0.7.0

type MdnsReportInterface

type MdnsReportInterface struct {
	mock.Mock
}

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 (*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

type MdnsReportInterface_ReportMdnsEntries_Call struct {
	*mock.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 (*MdnsReportInterface_ReportMdnsEntries_Call) Run

func (*MdnsReportInterface_ReportMdnsEntries_Call) RunAndReturn

type MdnsResolveCB

type MdnsResolveCB struct {
	mock.Mock
}

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

func (*MdnsResolveCB) Execute

func (_m *MdnsResolveCB) Execute(elements map[string]string, name string, host string, addresses []net.IP, port int, remove bool)

Execute provides a mock function with given fields: elements, name, host, addresses, port, remove

type MdnsResolveCB_Execute_Call

type MdnsResolveCB_Execute_Call struct {
	*mock.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 (*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

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

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

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

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

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

type PairingAnnouncerInterface struct {
	mock.Mock
}

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 (*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

type PairingAnnouncerInterface_Announce_Call struct {
	*mock.Call
}

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 (*PairingAnnouncerInterface_Announce_Call) Run added in v0.7.0

func (*PairingAnnouncerInterface_Announce_Call) RunAndReturn added in v0.7.0

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

Announce is a helper method to define mock.On call

  • target api.PairingTarget

func (*PairingAnnouncerInterface_Expecter) GetAnnouncementStatus added in v0.7.0

GetAnnouncementStatus is a helper method to define mock.On call

func (*PairingAnnouncerInterface_Expecter) StopAnnouncement added in v0.7.0

StopAnnouncement is a helper method to define mock.On call

type PairingAnnouncerInterface_GetAnnouncementStatus_Call added in v0.7.0

type PairingAnnouncerInterface_GetAnnouncementStatus_Call struct {
	*mock.Call
}

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 (*PairingAnnouncerInterface_GetAnnouncementStatus_Call) Run added in v0.7.0

func (*PairingAnnouncerInterface_GetAnnouncementStatus_Call) RunAndReturn added in v0.7.0

type PairingAnnouncerInterface_StopAnnouncement_Call added in v0.7.0

type PairingAnnouncerInterface_StopAnnouncement_Call struct {
	*mock.Call
}

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 (*PairingAnnouncerInterface_StopAnnouncement_Call) Run added in v0.7.0

func (*PairingAnnouncerInterface_StopAnnouncement_Call) RunAndReturn added in v0.7.0

type PairingCryptoInterface added in v0.7.0

type PairingCryptoInterface struct {
	mock.Mock
}

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 (*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

type PairingCryptoInterface_CalculateDigest_Call struct {
	*mock.Call
}

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 (*PairingCryptoInterface_CalculateDigest_Call) Run added in v0.7.0

func (*PairingCryptoInterface_CalculateDigest_Call) RunAndReturn added in v0.7.0

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

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

type PairingCryptoInterface_GenerateNonce_Call struct {
	*mock.Call
}

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 (*PairingCryptoInterface_GenerateNonce_Call) Run added in v0.7.0

func (*PairingCryptoInterface_GenerateNonce_Call) RunAndReturn added in v0.7.0

type PairingCryptoInterface_ValidateDigest_Call added in v0.7.0

type PairingCryptoInterface_ValidateDigest_Call struct {
	*mock.Call
}

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 (*PairingCryptoInterface_ValidateDigest_Call) Run added in v0.7.0

func (*PairingCryptoInterface_ValidateDigest_Call) RunAndReturn added in v0.7.0

type PairingHistoryProviderInterface added in v0.7.0

type PairingHistoryProviderInterface struct {
	mock.Mock
}

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 (*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

type PairingHistoryProviderInterface_HasSeenDigest_Call struct {
	*mock.Call
}

PairingHistoryProviderInterface_HasSeenDigest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSeenDigest'

func (*PairingHistoryProviderInterface_HasSeenDigest_Call) Return added in v0.7.0

func (*PairingHistoryProviderInterface_HasSeenDigest_Call) Run added in v0.7.0

func (*PairingHistoryProviderInterface_HasSeenDigest_Call) RunAndReturn added in v0.7.0

type PairingHistoryProviderInterface_RecordPairing_Call added in v0.7.0

type PairingHistoryProviderInterface_RecordPairing_Call struct {
	*mock.Call
}

PairingHistoryProviderInterface_RecordPairing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordPairing'

func (*PairingHistoryProviderInterface_RecordPairing_Call) Return added in v0.7.0

func (*PairingHistoryProviderInterface_RecordPairing_Call) Run added in v0.7.0

func (*PairingHistoryProviderInterface_RecordPairing_Call) RunAndReturn added in v0.7.0

type PairingHubInterface added in v0.7.0

type PairingHubInterface struct {
	mock.Mock
}

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 (*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

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

type PairingHubInterface_GetTrustedAddCuDevice_Call struct {
	*mock.Call
}

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 (*PairingHubInterface_GetTrustedAddCuDevice_Call) Run added in v0.7.0

func (*PairingHubInterface_GetTrustedAddCuDevice_Call) RunAndReturn added in v0.7.0

type PairingHubInterface_OnPairingFailure_Call added in v0.7.0

type PairingHubInterface_OnPairingFailure_Call struct {
	*mock.Call
}

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 (*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

type PairingHubInterface_OnPairingSuccess_Call struct {
	*mock.Call
}

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 (*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

type PairingListenerInterface struct {
	mock.Mock
}

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 (*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

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

StopListening is a helper method to define mock.On call

type PairingListenerInterface_GetListenerStatus_Call added in v0.7.0

type PairingListenerInterface_GetListenerStatus_Call struct {
	*mock.Call
}

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 (*PairingListenerInterface_GetListenerStatus_Call) Run added in v0.7.0

func (*PairingListenerInterface_GetListenerStatus_Call) RunAndReturn added in v0.7.0

type PairingListenerInterface_ProcessPendingEntries_Call added in v0.7.0

type PairingListenerInterface_ProcessPendingEntries_Call struct {
	*mock.Call
}

PairingListenerInterface_ProcessPendingEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessPendingEntries'

func (*PairingListenerInterface_ProcessPendingEntries_Call) Return added in v0.7.0

func (*PairingListenerInterface_ProcessPendingEntries_Call) Run added in v0.7.0

func (*PairingListenerInterface_ProcessPendingEntries_Call) RunAndReturn added in v0.7.0

type PairingListenerInterface_StartListening_Call added in v0.7.0

type PairingListenerInterface_StartListening_Call struct {
	*mock.Call
}

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 (*PairingListenerInterface_StartListening_Call) Run added in v0.7.0

func (*PairingListenerInterface_StartListening_Call) RunAndReturn added in v0.7.0

type PairingListenerInterface_StopListening_Call added in v0.7.0

type PairingListenerInterface_StopListening_Call struct {
	*mock.Call
}

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 (*PairingListenerInterface_StopListening_Call) Run added in v0.7.0

func (*PairingListenerInterface_StopListening_Call) RunAndReturn added in v0.7.0

type PairingServiceReaderInterface added in v0.7.0

type PairingServiceReaderInterface struct {
	mock.Mock
}

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 (*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

ServiceAutoTrusted is a helper method to define mock.On call

  • identity api.ServiceIdentity

type PairingServiceReaderInterface_ServiceAutoTrustFailed_Call added in v0.7.0

type PairingServiceReaderInterface_ServiceAutoTrustFailed_Call struct {
	*mock.Call
}

PairingServiceReaderInterface_ServiceAutoTrustFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustFailed'

func (*PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Return added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) Run added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn added in v0.7.0

type PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call added in v0.7.0

type PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call struct {
	*mock.Call
}

PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustRemoved'

func (*PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Return added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn added in v0.7.0

type PairingServiceReaderInterface_ServiceAutoTrusted_Call added in v0.7.0

type PairingServiceReaderInterface_ServiceAutoTrusted_Call struct {
	*mock.Call
}

PairingServiceReaderInterface_ServiceAutoTrusted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrusted'

func (*PairingServiceReaderInterface_ServiceAutoTrusted_Call) Return added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrusted_Call) Run added in v0.7.0

func (*PairingServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn added in v0.7.0

type RingBufferPersistence added in v0.7.0

type RingBufferPersistence struct {
	mock.Mock
}

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 (*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

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

type RingBufferPersistence_LoadRingBuffer_Call struct {
	*mock.Call
}

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 (*RingBufferPersistence_LoadRingBuffer_Call) Run added in v0.7.0

func (*RingBufferPersistence_LoadRingBuffer_Call) RunAndReturn added in v0.7.0

type RingBufferPersistence_SaveRingBuffer_Call added in v0.7.0

type RingBufferPersistence_SaveRingBuffer_Call struct {
	*mock.Call
}

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 (*RingBufferPersistence_SaveRingBuffer_Call) Run added in v0.7.0

func (*RingBufferPersistence_SaveRingBuffer_Call) RunAndReturn added in v0.7.0

type ShipConnectionDataReaderInterface

type ShipConnectionDataReaderInterface struct {
	mock.Mock
}

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 (*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

HandleShipPayloadMessage is a helper method to define mock.On call

  • message []byte

type ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call

type ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call struct {
	*mock.Call
}

ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleShipPayloadMessage'

func (*ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Return

func (*ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) Run

func (*ShipConnectionDataReaderInterface_HandleShipPayloadMessage_Call) RunAndReturn

type ShipConnectionDataWriterInterface

type ShipConnectionDataWriterInterface struct {
	mock.Mock
}

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 (*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

WriteShipMessageWithPayload is a helper method to define mock.On call

  • message []byte

type ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call

type ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call struct {
	*mock.Call
}

ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteShipMessageWithPayload'

func (*ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Return

func (*ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) Run

func (*ShipConnectionDataWriterInterface_WriteShipMessageWithPayload_Call) RunAndReturn

type ShipConnectionInfoProviderInterface

type ShipConnectionInfoProviderInterface struct {
	mock.Mock
}

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 (*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

SetupRemoteService provides a mock function for the type ShipConnectionInfoProviderInterface

type ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call

type ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowWaitingForTrust'

func (*ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Return

func (*ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) Run

func (*ShipConnectionInfoProviderInterface_AllowWaitingForTrust_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_Expecter

type ShipConnectionInfoProviderInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*ShipConnectionInfoProviderInterface_Expecter) AllowWaitingForTrust

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

IsAutoAcceptEnabled is a helper method to define mock.On call

func (*ShipConnectionInfoProviderInterface_Expecter) IsRemoteServiceForSKIPaired

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

type ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleConnectionClosed'

func (*ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Return

func (*ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) Run

func (*ShipConnectionInfoProviderInterface_HandleConnectionClosed_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call

type ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleShipHandshakeStateUpdate'

func (*ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Return

func (*ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) Run

func (*ShipConnectionInfoProviderInterface_HandleShipHandshakeStateUpdate_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call

type ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAutoAcceptEnabled'

func (*ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) Return

func (*ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) Run

func (*ShipConnectionInfoProviderInterface_IsAutoAcceptEnabled_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call

type ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRemoteServiceForSKIPaired'

func (*ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) Return

func (*ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) Run

func (*ShipConnectionInfoProviderInterface_IsRemoteServiceForSKIPaired_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_ReportServiceShipID_Call

type ShipConnectionInfoProviderInterface_ReportServiceShipID_Call struct {
	*mock.Call
}

ShipConnectionInfoProviderInterface_ReportServiceShipID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReportServiceShipID'

func (*ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Return

func (*ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) Run

func (*ShipConnectionInfoProviderInterface_ReportServiceShipID_Call) RunAndReturn

type ShipConnectionInfoProviderInterface_SetupRemoteService_Call added in v0.7.0

type ShipConnectionInfoProviderInterface_SetupRemoteService_Call struct {
	*mock.Call
}

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 (*ShipConnectionInfoProviderInterface_SetupRemoteService_Call) Run added in v0.7.0

func (*ShipConnectionInfoProviderInterface_SetupRemoteService_Call) RunAndReturn added in v0.7.0

type ShipConnectionInterface

type ShipConnectionInterface struct {
	mock.Mock
}

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

DataHandler provides a mock function for the type ShipConnectionInterface

func (*ShipConnectionInterface) EXPECT

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

type ShipConnectionInterface_AbortPendingHandshake_Call struct {
	*mock.Call
}

ShipConnectionInterface_AbortPendingHandshake_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortPendingHandshake'

func (*ShipConnectionInterface_AbortPendingHandshake_Call) Return

func (*ShipConnectionInterface_AbortPendingHandshake_Call) Run

func (*ShipConnectionInterface_AbortPendingHandshake_Call) RunAndReturn

type ShipConnectionInterface_ApprovePendingHandshake_Call

type ShipConnectionInterface_ApprovePendingHandshake_Call struct {
	*mock.Call
}

ShipConnectionInterface_ApprovePendingHandshake_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovePendingHandshake'

func (*ShipConnectionInterface_ApprovePendingHandshake_Call) Return

func (*ShipConnectionInterface_ApprovePendingHandshake_Call) Run

func (*ShipConnectionInterface_ApprovePendingHandshake_Call) RunAndReturn

type ShipConnectionInterface_CloseConnection_Call

type ShipConnectionInterface_CloseConnection_Call struct {
	*mock.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 (*ShipConnectionInterface_CloseConnection_Call) Run

func (*ShipConnectionInterface_CloseConnection_Call) RunAndReturn

type ShipConnectionInterface_DataHandler_Call

type ShipConnectionInterface_DataHandler_Call struct {
	*mock.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 (*ShipConnectionInterface_DataHandler_Call) Run

func (*ShipConnectionInterface_DataHandler_Call) RunAndReturn

type ShipConnectionInterface_Expecter

type ShipConnectionInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*ShipConnectionInterface_Expecter) AbortPendingHandshake

AbortPendingHandshake is a helper method to define mock.On call

func (*ShipConnectionInterface_Expecter) ApprovePendingHandshake

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

DataHandler is a helper method to define mock.On call

func (*ShipConnectionInterface_Expecter) RemoteSKI

RemoteSKI is a helper method to define mock.On call

func (*ShipConnectionInterface_Expecter) ShipHandshakeState

ShipHandshakeState is a helper method to define mock.On call

type ShipConnectionInterface_RemoteSKI_Call

type ShipConnectionInterface_RemoteSKI_Call struct {
	*mock.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 (*ShipConnectionInterface_RemoteSKI_Call) Run

func (*ShipConnectionInterface_RemoteSKI_Call) RunAndReturn

type ShipConnectionInterface_ShipHandshakeState_Call

type ShipConnectionInterface_ShipHandshakeState_Call struct {
	*mock.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 (*ShipConnectionInterface_ShipHandshakeState_Call) Run

func (*ShipConnectionInterface_ShipHandshakeState_Call) RunAndReturn

type ShipPairingServiceInterface added in v0.7.0

type ShipPairingServiceInterface struct {
	mock.Mock
}

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

CreateAnnouncer provides a mock function for the type ShipPairingServiceInterface

func (*ShipPairingServiceInterface) CreateListener added in v0.7.0

CreateListener provides a mock function for the type ShipPairingServiceInterface

func (*ShipPairingServiceInterface) EXPECT added in v0.7.0

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

type ShipPairingServiceInterface_CreateAnnouncer_Call struct {
	*mock.Call
}

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 (*ShipPairingServiceInterface_CreateAnnouncer_Call) Run added in v0.7.0

func (*ShipPairingServiceInterface_CreateAnnouncer_Call) RunAndReturn added in v0.7.0

type ShipPairingServiceInterface_CreateListener_Call added in v0.7.0

type ShipPairingServiceInterface_CreateListener_Call struct {
	*mock.Call
}

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 (*ShipPairingServiceInterface_CreateListener_Call) Run added in v0.7.0

func (*ShipPairingServiceInterface_CreateListener_Call) RunAndReturn added in v0.7.0

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

CreateAnnouncer is a helper method to define mock.On call

func (*ShipPairingServiceInterface_Expecter) CreateListener added in v0.7.0

CreateListener is a helper method to define mock.On call

func (*ShipPairingServiceInterface_Expecter) IsServiceRunning added in v0.7.0

IsServiceRunning is a helper method to define mock.On call

func (*ShipPairingServiceInterface_Expecter) Shutdown added in v0.7.0

Shutdown is a helper method to define mock.On call

func (*ShipPairingServiceInterface_Expecter) Start added in v0.7.0

Start is a helper method to define mock.On call

type ShipPairingServiceInterface_IsServiceRunning_Call added in v0.7.0

type ShipPairingServiceInterface_IsServiceRunning_Call struct {
	*mock.Call
}

ShipPairingServiceInterface_IsServiceRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServiceRunning'

func (*ShipPairingServiceInterface_IsServiceRunning_Call) Return added in v0.7.0

func (*ShipPairingServiceInterface_IsServiceRunning_Call) Run added in v0.7.0

func (*ShipPairingServiceInterface_IsServiceRunning_Call) RunAndReturn added in v0.7.0

type ShipPairingServiceInterface_Shutdown_Call added in v0.7.0

type ShipPairingServiceInterface_Shutdown_Call struct {
	*mock.Call
}

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 (*ShipPairingServiceInterface_Shutdown_Call) Run added in v0.7.0

func (*ShipPairingServiceInterface_Shutdown_Call) RunAndReturn added in v0.7.0

type ShipPairingServiceInterface_Start_Call added in v0.7.0

type ShipPairingServiceInterface_Start_Call struct {
	*mock.Call
}

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 (*ShipPairingServiceInterface_Start_Call) Run added in v0.7.0

func (*ShipPairingServiceInterface_Start_Call) RunAndReturn added in v0.7.0

type WebsocketDataReaderInterface

type WebsocketDataReaderInterface struct {
	mock.Mock
}

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 (*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

HandleIncomingWebsocketMessage is a helper method to define mock.On call

  • bytes []byte

func (*WebsocketDataReaderInterface_Expecter) ReportConnectionError

ReportConnectionError is a helper method to define mock.On call

  • err error

type WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call

type WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call struct {
	*mock.Call
}

WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleIncomingWebsocketMessage'

func (*WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Return

func (*WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) Run

func (*WebsocketDataReaderInterface_HandleIncomingWebsocketMessage_Call) RunAndReturn

type WebsocketDataReaderInterface_ReportConnectionError_Call

type WebsocketDataReaderInterface_ReportConnectionError_Call struct {
	*mock.Call
}

WebsocketDataReaderInterface_ReportConnectionError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReportConnectionError'

func (*WebsocketDataReaderInterface_ReportConnectionError_Call) Return

func (*WebsocketDataReaderInterface_ReportConnectionError_Call) Run

func (*WebsocketDataReaderInterface_ReportConnectionError_Call) RunAndReturn

type WebsocketDataWriterInterface

type WebsocketDataWriterInterface struct {
	mock.Mock
}

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 (*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

type WebsocketDataWriterInterface_CloseDataConnection_Call struct {
	*mock.Call
}

WebsocketDataWriterInterface_CloseDataConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseDataConnection'

func (*WebsocketDataWriterInterface_CloseDataConnection_Call) Return

func (*WebsocketDataWriterInterface_CloseDataConnection_Call) Run

func (*WebsocketDataWriterInterface_CloseDataConnection_Call) RunAndReturn

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

IsDataConnectionClosed is a helper method to define mock.On call

func (*WebsocketDataWriterInterface_Expecter) WriteMessageToWebsocketConnection

WriteMessageToWebsocketConnection is a helper method to define mock.On call

  • bytes []byte

type WebsocketDataWriterInterface_InitDataProcessing_Call

type WebsocketDataWriterInterface_InitDataProcessing_Call struct {
	*mock.Call
}

WebsocketDataWriterInterface_InitDataProcessing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitDataProcessing'

func (*WebsocketDataWriterInterface_InitDataProcessing_Call) Return

func (*WebsocketDataWriterInterface_InitDataProcessing_Call) Run

func (*WebsocketDataWriterInterface_InitDataProcessing_Call) RunAndReturn

type WebsocketDataWriterInterface_IsDataConnectionClosed_Call

type WebsocketDataWriterInterface_IsDataConnectionClosed_Call struct {
	*mock.Call
}

WebsocketDataWriterInterface_IsDataConnectionClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDataConnectionClosed'

func (*WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Return

func (*WebsocketDataWriterInterface_IsDataConnectionClosed_Call) Run

func (*WebsocketDataWriterInterface_IsDataConnectionClosed_Call) RunAndReturn

type WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call

type WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call struct {
	*mock.Call
}

WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteMessageToWebsocketConnection'

func (*WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Return

func (*WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) Run

func (*WebsocketDataWriterInterface_WriteMessageToWebsocketConnection_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL