mocks

package
v0.0.0-...-cdb2103 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindingManagerInterface

type BindingManagerInterface struct {
	mock.Mock
}

BindingManagerInterface is an autogenerated mock type for the BindingManagerInterface type

func NewBindingManagerInterface

func NewBindingManagerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *BindingManagerInterface

NewBindingManagerInterface creates a new instance of BindingManagerInterface. 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 (*BindingManagerInterface) AddBinding

AddBinding provides a mock function with given fields: remoteDevice, data

func (*BindingManagerInterface) Bindings

func (_m *BindingManagerInterface) Bindings(remoteDevice api.DeviceRemoteInterface) []*api.BindingEntry

Bindings provides a mock function with given fields: remoteDevice

func (*BindingManagerInterface) BindingsOnFeature

func (_m *BindingManagerInterface) BindingsOnFeature(featureAddress model.FeatureAddressType) []*api.BindingEntry

BindingsOnFeature provides a mock function with given fields: featureAddress

func (*BindingManagerInterface) EXPECT

func (*BindingManagerInterface) HasLocalFeatureRemoteBinding

func (_m *BindingManagerInterface) HasLocalFeatureRemoteBinding(localAddress *model.FeatureAddressType, remoteAddress *model.FeatureAddressType) bool

HasLocalFeatureRemoteBinding provides a mock function with given fields: localAddress, remoteAddress

func (*BindingManagerInterface) RemoveBinding

RemoveBinding provides a mock function with given fields: data, remoteDevice

func (*BindingManagerInterface) RemoveBindingsForDevice

func (_m *BindingManagerInterface) RemoveBindingsForDevice(remoteDevice api.DeviceRemoteInterface)

RemoveBindingsForDevice provides a mock function with given fields: remoteDevice

func (*BindingManagerInterface) RemoveBindingsForEntity

func (_m *BindingManagerInterface) RemoveBindingsForEntity(remoteEntity api.EntityRemoteInterface)

RemoveBindingsForEntity provides a mock function with given fields: remoteEntity

type BindingManagerInterface_AddBinding_Call

type BindingManagerInterface_AddBinding_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_AddBinding_Call) Return

func (*BindingManagerInterface_AddBinding_Call) Run

type BindingManagerInterface_BindingsOnFeature_Call

type BindingManagerInterface_BindingsOnFeature_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_BindingsOnFeature_Call) Return

func (*BindingManagerInterface_BindingsOnFeature_Call) Run

func (*BindingManagerInterface_BindingsOnFeature_Call) RunAndReturn

type BindingManagerInterface_Bindings_Call

type BindingManagerInterface_Bindings_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_Bindings_Call) Return

func (*BindingManagerInterface_Bindings_Call) Run

func (*BindingManagerInterface_Bindings_Call) RunAndReturn

type BindingManagerInterface_Expecter

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

func (*BindingManagerInterface_Expecter) AddBinding

func (_e *BindingManagerInterface_Expecter) AddBinding(remoteDevice interface{}, data interface{}) *BindingManagerInterface_AddBinding_Call

AddBinding is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface
  • data model.BindingManagementRequestCallType

func (*BindingManagerInterface_Expecter) Bindings

func (_e *BindingManagerInterface_Expecter) Bindings(remoteDevice interface{}) *BindingManagerInterface_Bindings_Call

Bindings is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface

func (*BindingManagerInterface_Expecter) BindingsOnFeature

func (_e *BindingManagerInterface_Expecter) BindingsOnFeature(featureAddress interface{}) *BindingManagerInterface_BindingsOnFeature_Call

BindingsOnFeature is a helper method to define mock.On call

  • featureAddress model.FeatureAddressType

func (*BindingManagerInterface_Expecter) HasLocalFeatureRemoteBinding

func (_e *BindingManagerInterface_Expecter) HasLocalFeatureRemoteBinding(localAddress interface{}, remoteAddress interface{}) *BindingManagerInterface_HasLocalFeatureRemoteBinding_Call

HasLocalFeatureRemoteBinding is a helper method to define mock.On call

  • localAddress *model.FeatureAddressType
  • remoteAddress *model.FeatureAddressType

func (*BindingManagerInterface_Expecter) RemoveBinding

func (_e *BindingManagerInterface_Expecter) RemoveBinding(data interface{}, remoteDevice interface{}) *BindingManagerInterface_RemoveBinding_Call

RemoveBinding is a helper method to define mock.On call

  • data model.BindingManagementDeleteCallType
  • remoteDevice api.DeviceRemoteInterface

func (*BindingManagerInterface_Expecter) RemoveBindingsForDevice

func (_e *BindingManagerInterface_Expecter) RemoveBindingsForDevice(remoteDevice interface{}) *BindingManagerInterface_RemoveBindingsForDevice_Call

RemoveBindingsForDevice is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface

func (*BindingManagerInterface_Expecter) RemoveBindingsForEntity

func (_e *BindingManagerInterface_Expecter) RemoveBindingsForEntity(remoteEntity interface{}) *BindingManagerInterface_RemoveBindingsForEntity_Call

RemoveBindingsForEntity is a helper method to define mock.On call

  • remoteEntity api.EntityRemoteInterface

type BindingManagerInterface_HasLocalFeatureRemoteBinding_Call

type BindingManagerInterface_HasLocalFeatureRemoteBinding_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_HasLocalFeatureRemoteBinding_Call) Return

func (*BindingManagerInterface_HasLocalFeatureRemoteBinding_Call) Run

type BindingManagerInterface_RemoveBinding_Call

type BindingManagerInterface_RemoveBinding_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_RemoveBinding_Call) Return

func (*BindingManagerInterface_RemoveBinding_Call) Run

type BindingManagerInterface_RemoveBindingsForDevice_Call

type BindingManagerInterface_RemoveBindingsForDevice_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_RemoveBindingsForDevice_Call) Return

func (*BindingManagerInterface_RemoveBindingsForDevice_Call) Run

func (*BindingManagerInterface_RemoveBindingsForDevice_Call) RunAndReturn

type BindingManagerInterface_RemoveBindingsForEntity_Call

type BindingManagerInterface_RemoveBindingsForEntity_Call struct {
	*mock.Call
}

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

func (*BindingManagerInterface_RemoveBindingsForEntity_Call) Return

func (*BindingManagerInterface_RemoveBindingsForEntity_Call) Run

func (*BindingManagerInterface_RemoveBindingsForEntity_Call) RunAndReturn

type ComControlInterface

type ComControlInterface struct {
	mock.Mock
}

ComControlInterface is an autogenerated mock type for the ComControlInterface type

func NewComControlInterface

func NewComControlInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ComControlInterface

NewComControlInterface creates a new instance of ComControlInterface. 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 (*ComControlInterface) EXPECT

func (*ComControlInterface) SendSpineMessage

func (_m *ComControlInterface) SendSpineMessage(datagram model.DatagramType) error

SendSpineMessage provides a mock function with given fields: datagram

type ComControlInterface_Expecter

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

func (*ComControlInterface_Expecter) SendSpineMessage

func (_e *ComControlInterface_Expecter) SendSpineMessage(datagram interface{}) *ComControlInterface_SendSpineMessage_Call

SendSpineMessage is a helper method to define mock.On call

  • datagram model.DatagramType

type ComControlInterface_SendSpineMessage_Call

type ComControlInterface_SendSpineMessage_Call struct {
	*mock.Call
}

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

func (*ComControlInterface_SendSpineMessage_Call) Return

func (*ComControlInterface_SendSpineMessage_Call) Run

func (*ComControlInterface_SendSpineMessage_Call) RunAndReturn

type DeviceInterface

type DeviceInterface struct {
	mock.Mock
}

DeviceInterface is an autogenerated mock type for the DeviceInterface type

func NewDeviceInterface

func NewDeviceInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *DeviceInterface

NewDeviceInterface creates a new instance of DeviceInterface. 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 (*DeviceInterface) Address

func (_m *DeviceInterface) Address() *model.AddressDeviceType

Address provides a mock function with given fields:

func (*DeviceInterface) DestinationData

DestinationData provides a mock function with given fields:

func (*DeviceInterface) DeviceType

func (_m *DeviceInterface) DeviceType() *model.DeviceTypeType

DeviceType provides a mock function with given fields:

func (*DeviceInterface) EXPECT

func (*DeviceInterface) FeatureSet

FeatureSet provides a mock function with given fields:

type DeviceInterface_Address_Call

type DeviceInterface_Address_Call struct {
	*mock.Call
}

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

func (*DeviceInterface_Address_Call) Return

func (*DeviceInterface_Address_Call) Run

func (*DeviceInterface_Address_Call) RunAndReturn

type DeviceInterface_DestinationData_Call

type DeviceInterface_DestinationData_Call struct {
	*mock.Call
}

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

func (*DeviceInterface_DestinationData_Call) Run

func (*DeviceInterface_DestinationData_Call) RunAndReturn

type DeviceInterface_DeviceType_Call

type DeviceInterface_DeviceType_Call struct {
	*mock.Call
}

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

func (*DeviceInterface_DeviceType_Call) Return

func (*DeviceInterface_DeviceType_Call) Run

func (*DeviceInterface_DeviceType_Call) RunAndReturn

type DeviceInterface_Expecter

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

func (*DeviceInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*DeviceInterface_Expecter) DestinationData

DestinationData is a helper method to define mock.On call

func (*DeviceInterface_Expecter) DeviceType

DeviceType is a helper method to define mock.On call

func (*DeviceInterface_Expecter) FeatureSet

FeatureSet is a helper method to define mock.On call

type DeviceInterface_FeatureSet_Call

type DeviceInterface_FeatureSet_Call struct {
	*mock.Call
}

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

func (*DeviceInterface_FeatureSet_Call) Return

func (*DeviceInterface_FeatureSet_Call) Run

func (*DeviceInterface_FeatureSet_Call) RunAndReturn

type DeviceLocalInterface

type DeviceLocalInterface struct {
	mock.Mock
}

DeviceLocalInterface is an autogenerated mock type for the DeviceLocalInterface type

func NewDeviceLocalInterface

func NewDeviceLocalInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *DeviceLocalInterface

NewDeviceLocalInterface creates a new instance of DeviceLocalInterface. 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 (*DeviceLocalInterface) AddEntity

func (_m *DeviceLocalInterface) AddEntity(entity api.EntityLocalInterface)

AddEntity provides a mock function with given fields: entity

func (*DeviceLocalInterface) AddRemoteDeviceForSki

func (_m *DeviceLocalInterface) AddRemoteDeviceForSki(ski string, rDevice api.DeviceRemoteInterface)

AddRemoteDeviceForSki provides a mock function with given fields: ski, rDevice

func (*DeviceLocalInterface) Address

Address provides a mock function with given fields:

func (*DeviceLocalInterface) BindingManager

func (_m *DeviceLocalInterface) BindingManager() api.BindingManagerInterface

BindingManager provides a mock function with given fields:

func (*DeviceLocalInterface) DestinationData

DestinationData provides a mock function with given fields:

func (*DeviceLocalInterface) DeviceType

func (_m *DeviceLocalInterface) DeviceType() *model.DeviceTypeType

DeviceType provides a mock function with given fields:

func (*DeviceLocalInterface) EXPECT

func (*DeviceLocalInterface) Entities

Entities provides a mock function with given fields:

func (*DeviceLocalInterface) Entity

Entity provides a mock function with given fields: id

func (*DeviceLocalInterface) EntityForType

func (_m *DeviceLocalInterface) EntityForType(entityType model.EntityTypeType) api.EntityLocalInterface

EntityForType provides a mock function with given fields: entityType

func (*DeviceLocalInterface) FeatureByAddress

FeatureByAddress provides a mock function with given fields: address

func (*DeviceLocalInterface) FeatureSet

FeatureSet provides a mock function with given fields:

func (*DeviceLocalInterface) HeartbeatManager

func (_m *DeviceLocalInterface) HeartbeatManager() api.HeartbeatManagerInterface

HeartbeatManager provides a mock function with given fields:

func (*DeviceLocalInterface) Information

Information provides a mock function with given fields:

func (*DeviceLocalInterface) NodeManagement

func (_m *DeviceLocalInterface) NodeManagement() api.NodeManagementInterface

NodeManagement provides a mock function with given fields:

func (*DeviceLocalInterface) NotifySubscribers

func (_m *DeviceLocalInterface) NotifySubscribers(featureAddress *model.FeatureAddressType, cmd model.CmdType)

NotifySubscribers provides a mock function with given fields: featureAddress, cmd

func (*DeviceLocalInterface) ProcessCmd

func (_m *DeviceLocalInterface) ProcessCmd(datagram model.DatagramType, remoteDevice api.DeviceRemoteInterface) error

ProcessCmd provides a mock function with given fields: datagram, remoteDevice

func (*DeviceLocalInterface) RemoteDeviceForAddress

func (_m *DeviceLocalInterface) RemoteDeviceForAddress(address model.AddressDeviceType) api.DeviceRemoteInterface

RemoteDeviceForAddress provides a mock function with given fields: address

func (*DeviceLocalInterface) RemoteDeviceForSki

func (_m *DeviceLocalInterface) RemoteDeviceForSki(ski string) api.DeviceRemoteInterface

RemoteDeviceForSki provides a mock function with given fields: ski

func (*DeviceLocalInterface) RemoteDevices

func (_m *DeviceLocalInterface) RemoteDevices() []api.DeviceRemoteInterface

RemoteDevices provides a mock function with given fields:

func (*DeviceLocalInterface) RemoveEntity

func (_m *DeviceLocalInterface) RemoveEntity(entity api.EntityLocalInterface)

RemoveEntity provides a mock function with given fields: entity

func (*DeviceLocalInterface) RemoveRemoteDevice

func (_m *DeviceLocalInterface) RemoveRemoteDevice(ski string)

RemoveRemoteDevice provides a mock function with given fields: ski

func (*DeviceLocalInterface) RemoveRemoteDeviceConnection

func (_m *DeviceLocalInterface) RemoveRemoteDeviceConnection(ski string)

RemoveRemoteDeviceConnection provides a mock function with given fields: ski

func (*DeviceLocalInterface) RequestRemoteDetailedDiscoveryData

func (_m *DeviceLocalInterface) RequestRemoteDetailedDiscoveryData(rDevice api.DeviceRemoteInterface) (*model.MsgCounterType, *model.ErrorType)

RequestRemoteDetailedDiscoveryData provides a mock function with given fields: rDevice

func (*DeviceLocalInterface) SetupRemoteDevice

SetupRemoteDevice provides a mock function with given fields: ski, writeI

func (*DeviceLocalInterface) SubscriptionManager

func (_m *DeviceLocalInterface) SubscriptionManager() api.SubscriptionManagerInterface

SubscriptionManager provides a mock function with given fields:

type DeviceLocalInterface_AddEntity_Call

type DeviceLocalInterface_AddEntity_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_AddEntity_Call) Return

func (*DeviceLocalInterface_AddEntity_Call) Run

func (*DeviceLocalInterface_AddEntity_Call) RunAndReturn

type DeviceLocalInterface_AddRemoteDeviceForSki_Call

type DeviceLocalInterface_AddRemoteDeviceForSki_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_AddRemoteDeviceForSki_Call) Return

func (*DeviceLocalInterface_AddRemoteDeviceForSki_Call) Run

func (*DeviceLocalInterface_AddRemoteDeviceForSki_Call) RunAndReturn

type DeviceLocalInterface_Address_Call

type DeviceLocalInterface_Address_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_Address_Call) Return

func (*DeviceLocalInterface_Address_Call) Run

func (*DeviceLocalInterface_Address_Call) RunAndReturn

type DeviceLocalInterface_BindingManager_Call

type DeviceLocalInterface_BindingManager_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_BindingManager_Call) Return

func (*DeviceLocalInterface_BindingManager_Call) Run

func (*DeviceLocalInterface_BindingManager_Call) RunAndReturn

type DeviceLocalInterface_DestinationData_Call

type DeviceLocalInterface_DestinationData_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_DestinationData_Call) Run

func (*DeviceLocalInterface_DestinationData_Call) RunAndReturn

type DeviceLocalInterface_DeviceType_Call

type DeviceLocalInterface_DeviceType_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_DeviceType_Call) Return

func (*DeviceLocalInterface_DeviceType_Call) Run

func (*DeviceLocalInterface_DeviceType_Call) RunAndReturn

type DeviceLocalInterface_Entities_Call

type DeviceLocalInterface_Entities_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_Entities_Call) Return

func (*DeviceLocalInterface_Entities_Call) Run

func (*DeviceLocalInterface_Entities_Call) RunAndReturn

type DeviceLocalInterface_EntityForType_Call

type DeviceLocalInterface_EntityForType_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_EntityForType_Call) Return

func (*DeviceLocalInterface_EntityForType_Call) Run

func (*DeviceLocalInterface_EntityForType_Call) RunAndReturn

type DeviceLocalInterface_Entity_Call

type DeviceLocalInterface_Entity_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_Entity_Call) Return

func (*DeviceLocalInterface_Entity_Call) Run

func (*DeviceLocalInterface_Entity_Call) RunAndReturn

type DeviceLocalInterface_Expecter

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

func (*DeviceLocalInterface_Expecter) AddEntity

func (_e *DeviceLocalInterface_Expecter) AddEntity(entity interface{}) *DeviceLocalInterface_AddEntity_Call

AddEntity is a helper method to define mock.On call

  • entity api.EntityLocalInterface

func (*DeviceLocalInterface_Expecter) AddRemoteDeviceForSki

func (_e *DeviceLocalInterface_Expecter) AddRemoteDeviceForSki(ski interface{}, rDevice interface{}) *DeviceLocalInterface_AddRemoteDeviceForSki_Call

AddRemoteDeviceForSki is a helper method to define mock.On call

  • ski string
  • rDevice api.DeviceRemoteInterface

func (*DeviceLocalInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) BindingManager

BindingManager is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) DestinationData

DestinationData is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) DeviceType

DeviceType is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) Entities

Entities is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) Entity

Entity is a helper method to define mock.On call

  • id []model.AddressEntityType

func (*DeviceLocalInterface_Expecter) EntityForType

func (_e *DeviceLocalInterface_Expecter) EntityForType(entityType interface{}) *DeviceLocalInterface_EntityForType_Call

EntityForType is a helper method to define mock.On call

  • entityType model.EntityTypeType

func (*DeviceLocalInterface_Expecter) FeatureByAddress

func (_e *DeviceLocalInterface_Expecter) FeatureByAddress(address interface{}) *DeviceLocalInterface_FeatureByAddress_Call

FeatureByAddress is a helper method to define mock.On call

  • address *model.FeatureAddressType

func (*DeviceLocalInterface_Expecter) FeatureSet

FeatureSet is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) HeartbeatManager

HeartbeatManager is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) Information

Information is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) NodeManagement

NodeManagement is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) NotifySubscribers

func (_e *DeviceLocalInterface_Expecter) NotifySubscribers(featureAddress interface{}, cmd interface{}) *DeviceLocalInterface_NotifySubscribers_Call

NotifySubscribers is a helper method to define mock.On call

  • featureAddress *model.FeatureAddressType
  • cmd model.CmdType

func (*DeviceLocalInterface_Expecter) ProcessCmd

func (_e *DeviceLocalInterface_Expecter) ProcessCmd(datagram interface{}, remoteDevice interface{}) *DeviceLocalInterface_ProcessCmd_Call

ProcessCmd is a helper method to define mock.On call

  • datagram model.DatagramType
  • remoteDevice api.DeviceRemoteInterface

func (*DeviceLocalInterface_Expecter) RemoteDeviceForAddress

func (_e *DeviceLocalInterface_Expecter) RemoteDeviceForAddress(address interface{}) *DeviceLocalInterface_RemoteDeviceForAddress_Call

RemoteDeviceForAddress is a helper method to define mock.On call

  • address model.AddressDeviceType

func (*DeviceLocalInterface_Expecter) RemoteDeviceForSki

func (_e *DeviceLocalInterface_Expecter) RemoteDeviceForSki(ski interface{}) *DeviceLocalInterface_RemoteDeviceForSki_Call

RemoteDeviceForSki is a helper method to define mock.On call

  • ski string

func (*DeviceLocalInterface_Expecter) RemoteDevices

RemoteDevices is a helper method to define mock.On call

func (*DeviceLocalInterface_Expecter) RemoveEntity

func (_e *DeviceLocalInterface_Expecter) RemoveEntity(entity interface{}) *DeviceLocalInterface_RemoveEntity_Call

RemoveEntity is a helper method to define mock.On call

  • entity api.EntityLocalInterface

func (*DeviceLocalInterface_Expecter) RemoveRemoteDevice

func (_e *DeviceLocalInterface_Expecter) RemoveRemoteDevice(ski interface{}) *DeviceLocalInterface_RemoveRemoteDevice_Call

RemoveRemoteDevice is a helper method to define mock.On call

  • ski string

func (*DeviceLocalInterface_Expecter) RemoveRemoteDeviceConnection

func (_e *DeviceLocalInterface_Expecter) RemoveRemoteDeviceConnection(ski interface{}) *DeviceLocalInterface_RemoveRemoteDeviceConnection_Call

RemoveRemoteDeviceConnection is a helper method to define mock.On call

  • ski string

func (*DeviceLocalInterface_Expecter) RequestRemoteDetailedDiscoveryData

func (_e *DeviceLocalInterface_Expecter) RequestRemoteDetailedDiscoveryData(rDevice interface{}) *DeviceLocalInterface_RequestRemoteDetailedDiscoveryData_Call

RequestRemoteDetailedDiscoveryData is a helper method to define mock.On call

  • rDevice api.DeviceRemoteInterface

func (*DeviceLocalInterface_Expecter) SetupRemoteDevice

func (_e *DeviceLocalInterface_Expecter) SetupRemoteDevice(ski interface{}, writeI interface{}) *DeviceLocalInterface_SetupRemoteDevice_Call

SetupRemoteDevice is a helper method to define mock.On call

  • ski string
  • writeI ship_goapi.ShipConnectionDataWriterInterface

func (*DeviceLocalInterface_Expecter) SubscriptionManager

SubscriptionManager is a helper method to define mock.On call

type DeviceLocalInterface_FeatureByAddress_Call

type DeviceLocalInterface_FeatureByAddress_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_FeatureByAddress_Call) Return

func (*DeviceLocalInterface_FeatureByAddress_Call) Run

func (*DeviceLocalInterface_FeatureByAddress_Call) RunAndReturn

type DeviceLocalInterface_FeatureSet_Call

type DeviceLocalInterface_FeatureSet_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_FeatureSet_Call) Run

func (*DeviceLocalInterface_FeatureSet_Call) RunAndReturn

type DeviceLocalInterface_HeartbeatManager_Call

type DeviceLocalInterface_HeartbeatManager_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_HeartbeatManager_Call) Return

func (*DeviceLocalInterface_HeartbeatManager_Call) Run

func (*DeviceLocalInterface_HeartbeatManager_Call) RunAndReturn

type DeviceLocalInterface_Information_Call

type DeviceLocalInterface_Information_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_Information_Call) Run

type DeviceLocalInterface_NodeManagement_Call

type DeviceLocalInterface_NodeManagement_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_NodeManagement_Call) Return

func (*DeviceLocalInterface_NodeManagement_Call) Run

func (*DeviceLocalInterface_NodeManagement_Call) RunAndReturn

type DeviceLocalInterface_NotifySubscribers_Call

type DeviceLocalInterface_NotifySubscribers_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_NotifySubscribers_Call) Return

func (*DeviceLocalInterface_NotifySubscribers_Call) Run

func (*DeviceLocalInterface_NotifySubscribers_Call) RunAndReturn

type DeviceLocalInterface_ProcessCmd_Call

type DeviceLocalInterface_ProcessCmd_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_ProcessCmd_Call) Return

func (*DeviceLocalInterface_ProcessCmd_Call) Run

func (*DeviceLocalInterface_ProcessCmd_Call) RunAndReturn

type DeviceLocalInterface_RemoteDeviceForAddress_Call

type DeviceLocalInterface_RemoteDeviceForAddress_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoteDeviceForAddress_Call) Return

func (*DeviceLocalInterface_RemoteDeviceForAddress_Call) Run

type DeviceLocalInterface_RemoteDeviceForSki_Call

type DeviceLocalInterface_RemoteDeviceForSki_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoteDeviceForSki_Call) Return

func (*DeviceLocalInterface_RemoteDeviceForSki_Call) Run

func (*DeviceLocalInterface_RemoteDeviceForSki_Call) RunAndReturn

type DeviceLocalInterface_RemoteDevices_Call

type DeviceLocalInterface_RemoteDevices_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoteDevices_Call) Return

func (*DeviceLocalInterface_RemoteDevices_Call) Run

func (*DeviceLocalInterface_RemoteDevices_Call) RunAndReturn

type DeviceLocalInterface_RemoveEntity_Call

type DeviceLocalInterface_RemoveEntity_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoveEntity_Call) Return

func (*DeviceLocalInterface_RemoveEntity_Call) Run

func (*DeviceLocalInterface_RemoveEntity_Call) RunAndReturn

type DeviceLocalInterface_RemoveRemoteDeviceConnection_Call

type DeviceLocalInterface_RemoveRemoteDeviceConnection_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoveRemoteDeviceConnection_Call) Return

func (*DeviceLocalInterface_RemoveRemoteDeviceConnection_Call) Run

func (*DeviceLocalInterface_RemoveRemoteDeviceConnection_Call) RunAndReturn

type DeviceLocalInterface_RemoveRemoteDevice_Call

type DeviceLocalInterface_RemoveRemoteDevice_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RemoveRemoteDevice_Call) Return

func (*DeviceLocalInterface_RemoveRemoteDevice_Call) Run

func (*DeviceLocalInterface_RemoveRemoteDevice_Call) RunAndReturn

type DeviceLocalInterface_RequestRemoteDetailedDiscoveryData_Call

type DeviceLocalInterface_RequestRemoteDetailedDiscoveryData_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_RequestRemoteDetailedDiscoveryData_Call) Return

func (*DeviceLocalInterface_RequestRemoteDetailedDiscoveryData_Call) Run

type DeviceLocalInterface_SetupRemoteDevice_Call

type DeviceLocalInterface_SetupRemoteDevice_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_SetupRemoteDevice_Call) Run

type DeviceLocalInterface_SubscriptionManager_Call

type DeviceLocalInterface_SubscriptionManager_Call struct {
	*mock.Call
}

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

func (*DeviceLocalInterface_SubscriptionManager_Call) Run

func (*DeviceLocalInterface_SubscriptionManager_Call) RunAndReturn

type DeviceRemoteInterface

type DeviceRemoteInterface struct {
	mock.Mock
}

DeviceRemoteInterface is an autogenerated mock type for the DeviceRemoteInterface type

func NewDeviceRemoteInterface

func NewDeviceRemoteInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *DeviceRemoteInterface

NewDeviceRemoteInterface creates a new instance of DeviceRemoteInterface. 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 (*DeviceRemoteInterface) AddEntity

func (_m *DeviceRemoteInterface) AddEntity(entity api.EntityRemoteInterface)

AddEntity provides a mock function with given fields: entity

func (*DeviceRemoteInterface) AddEntityAndFeatures

AddEntityAndFeatures provides a mock function with given fields: initialData, data

func (*DeviceRemoteInterface) Address

Address provides a mock function with given fields:

func (*DeviceRemoteInterface) CheckEntityInformation

func (_m *DeviceRemoteInterface) CheckEntityInformation(initialData bool, entity model.NodeManagementDetailedDiscoveryEntityInformationType) error

CheckEntityInformation provides a mock function with given fields: initialData, entity

func (*DeviceRemoteInterface) DestinationData

DestinationData provides a mock function with given fields:

func (*DeviceRemoteInterface) DeviceType

func (_m *DeviceRemoteInterface) DeviceType() *model.DeviceTypeType

DeviceType provides a mock function with given fields:

func (*DeviceRemoteInterface) EXPECT

func (*DeviceRemoteInterface) Entities

Entities provides a mock function with given fields:

func (*DeviceRemoteInterface) Entity

Entity provides a mock function with given fields: id

func (*DeviceRemoteInterface) FeatureByAddress

FeatureByAddress provides a mock function with given fields: address

func (*DeviceRemoteInterface) FeatureByEntityTypeAndRole

func (_m *DeviceRemoteInterface) FeatureByEntityTypeAndRole(entity api.EntityRemoteInterface, featureType model.FeatureTypeType, role model.RoleType) api.FeatureRemoteInterface

FeatureByEntityTypeAndRole provides a mock function with given fields: entity, featureType, role

func (*DeviceRemoteInterface) FeatureSet

FeatureSet provides a mock function with given fields:

func (*DeviceRemoteInterface) HandleSpineMesssage

func (_m *DeviceRemoteInterface) HandleSpineMesssage(message []byte) (*model.MsgCounterType, error)

HandleSpineMesssage provides a mock function with given fields: message

func (*DeviceRemoteInterface) RemoveEntityByAddress

func (_m *DeviceRemoteInterface) RemoveEntityByAddress(addr []model.AddressEntityType) api.EntityRemoteInterface

RemoveEntityByAddress provides a mock function with given fields: addr

func (*DeviceRemoteInterface) Sender

Sender provides a mock function with given fields:

func (*DeviceRemoteInterface) Ski

func (_m *DeviceRemoteInterface) Ski() string

Ski provides a mock function with given fields:

func (*DeviceRemoteInterface) UpdateDevice

UpdateDevice provides a mock function with given fields: description

func (*DeviceRemoteInterface) UseCases

UseCases provides a mock function with given fields:

func (*DeviceRemoteInterface) VerifyUseCaseScenariosAndFeaturesSupport

func (_m *DeviceRemoteInterface) VerifyUseCaseScenariosAndFeaturesSupport(usecaseActor model.UseCaseActorType, usecaseName model.UseCaseNameType, scenarios []model.UseCaseScenarioSupportType, serverFeatures []model.FeatureTypeType) bool

VerifyUseCaseScenariosAndFeaturesSupport provides a mock function with given fields: usecaseActor, usecaseName, scenarios, serverFeatures

type DeviceRemoteInterface_AddEntityAndFeatures_Call

type DeviceRemoteInterface_AddEntityAndFeatures_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_AddEntityAndFeatures_Call) Return

func (*DeviceRemoteInterface_AddEntityAndFeatures_Call) Run

type DeviceRemoteInterface_AddEntity_Call

type DeviceRemoteInterface_AddEntity_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_AddEntity_Call) Return

func (*DeviceRemoteInterface_AddEntity_Call) Run

func (*DeviceRemoteInterface_AddEntity_Call) RunAndReturn

type DeviceRemoteInterface_Address_Call

type DeviceRemoteInterface_Address_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_Address_Call) Return

func (*DeviceRemoteInterface_Address_Call) Run

func (*DeviceRemoteInterface_Address_Call) RunAndReturn

type DeviceRemoteInterface_CheckEntityInformation_Call

type DeviceRemoteInterface_CheckEntityInformation_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_CheckEntityInformation_Call) Return

func (*DeviceRemoteInterface_CheckEntityInformation_Call) Run

type DeviceRemoteInterface_DestinationData_Call

type DeviceRemoteInterface_DestinationData_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_DestinationData_Call) Run

func (*DeviceRemoteInterface_DestinationData_Call) RunAndReturn

type DeviceRemoteInterface_DeviceType_Call

type DeviceRemoteInterface_DeviceType_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_DeviceType_Call) Return

func (*DeviceRemoteInterface_DeviceType_Call) Run

func (*DeviceRemoteInterface_DeviceType_Call) RunAndReturn

type DeviceRemoteInterface_Entities_Call

type DeviceRemoteInterface_Entities_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_Entities_Call) Return

func (*DeviceRemoteInterface_Entities_Call) Run

func (*DeviceRemoteInterface_Entities_Call) RunAndReturn

type DeviceRemoteInterface_Entity_Call

type DeviceRemoteInterface_Entity_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_Entity_Call) Return

func (*DeviceRemoteInterface_Entity_Call) Run

func (*DeviceRemoteInterface_Entity_Call) RunAndReturn

type DeviceRemoteInterface_Expecter

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

func (*DeviceRemoteInterface_Expecter) AddEntity

func (_e *DeviceRemoteInterface_Expecter) AddEntity(entity interface{}) *DeviceRemoteInterface_AddEntity_Call

AddEntity is a helper method to define mock.On call

  • entity api.EntityRemoteInterface

func (*DeviceRemoteInterface_Expecter) AddEntityAndFeatures

func (_e *DeviceRemoteInterface_Expecter) AddEntityAndFeatures(initialData interface{}, data interface{}) *DeviceRemoteInterface_AddEntityAndFeatures_Call

AddEntityAndFeatures is a helper method to define mock.On call

  • initialData bool
  • data *model.NodeManagementDetailedDiscoveryDataType

func (*DeviceRemoteInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) CheckEntityInformation

func (_e *DeviceRemoteInterface_Expecter) CheckEntityInformation(initialData interface{}, entity interface{}) *DeviceRemoteInterface_CheckEntityInformation_Call

CheckEntityInformation is a helper method to define mock.On call

  • initialData bool
  • entity model.NodeManagementDetailedDiscoveryEntityInformationType

func (*DeviceRemoteInterface_Expecter) DestinationData

DestinationData is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) DeviceType

DeviceType is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) Entities

Entities is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) Entity

Entity is a helper method to define mock.On call

  • id []model.AddressEntityType

func (*DeviceRemoteInterface_Expecter) FeatureByAddress

func (_e *DeviceRemoteInterface_Expecter) FeatureByAddress(address interface{}) *DeviceRemoteInterface_FeatureByAddress_Call

FeatureByAddress is a helper method to define mock.On call

  • address *model.FeatureAddressType

func (*DeviceRemoteInterface_Expecter) FeatureByEntityTypeAndRole

func (_e *DeviceRemoteInterface_Expecter) FeatureByEntityTypeAndRole(entity interface{}, featureType interface{}, role interface{}) *DeviceRemoteInterface_FeatureByEntityTypeAndRole_Call

FeatureByEntityTypeAndRole is a helper method to define mock.On call

  • entity api.EntityRemoteInterface
  • featureType model.FeatureTypeType
  • role model.RoleType

func (*DeviceRemoteInterface_Expecter) FeatureSet

FeatureSet is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) HandleSpineMesssage

func (_e *DeviceRemoteInterface_Expecter) HandleSpineMesssage(message interface{}) *DeviceRemoteInterface_HandleSpineMesssage_Call

HandleSpineMesssage is a helper method to define mock.On call

  • message []byte

func (*DeviceRemoteInterface_Expecter) RemoveEntityByAddress

func (_e *DeviceRemoteInterface_Expecter) RemoveEntityByAddress(addr interface{}) *DeviceRemoteInterface_RemoveEntityByAddress_Call

RemoveEntityByAddress is a helper method to define mock.On call

  • addr []model.AddressEntityType

func (*DeviceRemoteInterface_Expecter) Sender

Sender is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) Ski

Ski is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) UpdateDevice

func (_e *DeviceRemoteInterface_Expecter) UpdateDevice(description interface{}) *DeviceRemoteInterface_UpdateDevice_Call

UpdateDevice is a helper method to define mock.On call

  • description *model.NetworkManagementDeviceDescriptionDataType

func (*DeviceRemoteInterface_Expecter) UseCases

UseCases is a helper method to define mock.On call

func (*DeviceRemoteInterface_Expecter) VerifyUseCaseScenariosAndFeaturesSupport

func (_e *DeviceRemoteInterface_Expecter) VerifyUseCaseScenariosAndFeaturesSupport(usecaseActor interface{}, usecaseName interface{}, scenarios interface{}, serverFeatures interface{}) *DeviceRemoteInterface_VerifyUseCaseScenariosAndFeaturesSupport_Call

VerifyUseCaseScenariosAndFeaturesSupport is a helper method to define mock.On call

  • usecaseActor model.UseCaseActorType
  • usecaseName model.UseCaseNameType
  • scenarios []model.UseCaseScenarioSupportType
  • serverFeatures []model.FeatureTypeType

type DeviceRemoteInterface_FeatureByAddress_Call

type DeviceRemoteInterface_FeatureByAddress_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_FeatureByAddress_Call) Return

func (*DeviceRemoteInterface_FeatureByAddress_Call) Run

type DeviceRemoteInterface_FeatureByEntityTypeAndRole_Call

type DeviceRemoteInterface_FeatureByEntityTypeAndRole_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_FeatureByEntityTypeAndRole_Call) Return

func (*DeviceRemoteInterface_FeatureByEntityTypeAndRole_Call) Run

type DeviceRemoteInterface_FeatureSet_Call

type DeviceRemoteInterface_FeatureSet_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_FeatureSet_Call) Run

func (*DeviceRemoteInterface_FeatureSet_Call) RunAndReturn

type DeviceRemoteInterface_HandleSpineMesssage_Call

type DeviceRemoteInterface_HandleSpineMesssage_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_HandleSpineMesssage_Call) Return

func (*DeviceRemoteInterface_HandleSpineMesssage_Call) Run

func (*DeviceRemoteInterface_HandleSpineMesssage_Call) RunAndReturn

type DeviceRemoteInterface_RemoveEntityByAddress_Call

type DeviceRemoteInterface_RemoveEntityByAddress_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_RemoveEntityByAddress_Call) Return

func (*DeviceRemoteInterface_RemoveEntityByAddress_Call) Run

func (*DeviceRemoteInterface_RemoveEntityByAddress_Call) RunAndReturn

type DeviceRemoteInterface_Sender_Call

type DeviceRemoteInterface_Sender_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_Sender_Call) Return

func (*DeviceRemoteInterface_Sender_Call) Run

func (*DeviceRemoteInterface_Sender_Call) RunAndReturn

type DeviceRemoteInterface_Ski_Call

type DeviceRemoteInterface_Ski_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_Ski_Call) Return

func (*DeviceRemoteInterface_Ski_Call) Run

func (*DeviceRemoteInterface_Ski_Call) RunAndReturn

type DeviceRemoteInterface_UpdateDevice_Call

type DeviceRemoteInterface_UpdateDevice_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_UpdateDevice_Call) Return

func (*DeviceRemoteInterface_UpdateDevice_Call) Run

type DeviceRemoteInterface_UseCases_Call

type DeviceRemoteInterface_UseCases_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_UseCases_Call) Return

func (*DeviceRemoteInterface_UseCases_Call) Run

func (*DeviceRemoteInterface_UseCases_Call) RunAndReturn

type DeviceRemoteInterface_VerifyUseCaseScenariosAndFeaturesSupport_Call

type DeviceRemoteInterface_VerifyUseCaseScenariosAndFeaturesSupport_Call struct {
	*mock.Call
}

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

func (*DeviceRemoteInterface_VerifyUseCaseScenariosAndFeaturesSupport_Call) Return

func (*DeviceRemoteInterface_VerifyUseCaseScenariosAndFeaturesSupport_Call) Run

type EntityInterface

type EntityInterface struct {
	mock.Mock
}

EntityInterface is an autogenerated mock type for the EntityInterface type

func NewEntityInterface

func NewEntityInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EntityInterface

NewEntityInterface creates a new instance of EntityInterface. 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 (*EntityInterface) Address

func (_m *EntityInterface) Address() *model.EntityAddressType

Address provides a mock function with given fields:

func (*EntityInterface) Description

func (_m *EntityInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*EntityInterface) EXPECT

func (*EntityInterface) EntityType

func (_m *EntityInterface) EntityType() model.EntityTypeType

EntityType provides a mock function with given fields:

func (*EntityInterface) NextFeatureId

func (_m *EntityInterface) NextFeatureId() uint

NextFeatureId provides a mock function with given fields:

func (*EntityInterface) SetDescription

func (_m *EntityInterface) SetDescription(d *model.DescriptionType)

SetDescription provides a mock function with given fields: d

type EntityInterface_Address_Call

type EntityInterface_Address_Call struct {
	*mock.Call
}

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

func (*EntityInterface_Address_Call) Return

func (*EntityInterface_Address_Call) Run

func (*EntityInterface_Address_Call) RunAndReturn

type EntityInterface_Description_Call

type EntityInterface_Description_Call struct {
	*mock.Call
}

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

func (*EntityInterface_Description_Call) Return

func (*EntityInterface_Description_Call) Run

func (*EntityInterface_Description_Call) RunAndReturn

type EntityInterface_EntityType_Call

type EntityInterface_EntityType_Call struct {
	*mock.Call
}

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

func (*EntityInterface_EntityType_Call) Return

func (*EntityInterface_EntityType_Call) Run

func (*EntityInterface_EntityType_Call) RunAndReturn

type EntityInterface_Expecter

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

func (*EntityInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*EntityInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*EntityInterface_Expecter) EntityType

EntityType is a helper method to define mock.On call

func (*EntityInterface_Expecter) NextFeatureId

NextFeatureId is a helper method to define mock.On call

func (*EntityInterface_Expecter) SetDescription

func (_e *EntityInterface_Expecter) SetDescription(d interface{}) *EntityInterface_SetDescription_Call

SetDescription is a helper method to define mock.On call

  • d *model.DescriptionType

type EntityInterface_NextFeatureId_Call

type EntityInterface_NextFeatureId_Call struct {
	*mock.Call
}

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

func (*EntityInterface_NextFeatureId_Call) Return

func (*EntityInterface_NextFeatureId_Call) Run

func (*EntityInterface_NextFeatureId_Call) RunAndReturn

type EntityInterface_SetDescription_Call

type EntityInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*EntityInterface_SetDescription_Call) Return

func (*EntityInterface_SetDescription_Call) Run

func (*EntityInterface_SetDescription_Call) RunAndReturn

type EntityLocalInterface

type EntityLocalInterface struct {
	mock.Mock
}

EntityLocalInterface is an autogenerated mock type for the EntityLocalInterface type

func NewEntityLocalInterface

func NewEntityLocalInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EntityLocalInterface

NewEntityLocalInterface creates a new instance of EntityLocalInterface. 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 (*EntityLocalInterface) AddFeature

AddFeature provides a mock function with given fields: f

func (*EntityLocalInterface) AddUseCaseSupport

func (_m *EntityLocalInterface) AddUseCaseSupport(actor model.UseCaseActorType, useCaseName model.UseCaseNameType, useCaseVersion model.SpecificationVersionType, useCaseDocumemtSubRevision string, useCaseAvailable bool, scenarios []model.UseCaseScenarioSupportType)

AddUseCaseSupport provides a mock function with given fields: actor, useCaseName, useCaseVersion, useCaseDocumemtSubRevision, useCaseAvailable, scenarios

func (*EntityLocalInterface) Address

Address provides a mock function with given fields:

func (*EntityLocalInterface) Description

func (_m *EntityLocalInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*EntityLocalInterface) Device

Device provides a mock function with given fields:

func (*EntityLocalInterface) EXPECT

func (*EntityLocalInterface) EntityType

func (_m *EntityLocalInterface) EntityType() model.EntityTypeType

EntityType provides a mock function with given fields:

func (*EntityLocalInterface) FeatureOfAddress

func (_m *EntityLocalInterface) FeatureOfAddress(addressFeature *model.AddressFeatureType) api.FeatureLocalInterface

FeatureOfAddress provides a mock function with given fields: addressFeature

func (*EntityLocalInterface) FeatureOfTypeAndRole

func (_m *EntityLocalInterface) FeatureOfTypeAndRole(featureType model.FeatureTypeType, role model.RoleType) api.FeatureLocalInterface

FeatureOfTypeAndRole provides a mock function with given fields: featureType, role

func (*EntityLocalInterface) Features

Features provides a mock function with given fields:

func (*EntityLocalInterface) GetOrAddFeature

func (_m *EntityLocalInterface) GetOrAddFeature(featureType model.FeatureTypeType, role model.RoleType) api.FeatureLocalInterface

GetOrAddFeature provides a mock function with given fields: featureType, role

func (*EntityLocalInterface) HasUseCaseSupport

func (_m *EntityLocalInterface) HasUseCaseSupport(actor model.UseCaseActorType, useCaseName model.UseCaseNameType) bool

HasUseCaseSupport provides a mock function with given fields: actor, useCaseName

func (*EntityLocalInterface) Information

Information provides a mock function with given fields:

func (*EntityLocalInterface) NextFeatureId

func (_m *EntityLocalInterface) NextFeatureId() uint

NextFeatureId provides a mock function with given fields:

func (*EntityLocalInterface) RemoveAllBindings

func (_m *EntityLocalInterface) RemoveAllBindings()

RemoveAllBindings provides a mock function with given fields:

func (*EntityLocalInterface) RemoveAllSubscriptions

func (_m *EntityLocalInterface) RemoveAllSubscriptions()

RemoveAllSubscriptions provides a mock function with given fields:

func (*EntityLocalInterface) RemoveAllUseCaseSupports

func (_m *EntityLocalInterface) RemoveAllUseCaseSupports()

RemoveAllUseCaseSupports provides a mock function with given fields:

func (*EntityLocalInterface) RemoveUseCaseSupport

func (_m *EntityLocalInterface) RemoveUseCaseSupport(actor model.UseCaseActorType, useCaseName model.UseCaseNameType)

RemoveUseCaseSupport provides a mock function with given fields: actor, useCaseName

func (*EntityLocalInterface) SetDescription

func (_m *EntityLocalInterface) SetDescription(d *model.DescriptionType)

SetDescription provides a mock function with given fields: d

func (*EntityLocalInterface) SetUseCaseAvailability

func (_m *EntityLocalInterface) SetUseCaseAvailability(actor model.UseCaseActorType, useCaseName model.UseCaseNameType, available bool)

SetUseCaseAvailability provides a mock function with given fields: actor, useCaseName, available

type EntityLocalInterface_AddFeature_Call

type EntityLocalInterface_AddFeature_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_AddFeature_Call) Return

func (*EntityLocalInterface_AddFeature_Call) Run

func (*EntityLocalInterface_AddFeature_Call) RunAndReturn

type EntityLocalInterface_AddUseCaseSupport_Call

type EntityLocalInterface_AddUseCaseSupport_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_AddUseCaseSupport_Call) Return

func (*EntityLocalInterface_AddUseCaseSupport_Call) Run

func (_c *EntityLocalInterface_AddUseCaseSupport_Call) Run(run func(actor model.UseCaseActorType, useCaseName model.UseCaseNameType, useCaseVersion model.SpecificationVersionType, useCaseDocumemtSubRevision string, useCaseAvailable bool, scenarios []model.UseCaseScenarioSupportType)) *EntityLocalInterface_AddUseCaseSupport_Call

type EntityLocalInterface_Address_Call

type EntityLocalInterface_Address_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_Address_Call) Return

func (*EntityLocalInterface_Address_Call) Run

func (*EntityLocalInterface_Address_Call) RunAndReturn

type EntityLocalInterface_Description_Call

type EntityLocalInterface_Description_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_Description_Call) Return

func (*EntityLocalInterface_Description_Call) Run

func (*EntityLocalInterface_Description_Call) RunAndReturn

type EntityLocalInterface_Device_Call

type EntityLocalInterface_Device_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_Device_Call) Return

func (*EntityLocalInterface_Device_Call) Run

func (*EntityLocalInterface_Device_Call) RunAndReturn

type EntityLocalInterface_EntityType_Call

type EntityLocalInterface_EntityType_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_EntityType_Call) Return

func (*EntityLocalInterface_EntityType_Call) Run

func (*EntityLocalInterface_EntityType_Call) RunAndReturn

type EntityLocalInterface_Expecter

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

func (*EntityLocalInterface_Expecter) AddFeature

AddFeature is a helper method to define mock.On call

  • f api.FeatureLocalInterface

func (*EntityLocalInterface_Expecter) AddUseCaseSupport

func (_e *EntityLocalInterface_Expecter) AddUseCaseSupport(actor interface{}, useCaseName interface{}, useCaseVersion interface{}, useCaseDocumemtSubRevision interface{}, useCaseAvailable interface{}, scenarios interface{}) *EntityLocalInterface_AddUseCaseSupport_Call

AddUseCaseSupport is a helper method to define mock.On call

  • actor model.UseCaseActorType
  • useCaseName model.UseCaseNameType
  • useCaseVersion model.SpecificationVersionType
  • useCaseDocumemtSubRevision string
  • useCaseAvailable bool
  • scenarios []model.UseCaseScenarioSupportType

func (*EntityLocalInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) Device

Device is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) EntityType

EntityType is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) FeatureOfAddress

func (_e *EntityLocalInterface_Expecter) FeatureOfAddress(addressFeature interface{}) *EntityLocalInterface_FeatureOfAddress_Call

FeatureOfAddress is a helper method to define mock.On call

  • addressFeature *model.AddressFeatureType

func (*EntityLocalInterface_Expecter) FeatureOfTypeAndRole

func (_e *EntityLocalInterface_Expecter) FeatureOfTypeAndRole(featureType interface{}, role interface{}) *EntityLocalInterface_FeatureOfTypeAndRole_Call

FeatureOfTypeAndRole is a helper method to define mock.On call

  • featureType model.FeatureTypeType
  • role model.RoleType

func (*EntityLocalInterface_Expecter) Features

Features is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) GetOrAddFeature

func (_e *EntityLocalInterface_Expecter) GetOrAddFeature(featureType interface{}, role interface{}) *EntityLocalInterface_GetOrAddFeature_Call

GetOrAddFeature is a helper method to define mock.On call

  • featureType model.FeatureTypeType
  • role model.RoleType

func (*EntityLocalInterface_Expecter) HasUseCaseSupport

func (_e *EntityLocalInterface_Expecter) HasUseCaseSupport(actor interface{}, useCaseName interface{}) *EntityLocalInterface_HasUseCaseSupport_Call

HasUseCaseSupport is a helper method to define mock.On call

  • actor model.UseCaseActorType
  • useCaseName model.UseCaseNameType

func (*EntityLocalInterface_Expecter) Information

Information is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) NextFeatureId

NextFeatureId is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) RemoveAllBindings

RemoveAllBindings is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) RemoveAllSubscriptions

RemoveAllSubscriptions is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) RemoveAllUseCaseSupports

RemoveAllUseCaseSupports is a helper method to define mock.On call

func (*EntityLocalInterface_Expecter) RemoveUseCaseSupport

func (_e *EntityLocalInterface_Expecter) RemoveUseCaseSupport(actor interface{}, useCaseName interface{}) *EntityLocalInterface_RemoveUseCaseSupport_Call

RemoveUseCaseSupport is a helper method to define mock.On call

  • actor model.UseCaseActorType
  • useCaseName model.UseCaseNameType

func (*EntityLocalInterface_Expecter) SetDescription

SetDescription is a helper method to define mock.On call

  • d *model.DescriptionType

func (*EntityLocalInterface_Expecter) SetUseCaseAvailability

func (_e *EntityLocalInterface_Expecter) SetUseCaseAvailability(actor interface{}, useCaseName interface{}, available interface{}) *EntityLocalInterface_SetUseCaseAvailability_Call

SetUseCaseAvailability is a helper method to define mock.On call

  • actor model.UseCaseActorType
  • useCaseName model.UseCaseNameType
  • available bool

type EntityLocalInterface_FeatureOfAddress_Call

type EntityLocalInterface_FeatureOfAddress_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_FeatureOfAddress_Call) Return

func (*EntityLocalInterface_FeatureOfAddress_Call) Run

func (*EntityLocalInterface_FeatureOfAddress_Call) RunAndReturn

type EntityLocalInterface_FeatureOfTypeAndRole_Call

type EntityLocalInterface_FeatureOfTypeAndRole_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_FeatureOfTypeAndRole_Call) Return

func (*EntityLocalInterface_FeatureOfTypeAndRole_Call) Run

type EntityLocalInterface_Features_Call

type EntityLocalInterface_Features_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_Features_Call) Return

func (*EntityLocalInterface_Features_Call) Run

func (*EntityLocalInterface_Features_Call) RunAndReturn

type EntityLocalInterface_GetOrAddFeature_Call

type EntityLocalInterface_GetOrAddFeature_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_GetOrAddFeature_Call) Return

func (*EntityLocalInterface_GetOrAddFeature_Call) Run

type EntityLocalInterface_HasUseCaseSupport_Call

type EntityLocalInterface_HasUseCaseSupport_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_HasUseCaseSupport_Call) Return

func (*EntityLocalInterface_HasUseCaseSupport_Call) Run

func (*EntityLocalInterface_HasUseCaseSupport_Call) RunAndReturn

type EntityLocalInterface_Information_Call

type EntityLocalInterface_Information_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_Information_Call) Run

type EntityLocalInterface_NextFeatureId_Call

type EntityLocalInterface_NextFeatureId_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_NextFeatureId_Call) Return

func (*EntityLocalInterface_NextFeatureId_Call) Run

func (*EntityLocalInterface_NextFeatureId_Call) RunAndReturn

type EntityLocalInterface_RemoveAllBindings_Call

type EntityLocalInterface_RemoveAllBindings_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_RemoveAllBindings_Call) Return

func (*EntityLocalInterface_RemoveAllBindings_Call) Run

func (*EntityLocalInterface_RemoveAllBindings_Call) RunAndReturn

type EntityLocalInterface_RemoveAllSubscriptions_Call

type EntityLocalInterface_RemoveAllSubscriptions_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_RemoveAllSubscriptions_Call) Return

func (*EntityLocalInterface_RemoveAllSubscriptions_Call) Run

func (*EntityLocalInterface_RemoveAllSubscriptions_Call) RunAndReturn

type EntityLocalInterface_RemoveAllUseCaseSupports_Call

type EntityLocalInterface_RemoveAllUseCaseSupports_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_RemoveAllUseCaseSupports_Call) Return

func (*EntityLocalInterface_RemoveAllUseCaseSupports_Call) Run

func (*EntityLocalInterface_RemoveAllUseCaseSupports_Call) RunAndReturn

type EntityLocalInterface_RemoveUseCaseSupport_Call

type EntityLocalInterface_RemoveUseCaseSupport_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_RemoveUseCaseSupport_Call) Return

func (*EntityLocalInterface_RemoveUseCaseSupport_Call) Run

func (*EntityLocalInterface_RemoveUseCaseSupport_Call) RunAndReturn

type EntityLocalInterface_SetDescription_Call

type EntityLocalInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_SetDescription_Call) Return

func (*EntityLocalInterface_SetDescription_Call) Run

func (*EntityLocalInterface_SetDescription_Call) RunAndReturn

type EntityLocalInterface_SetUseCaseAvailability_Call

type EntityLocalInterface_SetUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*EntityLocalInterface_SetUseCaseAvailability_Call) Return

func (*EntityLocalInterface_SetUseCaseAvailability_Call) Run

func (*EntityLocalInterface_SetUseCaseAvailability_Call) RunAndReturn

type EntityRemoteInterface

type EntityRemoteInterface struct {
	mock.Mock
}

EntityRemoteInterface is an autogenerated mock type for the EntityRemoteInterface type

func NewEntityRemoteInterface

func NewEntityRemoteInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EntityRemoteInterface

NewEntityRemoteInterface creates a new instance of EntityRemoteInterface. 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 (*EntityRemoteInterface) AddFeature

AddFeature provides a mock function with given fields: f

func (*EntityRemoteInterface) Address

Address provides a mock function with given fields:

func (*EntityRemoteInterface) Description

func (_m *EntityRemoteInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*EntityRemoteInterface) Device

Device provides a mock function with given fields:

func (*EntityRemoteInterface) EXPECT

func (*EntityRemoteInterface) EntityType

func (_m *EntityRemoteInterface) EntityType() model.EntityTypeType

EntityType provides a mock function with given fields:

func (*EntityRemoteInterface) FeatureOfAddress

func (_m *EntityRemoteInterface) FeatureOfAddress(addressFeature *model.AddressFeatureType) api.FeatureRemoteInterface

FeatureOfAddress provides a mock function with given fields: addressFeature

func (*EntityRemoteInterface) FeatureOfTypeAndRole

func (_m *EntityRemoteInterface) FeatureOfTypeAndRole(featureType model.FeatureTypeType, role model.RoleType) api.FeatureRemoteInterface

FeatureOfTypeAndRole provides a mock function with given fields: featureType, role

func (*EntityRemoteInterface) Features

Features provides a mock function with given fields:

func (*EntityRemoteInterface) NextFeatureId

func (_m *EntityRemoteInterface) NextFeatureId() uint

NextFeatureId provides a mock function with given fields:

func (*EntityRemoteInterface) RemoveAllFeatures

func (_m *EntityRemoteInterface) RemoveAllFeatures()

RemoveAllFeatures provides a mock function with given fields:

func (*EntityRemoteInterface) SetDescription

func (_m *EntityRemoteInterface) SetDescription(d *model.DescriptionType)

SetDescription provides a mock function with given fields: d

func (*EntityRemoteInterface) UpdateDeviceAddress

func (_m *EntityRemoteInterface) UpdateDeviceAddress(address model.AddressDeviceType)

UpdateDeviceAddress provides a mock function with given fields: address

type EntityRemoteInterface_AddFeature_Call

type EntityRemoteInterface_AddFeature_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_AddFeature_Call) Return

func (*EntityRemoteInterface_AddFeature_Call) Run

func (*EntityRemoteInterface_AddFeature_Call) RunAndReturn

type EntityRemoteInterface_Address_Call

type EntityRemoteInterface_Address_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_Address_Call) Return

func (*EntityRemoteInterface_Address_Call) Run

func (*EntityRemoteInterface_Address_Call) RunAndReturn

type EntityRemoteInterface_Description_Call

type EntityRemoteInterface_Description_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_Description_Call) Return

func (*EntityRemoteInterface_Description_Call) Run

func (*EntityRemoteInterface_Description_Call) RunAndReturn

type EntityRemoteInterface_Device_Call

type EntityRemoteInterface_Device_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_Device_Call) Return

func (*EntityRemoteInterface_Device_Call) Run

func (*EntityRemoteInterface_Device_Call) RunAndReturn

type EntityRemoteInterface_EntityType_Call

type EntityRemoteInterface_EntityType_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_EntityType_Call) Return

func (*EntityRemoteInterface_EntityType_Call) Run

func (*EntityRemoteInterface_EntityType_Call) RunAndReturn

type EntityRemoteInterface_Expecter

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

func (*EntityRemoteInterface_Expecter) AddFeature

AddFeature is a helper method to define mock.On call

  • f api.FeatureRemoteInterface

func (*EntityRemoteInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) Device

Device is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) EntityType

EntityType is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) FeatureOfAddress

func (_e *EntityRemoteInterface_Expecter) FeatureOfAddress(addressFeature interface{}) *EntityRemoteInterface_FeatureOfAddress_Call

FeatureOfAddress is a helper method to define mock.On call

  • addressFeature *model.AddressFeatureType

func (*EntityRemoteInterface_Expecter) FeatureOfTypeAndRole

func (_e *EntityRemoteInterface_Expecter) FeatureOfTypeAndRole(featureType interface{}, role interface{}) *EntityRemoteInterface_FeatureOfTypeAndRole_Call

FeatureOfTypeAndRole is a helper method to define mock.On call

  • featureType model.FeatureTypeType
  • role model.RoleType

func (*EntityRemoteInterface_Expecter) Features

Features is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) NextFeatureId

NextFeatureId is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) RemoveAllFeatures

RemoveAllFeatures is a helper method to define mock.On call

func (*EntityRemoteInterface_Expecter) SetDescription

SetDescription is a helper method to define mock.On call

  • d *model.DescriptionType

func (*EntityRemoteInterface_Expecter) UpdateDeviceAddress

func (_e *EntityRemoteInterface_Expecter) UpdateDeviceAddress(address interface{}) *EntityRemoteInterface_UpdateDeviceAddress_Call

UpdateDeviceAddress is a helper method to define mock.On call

  • address model.AddressDeviceType

type EntityRemoteInterface_FeatureOfAddress_Call

type EntityRemoteInterface_FeatureOfAddress_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_FeatureOfAddress_Call) Return

func (*EntityRemoteInterface_FeatureOfAddress_Call) Run

type EntityRemoteInterface_FeatureOfTypeAndRole_Call

type EntityRemoteInterface_FeatureOfTypeAndRole_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_FeatureOfTypeAndRole_Call) Return

func (*EntityRemoteInterface_FeatureOfTypeAndRole_Call) Run

type EntityRemoteInterface_Features_Call

type EntityRemoteInterface_Features_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_Features_Call) Return

func (*EntityRemoteInterface_Features_Call) Run

func (*EntityRemoteInterface_Features_Call) RunAndReturn

type EntityRemoteInterface_NextFeatureId_Call

type EntityRemoteInterface_NextFeatureId_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_NextFeatureId_Call) Return

func (*EntityRemoteInterface_NextFeatureId_Call) Run

func (*EntityRemoteInterface_NextFeatureId_Call) RunAndReturn

type EntityRemoteInterface_RemoveAllFeatures_Call

type EntityRemoteInterface_RemoveAllFeatures_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_RemoveAllFeatures_Call) Return

func (*EntityRemoteInterface_RemoveAllFeatures_Call) Run

func (*EntityRemoteInterface_RemoveAllFeatures_Call) RunAndReturn

type EntityRemoteInterface_SetDescription_Call

type EntityRemoteInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_SetDescription_Call) Return

func (*EntityRemoteInterface_SetDescription_Call) Run

func (*EntityRemoteInterface_SetDescription_Call) RunAndReturn

type EntityRemoteInterface_UpdateDeviceAddress_Call

type EntityRemoteInterface_UpdateDeviceAddress_Call struct {
	*mock.Call
}

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

func (*EntityRemoteInterface_UpdateDeviceAddress_Call) Return

func (*EntityRemoteInterface_UpdateDeviceAddress_Call) Run

func (*EntityRemoteInterface_UpdateDeviceAddress_Call) RunAndReturn

type EventHandlerInterface

type EventHandlerInterface struct {
	mock.Mock
}

EventHandlerInterface is an autogenerated mock type for the EventHandlerInterface type

func NewEventHandlerInterface

func NewEventHandlerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventHandlerInterface

NewEventHandlerInterface creates a new instance of EventHandlerInterface. 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 (*EventHandlerInterface) EXPECT

func (*EventHandlerInterface) HandleEvent

func (_m *EventHandlerInterface) HandleEvent(_a0 api.EventPayload)

HandleEvent provides a mock function with given fields: _a0

type EventHandlerInterface_Expecter

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

func (*EventHandlerInterface_Expecter) HandleEvent

HandleEvent is a helper method to define mock.On call

  • _a0 api.EventPayload

type EventHandlerInterface_HandleEvent_Call

type EventHandlerInterface_HandleEvent_Call struct {
	*mock.Call
}

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

func (*EventHandlerInterface_HandleEvent_Call) Return

func (*EventHandlerInterface_HandleEvent_Call) Run

func (*EventHandlerInterface_HandleEvent_Call) RunAndReturn

type FeatureInterface

type FeatureInterface struct {
	mock.Mock
}

FeatureInterface is an autogenerated mock type for the FeatureInterface type

func NewFeatureInterface

func NewFeatureInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FeatureInterface

NewFeatureInterface creates a new instance of FeatureInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FeatureInterface) Address

func (_m *FeatureInterface) Address() *model.FeatureAddressType

Address provides a mock function with given fields:

func (*FeatureInterface) Description

func (_m *FeatureInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*FeatureInterface) EXPECT

func (*FeatureInterface) Operations

Operations provides a mock function with given fields:

func (*FeatureInterface) Role

func (_m *FeatureInterface) Role() model.RoleType

Role provides a mock function with given fields:

func (*FeatureInterface) SetDescription

func (_m *FeatureInterface) SetDescription(desc *model.DescriptionType)

SetDescription provides a mock function with given fields: desc

func (*FeatureInterface) SetDescriptionString

func (_m *FeatureInterface) SetDescriptionString(s string)

SetDescriptionString provides a mock function with given fields: s

func (*FeatureInterface) String

func (_m *FeatureInterface) String() string

String provides a mock function with given fields:

func (*FeatureInterface) Type

Type provides a mock function with given fields:

type FeatureInterface_Address_Call

type FeatureInterface_Address_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_Address_Call) Return

func (*FeatureInterface_Address_Call) Run

func (*FeatureInterface_Address_Call) RunAndReturn

type FeatureInterface_Description_Call

type FeatureInterface_Description_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_Description_Call) Return

func (*FeatureInterface_Description_Call) Run

func (*FeatureInterface_Description_Call) RunAndReturn

type FeatureInterface_Expecter

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

func (*FeatureInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*FeatureInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*FeatureInterface_Expecter) Operations

Operations is a helper method to define mock.On call

func (*FeatureInterface_Expecter) Role

Role is a helper method to define mock.On call

func (*FeatureInterface_Expecter) SetDescription

func (_e *FeatureInterface_Expecter) SetDescription(desc interface{}) *FeatureInterface_SetDescription_Call

SetDescription is a helper method to define mock.On call

  • desc *model.DescriptionType

func (*FeatureInterface_Expecter) SetDescriptionString

func (_e *FeatureInterface_Expecter) SetDescriptionString(s interface{}) *FeatureInterface_SetDescriptionString_Call

SetDescriptionString is a helper method to define mock.On call

  • s string

func (*FeatureInterface_Expecter) String

String is a helper method to define mock.On call

func (*FeatureInterface_Expecter) Type

Type is a helper method to define mock.On call

type FeatureInterface_Operations_Call

type FeatureInterface_Operations_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_Operations_Call) Return

func (*FeatureInterface_Operations_Call) Run

func (*FeatureInterface_Operations_Call) RunAndReturn

type FeatureInterface_Role_Call

type FeatureInterface_Role_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_Role_Call) Return

func (*FeatureInterface_Role_Call) Run

func (*FeatureInterface_Role_Call) RunAndReturn

type FeatureInterface_SetDescriptionString_Call

type FeatureInterface_SetDescriptionString_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_SetDescriptionString_Call) Return

func (*FeatureInterface_SetDescriptionString_Call) Run

func (*FeatureInterface_SetDescriptionString_Call) RunAndReturn

type FeatureInterface_SetDescription_Call

type FeatureInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_SetDescription_Call) Return

func (*FeatureInterface_SetDescription_Call) Run

func (*FeatureInterface_SetDescription_Call) RunAndReturn

type FeatureInterface_String_Call

type FeatureInterface_String_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_String_Call) Return

func (*FeatureInterface_String_Call) Run

func (*FeatureInterface_String_Call) RunAndReturn

type FeatureInterface_Type_Call

type FeatureInterface_Type_Call struct {
	*mock.Call
}

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

func (*FeatureInterface_Type_Call) Return

func (*FeatureInterface_Type_Call) Run

func (*FeatureInterface_Type_Call) RunAndReturn

type FeatureLocalInterface

type FeatureLocalInterface struct {
	mock.Mock
}

FeatureLocalInterface is an autogenerated mock type for the FeatureLocalInterface type

func NewFeatureLocalInterface

func NewFeatureLocalInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FeatureLocalInterface

NewFeatureLocalInterface creates a new instance of FeatureLocalInterface. 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 (*FeatureLocalInterface) AddFunctionType

func (_m *FeatureLocalInterface) AddFunctionType(function model.FunctionType, read bool, write bool)

AddFunctionType provides a mock function with given fields: function, read, write

func (*FeatureLocalInterface) AddResponseCallback

func (_m *FeatureLocalInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error

AddResponseCallback provides a mock function with given fields: msgCounterReference, function

func (*FeatureLocalInterface) AddResultCallback

func (_m *FeatureLocalInterface) AddResultCallback(function func(api.ResponseMessage))

AddResultCallback provides a mock function with given fields: function

func (*FeatureLocalInterface) Address

Address provides a mock function with given fields:

func (*FeatureLocalInterface) BindToRemote

func (_m *FeatureLocalInterface) BindToRemote(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

BindToRemote provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) DataCopy

func (_m *FeatureLocalInterface) DataCopy(function model.FunctionType) interface{}

DataCopy provides a mock function with given fields: function

func (*FeatureLocalInterface) Description

func (_m *FeatureLocalInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*FeatureLocalInterface) Device

Device provides a mock function with given fields:

func (*FeatureLocalInterface) EXPECT

func (*FeatureLocalInterface) Entity

Entity provides a mock function with given fields:

func (*FeatureLocalInterface) Functions

func (_m *FeatureLocalInterface) Functions() []model.FunctionType

Functions provides a mock function with given fields:

func (*FeatureLocalInterface) HandleMessage

func (_m *FeatureLocalInterface) HandleMessage(message *api.Message) *model.ErrorType

HandleMessage provides a mock function with given fields: message

func (*FeatureLocalInterface) HasBindingToRemote

func (_m *FeatureLocalInterface) HasBindingToRemote(remoteAddress *model.FeatureAddressType) bool

HasBindingToRemote provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) HasSubscriptionToRemote

func (_m *FeatureLocalInterface) HasSubscriptionToRemote(remoteAddress *model.FeatureAddressType) bool

HasSubscriptionToRemote provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) Information

Information provides a mock function with given fields:

func (*FeatureLocalInterface) Operations

Operations provides a mock function with given fields:

func (*FeatureLocalInterface) RemoveAllRemoteBindings

func (_m *FeatureLocalInterface) RemoveAllRemoteBindings()

RemoveAllRemoteBindings provides a mock function with given fields:

func (*FeatureLocalInterface) RemoveAllRemoteSubscriptions

func (_m *FeatureLocalInterface) RemoveAllRemoteSubscriptions()

RemoveAllRemoteSubscriptions provides a mock function with given fields:

func (*FeatureLocalInterface) RemoveRemoteBinding

func (_m *FeatureLocalInterface) RemoveRemoteBinding(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

RemoveRemoteBinding provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) RemoveRemoteSubscription

func (_m *FeatureLocalInterface) RemoveRemoteSubscription(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

RemoveRemoteSubscription provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) RequestRemoteData

func (_m *FeatureLocalInterface) RequestRemoteData(function model.FunctionType, selector interface{}, elements interface{}, destination api.FeatureRemoteInterface) (*model.MsgCounterType, *model.ErrorType)

RequestRemoteData provides a mock function with given fields: function, selector, elements, destination

func (*FeatureLocalInterface) RequestRemoteDataBySenderAddress

func (_m *FeatureLocalInterface) RequestRemoteDataBySenderAddress(cmd model.CmdType, sender api.SenderInterface, destinationSki string, destinationAddress *model.FeatureAddressType, maxDelay time.Duration) (*model.MsgCounterType, *model.ErrorType)

RequestRemoteDataBySenderAddress provides a mock function with given fields: cmd, sender, destinationSki, destinationAddress, maxDelay

func (*FeatureLocalInterface) Role

Role provides a mock function with given fields:

func (*FeatureLocalInterface) SetData

func (_m *FeatureLocalInterface) SetData(function model.FunctionType, data interface{})

SetData provides a mock function with given fields: function, data

func (*FeatureLocalInterface) SetDescription

func (_m *FeatureLocalInterface) SetDescription(desc *model.DescriptionType)

SetDescription provides a mock function with given fields: desc

func (*FeatureLocalInterface) SetDescriptionString

func (_m *FeatureLocalInterface) SetDescriptionString(s string)

SetDescriptionString provides a mock function with given fields: s

func (*FeatureLocalInterface) String

func (_m *FeatureLocalInterface) String() string

String provides a mock function with given fields:

func (*FeatureLocalInterface) SubscribeToRemote

func (_m *FeatureLocalInterface) SubscribeToRemote(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

SubscribeToRemote provides a mock function with given fields: remoteAddress

func (*FeatureLocalInterface) Type

Type provides a mock function with given fields:

type FeatureLocalInterface_AddFunctionType_Call

type FeatureLocalInterface_AddFunctionType_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_AddFunctionType_Call) Return

func (*FeatureLocalInterface_AddFunctionType_Call) Run

func (*FeatureLocalInterface_AddFunctionType_Call) RunAndReturn

type FeatureLocalInterface_AddResponseCallback_Call

type FeatureLocalInterface_AddResponseCallback_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_AddResponseCallback_Call) Return

func (*FeatureLocalInterface_AddResponseCallback_Call) Run

func (*FeatureLocalInterface_AddResponseCallback_Call) RunAndReturn

type FeatureLocalInterface_AddResultCallback_Call

type FeatureLocalInterface_AddResultCallback_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_AddResultCallback_Call) Return

func (*FeatureLocalInterface_AddResultCallback_Call) Run

func (*FeatureLocalInterface_AddResultCallback_Call) RunAndReturn

type FeatureLocalInterface_Address_Call

type FeatureLocalInterface_Address_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Address_Call) Return

func (*FeatureLocalInterface_Address_Call) Run

func (*FeatureLocalInterface_Address_Call) RunAndReturn

type FeatureLocalInterface_BindToRemote_Call

type FeatureLocalInterface_BindToRemote_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_BindToRemote_Call) Return

func (*FeatureLocalInterface_BindToRemote_Call) Run

func (*FeatureLocalInterface_BindToRemote_Call) RunAndReturn

type FeatureLocalInterface_DataCopy_Call

type FeatureLocalInterface_DataCopy_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_DataCopy_Call) Return

func (*FeatureLocalInterface_DataCopy_Call) Run

func (*FeatureLocalInterface_DataCopy_Call) RunAndReturn

type FeatureLocalInterface_Description_Call

type FeatureLocalInterface_Description_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Description_Call) Return

func (*FeatureLocalInterface_Description_Call) Run

func (*FeatureLocalInterface_Description_Call) RunAndReturn

type FeatureLocalInterface_Device_Call

type FeatureLocalInterface_Device_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Device_Call) Return

func (*FeatureLocalInterface_Device_Call) Run

func (*FeatureLocalInterface_Device_Call) RunAndReturn

type FeatureLocalInterface_Entity_Call

type FeatureLocalInterface_Entity_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Entity_Call) Return

func (*FeatureLocalInterface_Entity_Call) Run

func (*FeatureLocalInterface_Entity_Call) RunAndReturn

type FeatureLocalInterface_Expecter

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

func (*FeatureLocalInterface_Expecter) AddFunctionType

func (_e *FeatureLocalInterface_Expecter) AddFunctionType(function interface{}, read interface{}, write interface{}) *FeatureLocalInterface_AddFunctionType_Call

AddFunctionType is a helper method to define mock.On call

  • function model.FunctionType
  • read bool
  • write bool

func (*FeatureLocalInterface_Expecter) AddResponseCallback

func (_e *FeatureLocalInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureLocalInterface_AddResponseCallback_Call

AddResponseCallback is a helper method to define mock.On call

  • msgCounterReference model.MsgCounterType
  • function func(api.ResponseMessage)

func (*FeatureLocalInterface_Expecter) AddResultCallback

func (_e *FeatureLocalInterface_Expecter) AddResultCallback(function interface{}) *FeatureLocalInterface_AddResultCallback_Call

AddResultCallback is a helper method to define mock.On call

  • function func(api.ResponseMessage)

func (*FeatureLocalInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) BindToRemote

func (_e *FeatureLocalInterface_Expecter) BindToRemote(remoteAddress interface{}) *FeatureLocalInterface_BindToRemote_Call

BindToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) DataCopy

func (_e *FeatureLocalInterface_Expecter) DataCopy(function interface{}) *FeatureLocalInterface_DataCopy_Call

DataCopy is a helper method to define mock.On call

  • function model.FunctionType

func (*FeatureLocalInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) Device

Device is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) Entity

Entity is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) Functions

Functions is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) HandleMessage

func (_e *FeatureLocalInterface_Expecter) HandleMessage(message interface{}) *FeatureLocalInterface_HandleMessage_Call

HandleMessage is a helper method to define mock.On call

  • message *api.Message

func (*FeatureLocalInterface_Expecter) HasBindingToRemote

func (_e *FeatureLocalInterface_Expecter) HasBindingToRemote(remoteAddress interface{}) *FeatureLocalInterface_HasBindingToRemote_Call

HasBindingToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) HasSubscriptionToRemote

func (_e *FeatureLocalInterface_Expecter) HasSubscriptionToRemote(remoteAddress interface{}) *FeatureLocalInterface_HasSubscriptionToRemote_Call

HasSubscriptionToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) Information

Information is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) Operations

Operations is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) RemoveAllRemoteBindings

RemoveAllRemoteBindings is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) RemoveAllRemoteSubscriptions

RemoveAllRemoteSubscriptions is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) RemoveRemoteBinding

func (_e *FeatureLocalInterface_Expecter) RemoveRemoteBinding(remoteAddress interface{}) *FeatureLocalInterface_RemoveRemoteBinding_Call

RemoveRemoteBinding is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) RemoveRemoteSubscription

func (_e *FeatureLocalInterface_Expecter) RemoveRemoteSubscription(remoteAddress interface{}) *FeatureLocalInterface_RemoveRemoteSubscription_Call

RemoveRemoteSubscription is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) RequestRemoteData

func (_e *FeatureLocalInterface_Expecter) RequestRemoteData(function interface{}, selector interface{}, elements interface{}, destination interface{}) *FeatureLocalInterface_RequestRemoteData_Call

RequestRemoteData is a helper method to define mock.On call

  • function model.FunctionType
  • selector interface{}
  • elements interface{}
  • destination api.FeatureRemoteInterface

func (*FeatureLocalInterface_Expecter) RequestRemoteDataBySenderAddress

func (_e *FeatureLocalInterface_Expecter) RequestRemoteDataBySenderAddress(cmd interface{}, sender interface{}, destinationSki interface{}, destinationAddress interface{}, maxDelay interface{}) *FeatureLocalInterface_RequestRemoteDataBySenderAddress_Call

RequestRemoteDataBySenderAddress is a helper method to define mock.On call

  • cmd model.CmdType
  • sender api.SenderInterface
  • destinationSki string
  • destinationAddress *model.FeatureAddressType
  • maxDelay time.Duration

func (*FeatureLocalInterface_Expecter) Role

Role is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) SetData

func (_e *FeatureLocalInterface_Expecter) SetData(function interface{}, data interface{}) *FeatureLocalInterface_SetData_Call

SetData is a helper method to define mock.On call

  • function model.FunctionType
  • data interface{}

func (*FeatureLocalInterface_Expecter) SetDescription

func (_e *FeatureLocalInterface_Expecter) SetDescription(desc interface{}) *FeatureLocalInterface_SetDescription_Call

SetDescription is a helper method to define mock.On call

  • desc *model.DescriptionType

func (*FeatureLocalInterface_Expecter) SetDescriptionString

SetDescriptionString is a helper method to define mock.On call

  • s string

func (*FeatureLocalInterface_Expecter) String

String is a helper method to define mock.On call

func (*FeatureLocalInterface_Expecter) SubscribeToRemote

func (_e *FeatureLocalInterface_Expecter) SubscribeToRemote(remoteAddress interface{}) *FeatureLocalInterface_SubscribeToRemote_Call

SubscribeToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*FeatureLocalInterface_Expecter) Type

Type is a helper method to define mock.On call

type FeatureLocalInterface_Functions_Call

type FeatureLocalInterface_Functions_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Functions_Call) Return

func (*FeatureLocalInterface_Functions_Call) Run

func (*FeatureLocalInterface_Functions_Call) RunAndReturn

type FeatureLocalInterface_HandleMessage_Call

type FeatureLocalInterface_HandleMessage_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_HandleMessage_Call) Return

func (*FeatureLocalInterface_HandleMessage_Call) Run

func (*FeatureLocalInterface_HandleMessage_Call) RunAndReturn

type FeatureLocalInterface_HasBindingToRemote_Call

type FeatureLocalInterface_HasBindingToRemote_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_HasBindingToRemote_Call) Return

func (*FeatureLocalInterface_HasBindingToRemote_Call) Run

func (*FeatureLocalInterface_HasBindingToRemote_Call) RunAndReturn

type FeatureLocalInterface_HasSubscriptionToRemote_Call

type FeatureLocalInterface_HasSubscriptionToRemote_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_HasSubscriptionToRemote_Call) Return

func (*FeatureLocalInterface_HasSubscriptionToRemote_Call) Run

func (*FeatureLocalInterface_HasSubscriptionToRemote_Call) RunAndReturn

type FeatureLocalInterface_Information_Call

type FeatureLocalInterface_Information_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Information_Call) Run

type FeatureLocalInterface_Operations_Call

type FeatureLocalInterface_Operations_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Operations_Call) Return

func (*FeatureLocalInterface_Operations_Call) Run

func (*FeatureLocalInterface_Operations_Call) RunAndReturn

type FeatureLocalInterface_RemoveAllRemoteBindings_Call

type FeatureLocalInterface_RemoveAllRemoteBindings_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RemoveAllRemoteBindings_Call) Return

func (*FeatureLocalInterface_RemoveAllRemoteBindings_Call) Run

func (*FeatureLocalInterface_RemoveAllRemoteBindings_Call) RunAndReturn

type FeatureLocalInterface_RemoveAllRemoteSubscriptions_Call

type FeatureLocalInterface_RemoveAllRemoteSubscriptions_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RemoveAllRemoteSubscriptions_Call) Return

func (*FeatureLocalInterface_RemoveAllRemoteSubscriptions_Call) Run

func (*FeatureLocalInterface_RemoveAllRemoteSubscriptions_Call) RunAndReturn

type FeatureLocalInterface_RemoveRemoteBinding_Call

type FeatureLocalInterface_RemoveRemoteBinding_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RemoveRemoteBinding_Call) Return

func (*FeatureLocalInterface_RemoveRemoteBinding_Call) Run

func (*FeatureLocalInterface_RemoveRemoteBinding_Call) RunAndReturn

type FeatureLocalInterface_RemoveRemoteSubscription_Call

type FeatureLocalInterface_RemoveRemoteSubscription_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RemoveRemoteSubscription_Call) Return

func (*FeatureLocalInterface_RemoveRemoteSubscription_Call) Run

type FeatureLocalInterface_RequestRemoteDataBySenderAddress_Call

type FeatureLocalInterface_RequestRemoteDataBySenderAddress_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RequestRemoteDataBySenderAddress_Call) Return

func (*FeatureLocalInterface_RequestRemoteDataBySenderAddress_Call) Run

type FeatureLocalInterface_RequestRemoteData_Call

type FeatureLocalInterface_RequestRemoteData_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_RequestRemoteData_Call) Return

func (*FeatureLocalInterface_RequestRemoteData_Call) Run

func (_c *FeatureLocalInterface_RequestRemoteData_Call) Run(run func(function model.FunctionType, selector interface{}, elements interface{}, destination api.FeatureRemoteInterface)) *FeatureLocalInterface_RequestRemoteData_Call

func (*FeatureLocalInterface_RequestRemoteData_Call) RunAndReturn

type FeatureLocalInterface_Role_Call

type FeatureLocalInterface_Role_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Role_Call) Return

func (*FeatureLocalInterface_Role_Call) Run

func (*FeatureLocalInterface_Role_Call) RunAndReturn

type FeatureLocalInterface_SetData_Call

type FeatureLocalInterface_SetData_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_SetData_Call) Return

func (*FeatureLocalInterface_SetData_Call) Run

func (_c *FeatureLocalInterface_SetData_Call) Run(run func(function model.FunctionType, data interface{})) *FeatureLocalInterface_SetData_Call

func (*FeatureLocalInterface_SetData_Call) RunAndReturn

type FeatureLocalInterface_SetDescriptionString_Call

type FeatureLocalInterface_SetDescriptionString_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_SetDescriptionString_Call) Return

func (*FeatureLocalInterface_SetDescriptionString_Call) Run

func (*FeatureLocalInterface_SetDescriptionString_Call) RunAndReturn

type FeatureLocalInterface_SetDescription_Call

type FeatureLocalInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_SetDescription_Call) Return

func (*FeatureLocalInterface_SetDescription_Call) Run

func (*FeatureLocalInterface_SetDescription_Call) RunAndReturn

type FeatureLocalInterface_String_Call

type FeatureLocalInterface_String_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_String_Call) Return

func (*FeatureLocalInterface_String_Call) Run

func (*FeatureLocalInterface_String_Call) RunAndReturn

type FeatureLocalInterface_SubscribeToRemote_Call

type FeatureLocalInterface_SubscribeToRemote_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_SubscribeToRemote_Call) Return

func (*FeatureLocalInterface_SubscribeToRemote_Call) Run

func (*FeatureLocalInterface_SubscribeToRemote_Call) RunAndReturn

type FeatureLocalInterface_Type_Call

type FeatureLocalInterface_Type_Call struct {
	*mock.Call
}

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

func (*FeatureLocalInterface_Type_Call) Return

func (*FeatureLocalInterface_Type_Call) Run

func (*FeatureLocalInterface_Type_Call) RunAndReturn

type FeatureRemoteInterface

type FeatureRemoteInterface struct {
	mock.Mock
}

FeatureRemoteInterface is an autogenerated mock type for the FeatureRemoteInterface type

func NewFeatureRemoteInterface

func NewFeatureRemoteInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FeatureRemoteInterface

NewFeatureRemoteInterface creates a new instance of FeatureRemoteInterface. 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 (*FeatureRemoteInterface) Address

Address provides a mock function with given fields:

func (*FeatureRemoteInterface) DataCopy

func (_m *FeatureRemoteInterface) DataCopy(function model.FunctionType) interface{}

DataCopy provides a mock function with given fields: function

func (*FeatureRemoteInterface) Description

func (_m *FeatureRemoteInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*FeatureRemoteInterface) Device

Device provides a mock function with given fields:

func (*FeatureRemoteInterface) EXPECT

func (*FeatureRemoteInterface) Entity

Entity provides a mock function with given fields:

func (*FeatureRemoteInterface) MaxResponseDelayDuration

func (_m *FeatureRemoteInterface) MaxResponseDelayDuration() time.Duration

MaxResponseDelayDuration provides a mock function with given fields:

func (*FeatureRemoteInterface) Operations

Operations provides a mock function with given fields:

func (*FeatureRemoteInterface) Role

Role provides a mock function with given fields:

func (*FeatureRemoteInterface) SetDescription

func (_m *FeatureRemoteInterface) SetDescription(desc *model.DescriptionType)

SetDescription provides a mock function with given fields: desc

func (*FeatureRemoteInterface) SetDescriptionString

func (_m *FeatureRemoteInterface) SetDescriptionString(s string)

SetDescriptionString provides a mock function with given fields: s

func (*FeatureRemoteInterface) SetMaxResponseDelay

func (_m *FeatureRemoteInterface) SetMaxResponseDelay(delay *model.MaxResponseDelayType)

SetMaxResponseDelay provides a mock function with given fields: delay

func (*FeatureRemoteInterface) SetOperations

func (_m *FeatureRemoteInterface) SetOperations(functions []model.FunctionPropertyType)

SetOperations provides a mock function with given fields: functions

func (*FeatureRemoteInterface) String

func (_m *FeatureRemoteInterface) String() string

String provides a mock function with given fields:

func (*FeatureRemoteInterface) Type

Type provides a mock function with given fields:

func (*FeatureRemoteInterface) UpdateData

func (_m *FeatureRemoteInterface) UpdateData(function model.FunctionType, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType) *model.ErrorType

UpdateData provides a mock function with given fields: function, data, filterPartial, filterDelete

type FeatureRemoteInterface_Address_Call

type FeatureRemoteInterface_Address_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Address_Call) Return

func (*FeatureRemoteInterface_Address_Call) Run

func (*FeatureRemoteInterface_Address_Call) RunAndReturn

type FeatureRemoteInterface_DataCopy_Call

type FeatureRemoteInterface_DataCopy_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_DataCopy_Call) Return

func (*FeatureRemoteInterface_DataCopy_Call) Run

func (*FeatureRemoteInterface_DataCopy_Call) RunAndReturn

type FeatureRemoteInterface_Description_Call

type FeatureRemoteInterface_Description_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Description_Call) Return

func (*FeatureRemoteInterface_Description_Call) Run

func (*FeatureRemoteInterface_Description_Call) RunAndReturn

type FeatureRemoteInterface_Device_Call

type FeatureRemoteInterface_Device_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Device_Call) Return

func (*FeatureRemoteInterface_Device_Call) Run

func (*FeatureRemoteInterface_Device_Call) RunAndReturn

type FeatureRemoteInterface_Entity_Call

type FeatureRemoteInterface_Entity_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Entity_Call) Return

func (*FeatureRemoteInterface_Entity_Call) Run

func (*FeatureRemoteInterface_Entity_Call) RunAndReturn

type FeatureRemoteInterface_Expecter

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

func (*FeatureRemoteInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) DataCopy

func (_e *FeatureRemoteInterface_Expecter) DataCopy(function interface{}) *FeatureRemoteInterface_DataCopy_Call

DataCopy is a helper method to define mock.On call

  • function model.FunctionType

func (*FeatureRemoteInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) Device

Device is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) Entity

Entity is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) MaxResponseDelayDuration

MaxResponseDelayDuration is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) Operations

Operations is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) Role

Role is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) SetDescription

SetDescription is a helper method to define mock.On call

  • desc *model.DescriptionType

func (*FeatureRemoteInterface_Expecter) SetDescriptionString

SetDescriptionString is a helper method to define mock.On call

  • s string

func (*FeatureRemoteInterface_Expecter) SetMaxResponseDelay

func (_e *FeatureRemoteInterface_Expecter) SetMaxResponseDelay(delay interface{}) *FeatureRemoteInterface_SetMaxResponseDelay_Call

SetMaxResponseDelay is a helper method to define mock.On call

  • delay *model.MaxResponseDelayType

func (*FeatureRemoteInterface_Expecter) SetOperations

func (_e *FeatureRemoteInterface_Expecter) SetOperations(functions interface{}) *FeatureRemoteInterface_SetOperations_Call

SetOperations is a helper method to define mock.On call

  • functions []model.FunctionPropertyType

func (*FeatureRemoteInterface_Expecter) String

String is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) Type

Type is a helper method to define mock.On call

func (*FeatureRemoteInterface_Expecter) UpdateData

func (_e *FeatureRemoteInterface_Expecter) UpdateData(function interface{}, data interface{}, filterPartial interface{}, filterDelete interface{}) *FeatureRemoteInterface_UpdateData_Call

UpdateData is a helper method to define mock.On call

  • function model.FunctionType
  • data interface{}
  • filterPartial *model.FilterType
  • filterDelete *model.FilterType

type FeatureRemoteInterface_MaxResponseDelayDuration_Call

type FeatureRemoteInterface_MaxResponseDelayDuration_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_MaxResponseDelayDuration_Call) Return

func (*FeatureRemoteInterface_MaxResponseDelayDuration_Call) Run

func (*FeatureRemoteInterface_MaxResponseDelayDuration_Call) RunAndReturn

type FeatureRemoteInterface_Operations_Call

type FeatureRemoteInterface_Operations_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Operations_Call) Return

func (*FeatureRemoteInterface_Operations_Call) Run

func (*FeatureRemoteInterface_Operations_Call) RunAndReturn

type FeatureRemoteInterface_Role_Call

type FeatureRemoteInterface_Role_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Role_Call) Return

func (*FeatureRemoteInterface_Role_Call) Run

func (*FeatureRemoteInterface_Role_Call) RunAndReturn

type FeatureRemoteInterface_SetDescriptionString_Call

type FeatureRemoteInterface_SetDescriptionString_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_SetDescriptionString_Call) Return

func (*FeatureRemoteInterface_SetDescriptionString_Call) Run

func (*FeatureRemoteInterface_SetDescriptionString_Call) RunAndReturn

type FeatureRemoteInterface_SetDescription_Call

type FeatureRemoteInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_SetDescription_Call) Return

func (*FeatureRemoteInterface_SetDescription_Call) Run

func (*FeatureRemoteInterface_SetDescription_Call) RunAndReturn

type FeatureRemoteInterface_SetMaxResponseDelay_Call

type FeatureRemoteInterface_SetMaxResponseDelay_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_SetMaxResponseDelay_Call) Return

func (*FeatureRemoteInterface_SetMaxResponseDelay_Call) Run

func (*FeatureRemoteInterface_SetMaxResponseDelay_Call) RunAndReturn

type FeatureRemoteInterface_SetOperations_Call

type FeatureRemoteInterface_SetOperations_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_SetOperations_Call) Return

func (*FeatureRemoteInterface_SetOperations_Call) Run

func (*FeatureRemoteInterface_SetOperations_Call) RunAndReturn

type FeatureRemoteInterface_String_Call

type FeatureRemoteInterface_String_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_String_Call) Return

func (*FeatureRemoteInterface_String_Call) Run

func (*FeatureRemoteInterface_String_Call) RunAndReturn

type FeatureRemoteInterface_Type_Call

type FeatureRemoteInterface_Type_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_Type_Call) Return

func (*FeatureRemoteInterface_Type_Call) Run

func (*FeatureRemoteInterface_Type_Call) RunAndReturn

type FeatureRemoteInterface_UpdateData_Call

type FeatureRemoteInterface_UpdateData_Call struct {
	*mock.Call
}

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

func (*FeatureRemoteInterface_UpdateData_Call) Return

func (*FeatureRemoteInterface_UpdateData_Call) Run

func (_c *FeatureRemoteInterface_UpdateData_Call) Run(run func(function model.FunctionType, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType)) *FeatureRemoteInterface_UpdateData_Call

func (*FeatureRemoteInterface_UpdateData_Call) RunAndReturn

type FunctionDataCmdInterface

type FunctionDataCmdInterface struct {
	mock.Mock
}

FunctionDataCmdInterface is an autogenerated mock type for the FunctionDataCmdInterface type

func NewFunctionDataCmdInterface

func NewFunctionDataCmdInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FunctionDataCmdInterface

NewFunctionDataCmdInterface creates a new instance of FunctionDataCmdInterface. 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 (*FunctionDataCmdInterface) DataCopyAny

func (_m *FunctionDataCmdInterface) DataCopyAny() interface{}

DataCopyAny provides a mock function with given fields:

func (*FunctionDataCmdInterface) EXPECT

func (*FunctionDataCmdInterface) FunctionType

func (_m *FunctionDataCmdInterface) FunctionType() model.FunctionType

FunctionType provides a mock function with given fields:

func (*FunctionDataCmdInterface) NotifyOrWriteCmdType

func (_m *FunctionDataCmdInterface) NotifyOrWriteCmdType(deleteSelector interface{}, partialSelector interface{}, partialWithoutSelector bool, deleteElements interface{}) model.CmdType

NotifyOrWriteCmdType provides a mock function with given fields: deleteSelector, partialSelector, partialWithoutSelector, deleteElements

func (*FunctionDataCmdInterface) ReadCmdType

func (_m *FunctionDataCmdInterface) ReadCmdType(partialSelector interface{}, elements interface{}) model.CmdType

ReadCmdType provides a mock function with given fields: partialSelector, elements

func (*FunctionDataCmdInterface) ReplyCmdType

func (_m *FunctionDataCmdInterface) ReplyCmdType(partial bool) model.CmdType

ReplyCmdType provides a mock function with given fields: partial

func (*FunctionDataCmdInterface) UpdateDataAny

func (_m *FunctionDataCmdInterface) UpdateDataAny(remoteWrite bool, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType) *model.ErrorType

UpdateDataAny provides a mock function with given fields: remoteWrite, data, filterPartial, filterDelete

type FunctionDataCmdInterface_DataCopyAny_Call

type FunctionDataCmdInterface_DataCopyAny_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_DataCopyAny_Call) Return

func (*FunctionDataCmdInterface_DataCopyAny_Call) Run

func (*FunctionDataCmdInterface_DataCopyAny_Call) RunAndReturn

type FunctionDataCmdInterface_Expecter

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

func (*FunctionDataCmdInterface_Expecter) DataCopyAny

DataCopyAny is a helper method to define mock.On call

func (*FunctionDataCmdInterface_Expecter) FunctionType

FunctionType is a helper method to define mock.On call

func (*FunctionDataCmdInterface_Expecter) NotifyOrWriteCmdType

func (_e *FunctionDataCmdInterface_Expecter) NotifyOrWriteCmdType(deleteSelector interface{}, partialSelector interface{}, partialWithoutSelector interface{}, deleteElements interface{}) *FunctionDataCmdInterface_NotifyOrWriteCmdType_Call

NotifyOrWriteCmdType is a helper method to define mock.On call

  • deleteSelector interface{}
  • partialSelector interface{}
  • partialWithoutSelector bool
  • deleteElements interface{}

func (*FunctionDataCmdInterface_Expecter) ReadCmdType

func (_e *FunctionDataCmdInterface_Expecter) ReadCmdType(partialSelector interface{}, elements interface{}) *FunctionDataCmdInterface_ReadCmdType_Call

ReadCmdType is a helper method to define mock.On call

  • partialSelector interface{}
  • elements interface{}

func (*FunctionDataCmdInterface_Expecter) ReplyCmdType

ReplyCmdType is a helper method to define mock.On call

  • partial bool

func (*FunctionDataCmdInterface_Expecter) UpdateDataAny

func (_e *FunctionDataCmdInterface_Expecter) UpdateDataAny(remoteWrite interface{}, data interface{}, filterPartial interface{}, filterDelete interface{}) *FunctionDataCmdInterface_UpdateDataAny_Call

UpdateDataAny is a helper method to define mock.On call

  • remoteWrite bool
  • data interface{}
  • filterPartial *model.FilterType
  • filterDelete *model.FilterType

type FunctionDataCmdInterface_FunctionType_Call

type FunctionDataCmdInterface_FunctionType_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_FunctionType_Call) Return

func (*FunctionDataCmdInterface_FunctionType_Call) Run

func (*FunctionDataCmdInterface_FunctionType_Call) RunAndReturn

type FunctionDataCmdInterface_NotifyOrWriteCmdType_Call

type FunctionDataCmdInterface_NotifyOrWriteCmdType_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_NotifyOrWriteCmdType_Call) Return

func (*FunctionDataCmdInterface_NotifyOrWriteCmdType_Call) Run

func (_c *FunctionDataCmdInterface_NotifyOrWriteCmdType_Call) Run(run func(deleteSelector interface{}, partialSelector interface{}, partialWithoutSelector bool, deleteElements interface{})) *FunctionDataCmdInterface_NotifyOrWriteCmdType_Call

func (*FunctionDataCmdInterface_NotifyOrWriteCmdType_Call) RunAndReturn

func (_c *FunctionDataCmdInterface_NotifyOrWriteCmdType_Call) RunAndReturn(run func(interface{}, interface{}, bool, interface{}) model.CmdType) *FunctionDataCmdInterface_NotifyOrWriteCmdType_Call

type FunctionDataCmdInterface_ReadCmdType_Call

type FunctionDataCmdInterface_ReadCmdType_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_ReadCmdType_Call) Return

func (*FunctionDataCmdInterface_ReadCmdType_Call) Run

func (_c *FunctionDataCmdInterface_ReadCmdType_Call) Run(run func(partialSelector interface{}, elements interface{})) *FunctionDataCmdInterface_ReadCmdType_Call

func (*FunctionDataCmdInterface_ReadCmdType_Call) RunAndReturn

func (_c *FunctionDataCmdInterface_ReadCmdType_Call) RunAndReturn(run func(interface{}, interface{}) model.CmdType) *FunctionDataCmdInterface_ReadCmdType_Call

type FunctionDataCmdInterface_ReplyCmdType_Call

type FunctionDataCmdInterface_ReplyCmdType_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_ReplyCmdType_Call) Return

func (*FunctionDataCmdInterface_ReplyCmdType_Call) Run

func (*FunctionDataCmdInterface_ReplyCmdType_Call) RunAndReturn

type FunctionDataCmdInterface_UpdateDataAny_Call

type FunctionDataCmdInterface_UpdateDataAny_Call struct {
	*mock.Call
}

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

func (*FunctionDataCmdInterface_UpdateDataAny_Call) Return

func (*FunctionDataCmdInterface_UpdateDataAny_Call) Run

func (_c *FunctionDataCmdInterface_UpdateDataAny_Call) Run(run func(remoteWrite bool, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType)) *FunctionDataCmdInterface_UpdateDataAny_Call

func (*FunctionDataCmdInterface_UpdateDataAny_Call) RunAndReturn

type FunctionDataInterface

type FunctionDataInterface struct {
	mock.Mock
}

FunctionDataInterface is an autogenerated mock type for the FunctionDataInterface type

func NewFunctionDataInterface

func NewFunctionDataInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FunctionDataInterface

NewFunctionDataInterface creates a new instance of FunctionDataInterface. 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 (*FunctionDataInterface) DataCopyAny

func (_m *FunctionDataInterface) DataCopyAny() interface{}

DataCopyAny provides a mock function with given fields:

func (*FunctionDataInterface) EXPECT

func (*FunctionDataInterface) FunctionType

func (_m *FunctionDataInterface) FunctionType() model.FunctionType

FunctionType provides a mock function with given fields:

func (*FunctionDataInterface) UpdateDataAny

func (_m *FunctionDataInterface) UpdateDataAny(remoteWrite bool, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType) *model.ErrorType

UpdateDataAny provides a mock function with given fields: remoteWrite, data, filterPartial, filterDelete

type FunctionDataInterface_DataCopyAny_Call

type FunctionDataInterface_DataCopyAny_Call struct {
	*mock.Call
}

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

func (*FunctionDataInterface_DataCopyAny_Call) Return

func (*FunctionDataInterface_DataCopyAny_Call) Run

func (*FunctionDataInterface_DataCopyAny_Call) RunAndReturn

func (_c *FunctionDataInterface_DataCopyAny_Call) RunAndReturn(run func() interface{}) *FunctionDataInterface_DataCopyAny_Call

type FunctionDataInterface_Expecter

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

func (*FunctionDataInterface_Expecter) DataCopyAny

DataCopyAny is a helper method to define mock.On call

func (*FunctionDataInterface_Expecter) FunctionType

FunctionType is a helper method to define mock.On call

func (*FunctionDataInterface_Expecter) UpdateDataAny

func (_e *FunctionDataInterface_Expecter) UpdateDataAny(remoteWrite interface{}, data interface{}, filterPartial interface{}, filterDelete interface{}) *FunctionDataInterface_UpdateDataAny_Call

UpdateDataAny is a helper method to define mock.On call

  • remoteWrite bool
  • data interface{}
  • filterPartial *model.FilterType
  • filterDelete *model.FilterType

type FunctionDataInterface_FunctionType_Call

type FunctionDataInterface_FunctionType_Call struct {
	*mock.Call
}

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

func (*FunctionDataInterface_FunctionType_Call) Return

func (*FunctionDataInterface_FunctionType_Call) Run

func (*FunctionDataInterface_FunctionType_Call) RunAndReturn

type FunctionDataInterface_UpdateDataAny_Call

type FunctionDataInterface_UpdateDataAny_Call struct {
	*mock.Call
}

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

func (*FunctionDataInterface_UpdateDataAny_Call) Return

func (*FunctionDataInterface_UpdateDataAny_Call) Run

func (_c *FunctionDataInterface_UpdateDataAny_Call) Run(run func(remoteWrite bool, data interface{}, filterPartial *model.FilterType, filterDelete *model.FilterType)) *FunctionDataInterface_UpdateDataAny_Call

func (*FunctionDataInterface_UpdateDataAny_Call) RunAndReturn

type HeartbeatManagerInterface

type HeartbeatManagerInterface struct {
	mock.Mock
}

HeartbeatManagerInterface is an autogenerated mock type for the HeartbeatManagerInterface type

func NewHeartbeatManagerInterface

func NewHeartbeatManagerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *HeartbeatManagerInterface

NewHeartbeatManagerInterface creates a new instance of HeartbeatManagerInterface. 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 (*HeartbeatManagerInterface) EXPECT

func (*HeartbeatManagerInterface) IsHeartbeatRunning

func (_m *HeartbeatManagerInterface) IsHeartbeatRunning() bool

IsHeartbeatRunning provides a mock function with given fields:

func (*HeartbeatManagerInterface) SetLocalFeature

func (_m *HeartbeatManagerInterface) SetLocalFeature(entity api.EntityLocalInterface, feature api.FeatureLocalInterface)

SetLocalFeature provides a mock function with given fields: entity, feature

func (*HeartbeatManagerInterface) StartHeartbeat

func (_m *HeartbeatManagerInterface) StartHeartbeat() error

StartHeartbeat provides a mock function with given fields:

func (*HeartbeatManagerInterface) StopHeartbeat

func (_m *HeartbeatManagerInterface) StopHeartbeat()

StopHeartbeat provides a mock function with given fields:

type HeartbeatManagerInterface_Expecter

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

func (*HeartbeatManagerInterface_Expecter) IsHeartbeatRunning

IsHeartbeatRunning is a helper method to define mock.On call

func (*HeartbeatManagerInterface_Expecter) SetLocalFeature

func (_e *HeartbeatManagerInterface_Expecter) SetLocalFeature(entity interface{}, feature interface{}) *HeartbeatManagerInterface_SetLocalFeature_Call

SetLocalFeature is a helper method to define mock.On call

  • entity api.EntityLocalInterface
  • feature api.FeatureLocalInterface

func (*HeartbeatManagerInterface_Expecter) StartHeartbeat

StartHeartbeat is a helper method to define mock.On call

func (*HeartbeatManagerInterface_Expecter) StopHeartbeat

StopHeartbeat is a helper method to define mock.On call

type HeartbeatManagerInterface_IsHeartbeatRunning_Call

type HeartbeatManagerInterface_IsHeartbeatRunning_Call struct {
	*mock.Call
}

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

func (*HeartbeatManagerInterface_IsHeartbeatRunning_Call) Return

func (*HeartbeatManagerInterface_IsHeartbeatRunning_Call) Run

func (*HeartbeatManagerInterface_IsHeartbeatRunning_Call) RunAndReturn

type HeartbeatManagerInterface_SetLocalFeature_Call

type HeartbeatManagerInterface_SetLocalFeature_Call struct {
	*mock.Call
}

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

func (*HeartbeatManagerInterface_SetLocalFeature_Call) Return

func (*HeartbeatManagerInterface_SetLocalFeature_Call) Run

type HeartbeatManagerInterface_StartHeartbeat_Call

type HeartbeatManagerInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*HeartbeatManagerInterface_StartHeartbeat_Call) Return

func (*HeartbeatManagerInterface_StartHeartbeat_Call) Run

func (*HeartbeatManagerInterface_StartHeartbeat_Call) RunAndReturn

type HeartbeatManagerInterface_StopHeartbeat_Call

type HeartbeatManagerInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*HeartbeatManagerInterface_StopHeartbeat_Call) Return

func (*HeartbeatManagerInterface_StopHeartbeat_Call) Run

func (*HeartbeatManagerInterface_StopHeartbeat_Call) RunAndReturn

type NodeManagementInterface

type NodeManagementInterface struct {
	mock.Mock
}

NodeManagementInterface is an autogenerated mock type for the NodeManagementInterface type

func NewNodeManagementInterface

func NewNodeManagementInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *NodeManagementInterface

NewNodeManagementInterface creates a new instance of NodeManagementInterface. 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 (*NodeManagementInterface) AddFunctionType

func (_m *NodeManagementInterface) AddFunctionType(function model.FunctionType, read bool, write bool)

AddFunctionType provides a mock function with given fields: function, read, write

func (*NodeManagementInterface) AddResponseCallback

func (_m *NodeManagementInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error

AddResponseCallback provides a mock function with given fields: msgCounterReference, function

func (*NodeManagementInterface) AddResultCallback

func (_m *NodeManagementInterface) AddResultCallback(function func(api.ResponseMessage))

AddResultCallback provides a mock function with given fields: function

func (*NodeManagementInterface) Address

Address provides a mock function with given fields:

func (*NodeManagementInterface) BindToRemote

func (_m *NodeManagementInterface) BindToRemote(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

BindToRemote provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) DataCopy

func (_m *NodeManagementInterface) DataCopy(function model.FunctionType) interface{}

DataCopy provides a mock function with given fields: function

func (*NodeManagementInterface) Description

func (_m *NodeManagementInterface) Description() *model.DescriptionType

Description provides a mock function with given fields:

func (*NodeManagementInterface) Device

Device provides a mock function with given fields:

func (*NodeManagementInterface) EXPECT

func (*NodeManagementInterface) Entity

Entity provides a mock function with given fields:

func (*NodeManagementInterface) Functions

func (_m *NodeManagementInterface) Functions() []model.FunctionType

Functions provides a mock function with given fields:

func (*NodeManagementInterface) HandleMessage

func (_m *NodeManagementInterface) HandleMessage(message *api.Message) *model.ErrorType

HandleMessage provides a mock function with given fields: message

func (*NodeManagementInterface) HasBindingToRemote

func (_m *NodeManagementInterface) HasBindingToRemote(remoteAddress *model.FeatureAddressType) bool

HasBindingToRemote provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) HasSubscriptionToRemote

func (_m *NodeManagementInterface) HasSubscriptionToRemote(remoteAddress *model.FeatureAddressType) bool

HasSubscriptionToRemote provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) Information

Information provides a mock function with given fields:

func (*NodeManagementInterface) Operations

Operations provides a mock function with given fields:

func (*NodeManagementInterface) RemoveAllRemoteBindings

func (_m *NodeManagementInterface) RemoveAllRemoteBindings()

RemoveAllRemoteBindings provides a mock function with given fields:

func (*NodeManagementInterface) RemoveAllRemoteSubscriptions

func (_m *NodeManagementInterface) RemoveAllRemoteSubscriptions()

RemoveAllRemoteSubscriptions provides a mock function with given fields:

func (*NodeManagementInterface) RemoveRemoteBinding

func (_m *NodeManagementInterface) RemoveRemoteBinding(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

RemoveRemoteBinding provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) RemoveRemoteSubscription

func (_m *NodeManagementInterface) RemoveRemoteSubscription(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

RemoveRemoteSubscription provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) RequestRemoteData

func (_m *NodeManagementInterface) RequestRemoteData(function model.FunctionType, selector interface{}, elements interface{}, destination api.FeatureRemoteInterface) (*model.MsgCounterType, *model.ErrorType)

RequestRemoteData provides a mock function with given fields: function, selector, elements, destination

func (*NodeManagementInterface) RequestRemoteDataBySenderAddress

func (_m *NodeManagementInterface) RequestRemoteDataBySenderAddress(cmd model.CmdType, sender api.SenderInterface, destinationSki string, destinationAddress *model.FeatureAddressType, maxDelay time.Duration) (*model.MsgCounterType, *model.ErrorType)

RequestRemoteDataBySenderAddress provides a mock function with given fields: cmd, sender, destinationSki, destinationAddress, maxDelay

func (*NodeManagementInterface) Role

Role provides a mock function with given fields:

func (*NodeManagementInterface) SetData

func (_m *NodeManagementInterface) SetData(function model.FunctionType, data interface{})

SetData provides a mock function with given fields: function, data

func (*NodeManagementInterface) SetDescription

func (_m *NodeManagementInterface) SetDescription(desc *model.DescriptionType)

SetDescription provides a mock function with given fields: desc

func (*NodeManagementInterface) SetDescriptionString

func (_m *NodeManagementInterface) SetDescriptionString(s string)

SetDescriptionString provides a mock function with given fields: s

func (*NodeManagementInterface) String

func (_m *NodeManagementInterface) String() string

String provides a mock function with given fields:

func (*NodeManagementInterface) SubscribeToRemote

func (_m *NodeManagementInterface) SubscribeToRemote(remoteAddress *model.FeatureAddressType) (*model.MsgCounterType, *model.ErrorType)

SubscribeToRemote provides a mock function with given fields: remoteAddress

func (*NodeManagementInterface) Type

Type provides a mock function with given fields:

type NodeManagementInterface_AddFunctionType_Call

type NodeManagementInterface_AddFunctionType_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_AddFunctionType_Call) Return

func (*NodeManagementInterface_AddFunctionType_Call) Run

func (*NodeManagementInterface_AddFunctionType_Call) RunAndReturn

type NodeManagementInterface_AddResponseCallback_Call

type NodeManagementInterface_AddResponseCallback_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_AddResponseCallback_Call) Return

func (*NodeManagementInterface_AddResponseCallback_Call) Run

func (*NodeManagementInterface_AddResponseCallback_Call) RunAndReturn

type NodeManagementInterface_AddResultCallback_Call

type NodeManagementInterface_AddResultCallback_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_AddResultCallback_Call) Return

func (*NodeManagementInterface_AddResultCallback_Call) Run

func (*NodeManagementInterface_AddResultCallback_Call) RunAndReturn

type NodeManagementInterface_Address_Call

type NodeManagementInterface_Address_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Address_Call) Return

func (*NodeManagementInterface_Address_Call) Run

func (*NodeManagementInterface_Address_Call) RunAndReturn

type NodeManagementInterface_BindToRemote_Call

type NodeManagementInterface_BindToRemote_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_BindToRemote_Call) Return

func (*NodeManagementInterface_BindToRemote_Call) Run

func (*NodeManagementInterface_BindToRemote_Call) RunAndReturn

type NodeManagementInterface_DataCopy_Call

type NodeManagementInterface_DataCopy_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_DataCopy_Call) Return

func (*NodeManagementInterface_DataCopy_Call) Run

func (*NodeManagementInterface_DataCopy_Call) RunAndReturn

type NodeManagementInterface_Description_Call

type NodeManagementInterface_Description_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Description_Call) Return

func (*NodeManagementInterface_Description_Call) Run

func (*NodeManagementInterface_Description_Call) RunAndReturn

type NodeManagementInterface_Device_Call

type NodeManagementInterface_Device_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Device_Call) Return

func (*NodeManagementInterface_Device_Call) Run

func (*NodeManagementInterface_Device_Call) RunAndReturn

type NodeManagementInterface_Entity_Call

type NodeManagementInterface_Entity_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Entity_Call) Return

func (*NodeManagementInterface_Entity_Call) Run

func (*NodeManagementInterface_Entity_Call) RunAndReturn

type NodeManagementInterface_Expecter

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

func (*NodeManagementInterface_Expecter) AddFunctionType

func (_e *NodeManagementInterface_Expecter) AddFunctionType(function interface{}, read interface{}, write interface{}) *NodeManagementInterface_AddFunctionType_Call

AddFunctionType is a helper method to define mock.On call

  • function model.FunctionType
  • read bool
  • write bool

func (*NodeManagementInterface_Expecter) AddResponseCallback

func (_e *NodeManagementInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *NodeManagementInterface_AddResponseCallback_Call

AddResponseCallback is a helper method to define mock.On call

  • msgCounterReference model.MsgCounterType
  • function func(api.ResponseMessage)

func (*NodeManagementInterface_Expecter) AddResultCallback

func (_e *NodeManagementInterface_Expecter) AddResultCallback(function interface{}) *NodeManagementInterface_AddResultCallback_Call

AddResultCallback is a helper method to define mock.On call

  • function func(api.ResponseMessage)

func (*NodeManagementInterface_Expecter) Address

Address is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) BindToRemote

func (_e *NodeManagementInterface_Expecter) BindToRemote(remoteAddress interface{}) *NodeManagementInterface_BindToRemote_Call

BindToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) DataCopy

func (_e *NodeManagementInterface_Expecter) DataCopy(function interface{}) *NodeManagementInterface_DataCopy_Call

DataCopy is a helper method to define mock.On call

  • function model.FunctionType

func (*NodeManagementInterface_Expecter) Description

Description is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) Device

Device is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) Entity

Entity is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) Functions

Functions is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) HandleMessage

func (_e *NodeManagementInterface_Expecter) HandleMessage(message interface{}) *NodeManagementInterface_HandleMessage_Call

HandleMessage is a helper method to define mock.On call

  • message *api.Message

func (*NodeManagementInterface_Expecter) HasBindingToRemote

func (_e *NodeManagementInterface_Expecter) HasBindingToRemote(remoteAddress interface{}) *NodeManagementInterface_HasBindingToRemote_Call

HasBindingToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) HasSubscriptionToRemote

func (_e *NodeManagementInterface_Expecter) HasSubscriptionToRemote(remoteAddress interface{}) *NodeManagementInterface_HasSubscriptionToRemote_Call

HasSubscriptionToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) Information

Information is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) Operations

Operations is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) RemoveAllRemoteBindings

RemoveAllRemoteBindings is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) RemoveAllRemoteSubscriptions

RemoveAllRemoteSubscriptions is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) RemoveRemoteBinding

func (_e *NodeManagementInterface_Expecter) RemoveRemoteBinding(remoteAddress interface{}) *NodeManagementInterface_RemoveRemoteBinding_Call

RemoveRemoteBinding is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) RemoveRemoteSubscription

func (_e *NodeManagementInterface_Expecter) RemoveRemoteSubscription(remoteAddress interface{}) *NodeManagementInterface_RemoveRemoteSubscription_Call

RemoveRemoteSubscription is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) RequestRemoteData

func (_e *NodeManagementInterface_Expecter) RequestRemoteData(function interface{}, selector interface{}, elements interface{}, destination interface{}) *NodeManagementInterface_RequestRemoteData_Call

RequestRemoteData is a helper method to define mock.On call

  • function model.FunctionType
  • selector interface{}
  • elements interface{}
  • destination api.FeatureRemoteInterface

func (*NodeManagementInterface_Expecter) RequestRemoteDataBySenderAddress

func (_e *NodeManagementInterface_Expecter) RequestRemoteDataBySenderAddress(cmd interface{}, sender interface{}, destinationSki interface{}, destinationAddress interface{}, maxDelay interface{}) *NodeManagementInterface_RequestRemoteDataBySenderAddress_Call

RequestRemoteDataBySenderAddress is a helper method to define mock.On call

  • cmd model.CmdType
  • sender api.SenderInterface
  • destinationSki string
  • destinationAddress *model.FeatureAddressType
  • maxDelay time.Duration

func (*NodeManagementInterface_Expecter) Role

Role is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) SetData

func (_e *NodeManagementInterface_Expecter) SetData(function interface{}, data interface{}) *NodeManagementInterface_SetData_Call

SetData is a helper method to define mock.On call

  • function model.FunctionType
  • data interface{}

func (*NodeManagementInterface_Expecter) SetDescription

SetDescription is a helper method to define mock.On call

  • desc *model.DescriptionType

func (*NodeManagementInterface_Expecter) SetDescriptionString

SetDescriptionString is a helper method to define mock.On call

  • s string

func (*NodeManagementInterface_Expecter) String

String is a helper method to define mock.On call

func (*NodeManagementInterface_Expecter) SubscribeToRemote

func (_e *NodeManagementInterface_Expecter) SubscribeToRemote(remoteAddress interface{}) *NodeManagementInterface_SubscribeToRemote_Call

SubscribeToRemote is a helper method to define mock.On call

  • remoteAddress *model.FeatureAddressType

func (*NodeManagementInterface_Expecter) Type

Type is a helper method to define mock.On call

type NodeManagementInterface_Functions_Call

type NodeManagementInterface_Functions_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Functions_Call) Return

func (*NodeManagementInterface_Functions_Call) Run

func (*NodeManagementInterface_Functions_Call) RunAndReturn

type NodeManagementInterface_HandleMessage_Call

type NodeManagementInterface_HandleMessage_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_HandleMessage_Call) Return

func (*NodeManagementInterface_HandleMessage_Call) Run

func (*NodeManagementInterface_HandleMessage_Call) RunAndReturn

type NodeManagementInterface_HasBindingToRemote_Call

type NodeManagementInterface_HasBindingToRemote_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_HasBindingToRemote_Call) Return

func (*NodeManagementInterface_HasBindingToRemote_Call) Run

func (*NodeManagementInterface_HasBindingToRemote_Call) RunAndReturn

type NodeManagementInterface_HasSubscriptionToRemote_Call

type NodeManagementInterface_HasSubscriptionToRemote_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_HasSubscriptionToRemote_Call) Return

func (*NodeManagementInterface_HasSubscriptionToRemote_Call) Run

func (*NodeManagementInterface_HasSubscriptionToRemote_Call) RunAndReturn

type NodeManagementInterface_Information_Call

type NodeManagementInterface_Information_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Information_Call) Run

type NodeManagementInterface_Operations_Call

type NodeManagementInterface_Operations_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Operations_Call) Return

func (*NodeManagementInterface_Operations_Call) Run

func (*NodeManagementInterface_Operations_Call) RunAndReturn

type NodeManagementInterface_RemoveAllRemoteBindings_Call

type NodeManagementInterface_RemoveAllRemoteBindings_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RemoveAllRemoteBindings_Call) Return

func (*NodeManagementInterface_RemoveAllRemoteBindings_Call) Run

func (*NodeManagementInterface_RemoveAllRemoteBindings_Call) RunAndReturn

type NodeManagementInterface_RemoveAllRemoteSubscriptions_Call

type NodeManagementInterface_RemoveAllRemoteSubscriptions_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RemoveAllRemoteSubscriptions_Call) Return

func (*NodeManagementInterface_RemoveAllRemoteSubscriptions_Call) Run

func (*NodeManagementInterface_RemoveAllRemoteSubscriptions_Call) RunAndReturn

type NodeManagementInterface_RemoveRemoteBinding_Call

type NodeManagementInterface_RemoveRemoteBinding_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RemoveRemoteBinding_Call) Return

func (*NodeManagementInterface_RemoveRemoteBinding_Call) Run

type NodeManagementInterface_RemoveRemoteSubscription_Call

type NodeManagementInterface_RemoveRemoteSubscription_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RemoveRemoteSubscription_Call) Return

func (*NodeManagementInterface_RemoveRemoteSubscription_Call) Run

type NodeManagementInterface_RequestRemoteDataBySenderAddress_Call

type NodeManagementInterface_RequestRemoteDataBySenderAddress_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RequestRemoteDataBySenderAddress_Call) Return

func (*NodeManagementInterface_RequestRemoteDataBySenderAddress_Call) Run

type NodeManagementInterface_RequestRemoteData_Call

type NodeManagementInterface_RequestRemoteData_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_RequestRemoteData_Call) Return

func (*NodeManagementInterface_RequestRemoteData_Call) Run

func (_c *NodeManagementInterface_RequestRemoteData_Call) Run(run func(function model.FunctionType, selector interface{}, elements interface{}, destination api.FeatureRemoteInterface)) *NodeManagementInterface_RequestRemoteData_Call

func (*NodeManagementInterface_RequestRemoteData_Call) RunAndReturn

type NodeManagementInterface_Role_Call

type NodeManagementInterface_Role_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Role_Call) Return

func (*NodeManagementInterface_Role_Call) Run

func (*NodeManagementInterface_Role_Call) RunAndReturn

type NodeManagementInterface_SetData_Call

type NodeManagementInterface_SetData_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_SetData_Call) Return

func (*NodeManagementInterface_SetData_Call) Run

func (*NodeManagementInterface_SetData_Call) RunAndReturn

type NodeManagementInterface_SetDescriptionString_Call

type NodeManagementInterface_SetDescriptionString_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_SetDescriptionString_Call) Return

func (*NodeManagementInterface_SetDescriptionString_Call) Run

func (*NodeManagementInterface_SetDescriptionString_Call) RunAndReturn

type NodeManagementInterface_SetDescription_Call

type NodeManagementInterface_SetDescription_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_SetDescription_Call) Return

func (*NodeManagementInterface_SetDescription_Call) Run

func (*NodeManagementInterface_SetDescription_Call) RunAndReturn

type NodeManagementInterface_String_Call

type NodeManagementInterface_String_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_String_Call) Return

func (*NodeManagementInterface_String_Call) Run

func (*NodeManagementInterface_String_Call) RunAndReturn

type NodeManagementInterface_SubscribeToRemote_Call

type NodeManagementInterface_SubscribeToRemote_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_SubscribeToRemote_Call) Return

func (*NodeManagementInterface_SubscribeToRemote_Call) Run

func (*NodeManagementInterface_SubscribeToRemote_Call) RunAndReturn

type NodeManagementInterface_Type_Call

type NodeManagementInterface_Type_Call struct {
	*mock.Call
}

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

func (*NodeManagementInterface_Type_Call) Return

func (*NodeManagementInterface_Type_Call) Run

func (*NodeManagementInterface_Type_Call) RunAndReturn

type OperationsInterface

type OperationsInterface struct {
	mock.Mock
}

OperationsInterface is an autogenerated mock type for the OperationsInterface type

func NewOperationsInterface

func NewOperationsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *OperationsInterface

NewOperationsInterface creates a new instance of OperationsInterface. 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 (*OperationsInterface) EXPECT

func (*OperationsInterface) Information

Information provides a mock function with given fields:

func (*OperationsInterface) Read

func (_m *OperationsInterface) Read() bool

Read provides a mock function with given fields:

func (*OperationsInterface) String

func (_m *OperationsInterface) String() string

String provides a mock function with given fields:

func (*OperationsInterface) Write

func (_m *OperationsInterface) Write() bool

Write provides a mock function with given fields:

type OperationsInterface_Expecter

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

func (*OperationsInterface_Expecter) Information

Information is a helper method to define mock.On call

func (*OperationsInterface_Expecter) Read

Read is a helper method to define mock.On call

func (*OperationsInterface_Expecter) String

String is a helper method to define mock.On call

func (*OperationsInterface_Expecter) Write

Write is a helper method to define mock.On call

type OperationsInterface_Information_Call

type OperationsInterface_Information_Call struct {
	*mock.Call
}

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

func (*OperationsInterface_Information_Call) Return

func (*OperationsInterface_Information_Call) Run

func (*OperationsInterface_Information_Call) RunAndReturn

type OperationsInterface_Read_Call

type OperationsInterface_Read_Call struct {
	*mock.Call
}

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

func (*OperationsInterface_Read_Call) Return

func (*OperationsInterface_Read_Call) Run

func (*OperationsInterface_Read_Call) RunAndReturn

type OperationsInterface_String_Call

type OperationsInterface_String_Call struct {
	*mock.Call
}

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

func (*OperationsInterface_String_Call) Return

func (*OperationsInterface_String_Call) Run

func (*OperationsInterface_String_Call) RunAndReturn

type OperationsInterface_Write_Call

type OperationsInterface_Write_Call struct {
	*mock.Call
}

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

func (*OperationsInterface_Write_Call) Return

func (*OperationsInterface_Write_Call) Run

func (*OperationsInterface_Write_Call) RunAndReturn

type SenderInterface

type SenderInterface struct {
	mock.Mock
}

SenderInterface is an autogenerated mock type for the SenderInterface type

func NewSenderInterface

func NewSenderInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *SenderInterface

NewSenderInterface creates a new instance of SenderInterface. 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 (*SenderInterface) Bind

func (_m *SenderInterface) Bind(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType) (*model.MsgCounterType, error)

Bind provides a mock function with given fields: senderAddress, destinationAddress, serverFeatureType

func (*SenderInterface) DatagramForMsgCounter

func (_m *SenderInterface) DatagramForMsgCounter(msgCounter model.MsgCounterType) (model.DatagramType, error)

DatagramForMsgCounter provides a mock function with given fields: msgCounter

func (*SenderInterface) EXPECT

func (*SenderInterface) Notify

func (_m *SenderInterface) Notify(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType) (*model.MsgCounterType, error)

Notify provides a mock function with given fields: senderAddress, destinationAddress, cmd

func (*SenderInterface) Reply

func (_m *SenderInterface) Reply(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType, cmd model.CmdType) error

Reply provides a mock function with given fields: requestHeader, senderAddress, cmd

func (*SenderInterface) Request

func (_m *SenderInterface) Request(cmdClassifier model.CmdClassifierType, senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, ackRequest bool, cmd []model.CmdType) (*model.MsgCounterType, error)

Request provides a mock function with given fields: cmdClassifier, senderAddress, destinationAddress, ackRequest, cmd

func (*SenderInterface) ResultError

func (_m *SenderInterface) ResultError(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType, err *model.ErrorType) error

ResultError provides a mock function with given fields: requestHeader, senderAddress, err

func (*SenderInterface) ResultSuccess

func (_m *SenderInterface) ResultSuccess(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType) error

ResultSuccess provides a mock function with given fields: requestHeader, senderAddress

func (*SenderInterface) Subscribe

func (_m *SenderInterface) Subscribe(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType) (*model.MsgCounterType, error)

Subscribe provides a mock function with given fields: senderAddress, destinationAddress, serverFeatureType

func (*SenderInterface) Unbind

func (_m *SenderInterface) Unbind(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType) (*model.MsgCounterType, error)

Unbind provides a mock function with given fields: senderAddress, destinationAddress

func (*SenderInterface) Unsubscribe

func (_m *SenderInterface) Unsubscribe(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType) (*model.MsgCounterType, error)

Unsubscribe provides a mock function with given fields: senderAddress, destinationAddress

func (*SenderInterface) Write

func (_m *SenderInterface) Write(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType) (*model.MsgCounterType, error)

Write provides a mock function with given fields: senderAddress, destinationAddress, cmd

type SenderInterface_Bind_Call

type SenderInterface_Bind_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Bind_Call) Return

func (*SenderInterface_Bind_Call) Run

func (_c *SenderInterface_Bind_Call) Run(run func(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType)) *SenderInterface_Bind_Call

type SenderInterface_DatagramForMsgCounter_Call

type SenderInterface_DatagramForMsgCounter_Call struct {
	*mock.Call
}

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

func (*SenderInterface_DatagramForMsgCounter_Call) Return

func (*SenderInterface_DatagramForMsgCounter_Call) Run

func (*SenderInterface_DatagramForMsgCounter_Call) RunAndReturn

type SenderInterface_Expecter

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

func (*SenderInterface_Expecter) Bind

func (_e *SenderInterface_Expecter) Bind(senderAddress interface{}, destinationAddress interface{}, serverFeatureType interface{}) *SenderInterface_Bind_Call

Bind is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType
  • serverFeatureType model.FeatureTypeType

func (*SenderInterface_Expecter) DatagramForMsgCounter

func (_e *SenderInterface_Expecter) DatagramForMsgCounter(msgCounter interface{}) *SenderInterface_DatagramForMsgCounter_Call

DatagramForMsgCounter is a helper method to define mock.On call

  • msgCounter model.MsgCounterType

func (*SenderInterface_Expecter) Notify

func (_e *SenderInterface_Expecter) Notify(senderAddress interface{}, destinationAddress interface{}, cmd interface{}) *SenderInterface_Notify_Call

Notify is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType
  • cmd model.CmdType

func (*SenderInterface_Expecter) Reply

func (_e *SenderInterface_Expecter) Reply(requestHeader interface{}, senderAddress interface{}, cmd interface{}) *SenderInterface_Reply_Call

Reply is a helper method to define mock.On call

  • requestHeader *model.HeaderType
  • senderAddress *model.FeatureAddressType
  • cmd model.CmdType

func (*SenderInterface_Expecter) Request

func (_e *SenderInterface_Expecter) Request(cmdClassifier interface{}, senderAddress interface{}, destinationAddress interface{}, ackRequest interface{}, cmd interface{}) *SenderInterface_Request_Call

Request is a helper method to define mock.On call

  • cmdClassifier model.CmdClassifierType
  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType
  • ackRequest bool
  • cmd []model.CmdType

func (*SenderInterface_Expecter) ResultError

func (_e *SenderInterface_Expecter) ResultError(requestHeader interface{}, senderAddress interface{}, err interface{}) *SenderInterface_ResultError_Call

ResultError is a helper method to define mock.On call

  • requestHeader *model.HeaderType
  • senderAddress *model.FeatureAddressType
  • err *model.ErrorType

func (*SenderInterface_Expecter) ResultSuccess

func (_e *SenderInterface_Expecter) ResultSuccess(requestHeader interface{}, senderAddress interface{}) *SenderInterface_ResultSuccess_Call

ResultSuccess is a helper method to define mock.On call

  • requestHeader *model.HeaderType
  • senderAddress *model.FeatureAddressType

func (*SenderInterface_Expecter) Subscribe

func (_e *SenderInterface_Expecter) Subscribe(senderAddress interface{}, destinationAddress interface{}, serverFeatureType interface{}) *SenderInterface_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType
  • serverFeatureType model.FeatureTypeType

func (*SenderInterface_Expecter) Unbind

func (_e *SenderInterface_Expecter) Unbind(senderAddress interface{}, destinationAddress interface{}) *SenderInterface_Unbind_Call

Unbind is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType

func (*SenderInterface_Expecter) Unsubscribe

func (_e *SenderInterface_Expecter) Unsubscribe(senderAddress interface{}, destinationAddress interface{}) *SenderInterface_Unsubscribe_Call

Unsubscribe is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType

func (*SenderInterface_Expecter) Write

func (_e *SenderInterface_Expecter) Write(senderAddress interface{}, destinationAddress interface{}, cmd interface{}) *SenderInterface_Write_Call

Write is a helper method to define mock.On call

  • senderAddress *model.FeatureAddressType
  • destinationAddress *model.FeatureAddressType
  • cmd model.CmdType

type SenderInterface_Notify_Call

type SenderInterface_Notify_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Notify_Call) Return

func (*SenderInterface_Notify_Call) Run

func (_c *SenderInterface_Notify_Call) Run(run func(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType)) *SenderInterface_Notify_Call

type SenderInterface_Reply_Call

type SenderInterface_Reply_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Reply_Call) Return

func (*SenderInterface_Reply_Call) Run

func (_c *SenderInterface_Reply_Call) Run(run func(requestHeader *model.HeaderType, senderAddress *model.FeatureAddressType, cmd model.CmdType)) *SenderInterface_Reply_Call

func (*SenderInterface_Reply_Call) RunAndReturn

type SenderInterface_Request_Call

type SenderInterface_Request_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Request_Call) Return

func (*SenderInterface_Request_Call) Run

func (_c *SenderInterface_Request_Call) Run(run func(cmdClassifier model.CmdClassifierType, senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, ackRequest bool, cmd []model.CmdType)) *SenderInterface_Request_Call

type SenderInterface_ResultError_Call

type SenderInterface_ResultError_Call struct {
	*mock.Call
}

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

func (*SenderInterface_ResultError_Call) Return

func (*SenderInterface_ResultError_Call) Run

func (*SenderInterface_ResultError_Call) RunAndReturn

type SenderInterface_ResultSuccess_Call

type SenderInterface_ResultSuccess_Call struct {
	*mock.Call
}

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

func (*SenderInterface_ResultSuccess_Call) Return

func (*SenderInterface_ResultSuccess_Call) Run

func (*SenderInterface_ResultSuccess_Call) RunAndReturn

type SenderInterface_Subscribe_Call

type SenderInterface_Subscribe_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Subscribe_Call) Return

func (*SenderInterface_Subscribe_Call) Run

func (_c *SenderInterface_Subscribe_Call) Run(run func(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, serverFeatureType model.FeatureTypeType)) *SenderInterface_Subscribe_Call

type SenderInterface_Unbind_Call

type SenderInterface_Unbind_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Unbind_Call) Return

func (*SenderInterface_Unbind_Call) Run

func (_c *SenderInterface_Unbind_Call) Run(run func(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType)) *SenderInterface_Unbind_Call

type SenderInterface_Unsubscribe_Call

type SenderInterface_Unsubscribe_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Unsubscribe_Call) Return

func (*SenderInterface_Unsubscribe_Call) Run

type SenderInterface_Write_Call

type SenderInterface_Write_Call struct {
	*mock.Call
}

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

func (*SenderInterface_Write_Call) Return

func (*SenderInterface_Write_Call) Run

func (_c *SenderInterface_Write_Call) Run(run func(senderAddress *model.FeatureAddressType, destinationAddress *model.FeatureAddressType, cmd model.CmdType)) *SenderInterface_Write_Call

type SubscriptionManagerInterface

type SubscriptionManagerInterface struct {
	mock.Mock
}

SubscriptionManagerInterface is an autogenerated mock type for the SubscriptionManagerInterface type

func NewSubscriptionManagerInterface

func NewSubscriptionManagerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *SubscriptionManagerInterface

NewSubscriptionManagerInterface creates a new instance of SubscriptionManagerInterface. 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 (*SubscriptionManagerInterface) AddSubscription

AddSubscription provides a mock function with given fields: remoteDevice, data

func (*SubscriptionManagerInterface) EXPECT

func (*SubscriptionManagerInterface) RemoveSubscription

RemoveSubscription provides a mock function with given fields: data, remoteDevice

func (*SubscriptionManagerInterface) RemoveSubscriptionsForDevice

func (_m *SubscriptionManagerInterface) RemoveSubscriptionsForDevice(remoteDevice api.DeviceRemoteInterface)

RemoveSubscriptionsForDevice provides a mock function with given fields: remoteDevice

func (*SubscriptionManagerInterface) RemoveSubscriptionsForEntity

func (_m *SubscriptionManagerInterface) RemoveSubscriptionsForEntity(remoteEntity api.EntityRemoteInterface)

RemoveSubscriptionsForEntity provides a mock function with given fields: remoteEntity

func (*SubscriptionManagerInterface) Subscriptions

func (_m *SubscriptionManagerInterface) Subscriptions(remoteDevice api.DeviceRemoteInterface) []*api.SubscriptionEntry

Subscriptions provides a mock function with given fields: remoteDevice

func (*SubscriptionManagerInterface) SubscriptionsOnFeature

func (_m *SubscriptionManagerInterface) SubscriptionsOnFeature(featureAddress model.FeatureAddressType) []*api.SubscriptionEntry

SubscriptionsOnFeature provides a mock function with given fields: featureAddress

type SubscriptionManagerInterface_AddSubscription_Call

type SubscriptionManagerInterface_AddSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_AddSubscription_Call) Return

func (*SubscriptionManagerInterface_AddSubscription_Call) Run

type SubscriptionManagerInterface_Expecter

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

func (*SubscriptionManagerInterface_Expecter) AddSubscription

func (_e *SubscriptionManagerInterface_Expecter) AddSubscription(remoteDevice interface{}, data interface{}) *SubscriptionManagerInterface_AddSubscription_Call

AddSubscription is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface
  • data model.SubscriptionManagementRequestCallType

func (*SubscriptionManagerInterface_Expecter) RemoveSubscription

func (_e *SubscriptionManagerInterface_Expecter) RemoveSubscription(data interface{}, remoteDevice interface{}) *SubscriptionManagerInterface_RemoveSubscription_Call

RemoveSubscription is a helper method to define mock.On call

  • data model.SubscriptionManagementDeleteCallType
  • remoteDevice api.DeviceRemoteInterface

func (*SubscriptionManagerInterface_Expecter) RemoveSubscriptionsForDevice

func (_e *SubscriptionManagerInterface_Expecter) RemoveSubscriptionsForDevice(remoteDevice interface{}) *SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call

RemoveSubscriptionsForDevice is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface

func (*SubscriptionManagerInterface_Expecter) RemoveSubscriptionsForEntity

func (_e *SubscriptionManagerInterface_Expecter) RemoveSubscriptionsForEntity(remoteEntity interface{}) *SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call

RemoveSubscriptionsForEntity is a helper method to define mock.On call

  • remoteEntity api.EntityRemoteInterface

func (*SubscriptionManagerInterface_Expecter) Subscriptions

Subscriptions is a helper method to define mock.On call

  • remoteDevice api.DeviceRemoteInterface

func (*SubscriptionManagerInterface_Expecter) SubscriptionsOnFeature

func (_e *SubscriptionManagerInterface_Expecter) SubscriptionsOnFeature(featureAddress interface{}) *SubscriptionManagerInterface_SubscriptionsOnFeature_Call

SubscriptionsOnFeature is a helper method to define mock.On call

  • featureAddress model.FeatureAddressType

type SubscriptionManagerInterface_RemoveSubscription_Call

type SubscriptionManagerInterface_RemoveSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_RemoveSubscription_Call) Return

func (*SubscriptionManagerInterface_RemoveSubscription_Call) Run

type SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call

type SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call) Return

func (*SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call) Run

func (*SubscriptionManagerInterface_RemoveSubscriptionsForDevice_Call) RunAndReturn

type SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call

type SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call) Return

func (*SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call) Run

func (*SubscriptionManagerInterface_RemoveSubscriptionsForEntity_Call) RunAndReturn

type SubscriptionManagerInterface_SubscriptionsOnFeature_Call

type SubscriptionManagerInterface_SubscriptionsOnFeature_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_SubscriptionsOnFeature_Call) Return

func (*SubscriptionManagerInterface_SubscriptionsOnFeature_Call) Run

func (*SubscriptionManagerInterface_SubscriptionsOnFeature_Call) RunAndReturn

type SubscriptionManagerInterface_Subscriptions_Call

type SubscriptionManagerInterface_Subscriptions_Call struct {
	*mock.Call
}

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

func (*SubscriptionManagerInterface_Subscriptions_Call) Return

func (*SubscriptionManagerInterface_Subscriptions_Call) Run

func (*SubscriptionManagerInterface_Subscriptions_Call) RunAndReturn

Jump to

Keyboard shortcuts

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